Enforcing horizontal node ordering in a .dot tree
You could follow the usual approach of adding invisible nodes and invisible edges, and playing with edge weight etc. as proposed on the graphviz FAQ about balanced trees. In some simple cases, this is enough. But there is a better solution: Graphviz comes with a tool called gvpr (graph pattern scanning and processing language) which … Read more