I like to create a 3 column graph like this:
Code:
digraph
You may try adding the edges which are not supposed to influence the layout with constraint=false
. After the last cluster, insert something like:
edge[constraint=false, style=solid];
c->f;
b->g;
If the clusters get reordered anyway, you may add invisible edges (make sure that constraint=true
) to enforce the layout:
c -> e [constraint=true, style=invis];
e -> a [constraint=true, style=invis];