Closed nathanl closed 3 years ago
When running the digraph example in the README, I don't see any way to set the edge direction.
digraph
The direction is the same regardless of the order of these two node arguments.
g.add_edges( hello, world ) # vs g.add_edges( world, hello )
In contrast, if I use dot directly, these two things produce different outputs:
dot
digraph graphname{ a -> b; } // vs digraph graphname{ b -> a; }
dot mygraphdata.dot -T svg -o some.svg
I tried reading the code to find a way to set edge direction, but didn't see a way.
Do you mean something like this? g.add_edges( hello, world, dir: "forward")
g.add_edges( hello, world, dir: "forward")
Options include forward, back, both, none
Thanks!
When running the
digraph
example in the README, I don't see any way to set the edge direction.The direction is the same regardless of the order of these two node arguments.
In contrast, if I use
dot
directly, these two things produce different outputs:I tried reading the code to find a way to set edge direction, but didn't see a way.