I have the following graph (and accompanying dot file)
digraph G { a -> c; a -> d; a -> q; a -> x; a -> qp; }
I want to organize the nodes in the graph "chess style view", like this:
How can this be achieved?
Depending on what exactly your finally after, an other layout algorithm could work for you:
neato -Tpng yourgraph.gv
The unflatten utility may be a more appropriate solution in some cases:
unflatten
unflatten -f -l 2 yourgraph.gv | dot -Tpng -o unflattened.png
Copyright © 2021 Jogjafile Inc.
Depending on what exactly your finally after, an other layout algorithm could work for you:
The
unflatten
utility may be a more appropriate solution in some cases: