I defined a forest (a set of trees) in DOT.
I am using dot
for layouting.
Now the problem: The trees have different depths. I would like to align the root nodes on the same level, however on default the nodes are aligned by the leaves.
I defined a forest (a set of trees) in DOT.
I am using dot
for layouting.
Now the problem: The trees have different depths. I would like to align the root nodes on the same level, however on default the nodes are aligned by the leaves.
I think you mixed up actual with expected in your question
digraph {
// create a forest hanging from the ceiling
node[shape=box]
edge[dir=back]
a->b->c
d->e->f->g
h->i
// ground the forest
ground_node[style=invis]
subgraph {
c;g;i
} -> ground_node [style=invis]
}