I am looking for building a hierarchical graph dynamically & programmatically.
a graph like this:
(source: graphviz.org)
I don't know how to place the nodes in a good way to avoid collisions.
Any idea of an algorithm I could use?
I am looking for building a hierarchical graph dynamically & programmatically.
a graph like this:
(source: graphviz.org)
I don't know how to place the nodes in a good way to avoid collisions.
Any idea of an algorithm I could use?