Hey, I’m pretty new to Graphviz and I’m trying to make a graph of vertical labels (as close as possible to eachother) that are sometimes connected by arrows. Most of it works fine, besides when you connect 2 nodes, then, for some reason, the nodes flip positions and the arrow points upwards instead of downwards.
digraph G {
graph [rankdir="LR"]
subgraph cluster_0{
{
rank=same
node [shape=plaintext]
_1
_2
_3
_4
_5
_6
}
_1 _2 _3 _4 _5 -> _6
}
}
Why is _6 and _5 in the wrong position?