minimize

How to compact a graph ?

Hi everybody. Given the following graph, circo outputs me the graphic you can see in the attachments.

digraph test {
root=node_l0_0
edge [arrowhead=none,arrowtail=none]
node_l0_0 -> node_l1_0
node_l1_0 -> node_l2_0
node_l2_0 -> node_l3_0
node_l3_0 -> node_l4_0
node_l3_0 -> node_l4_1
node_l2_0 -> node_l3_1
node_l3_1 -> node_l4_2
node_l3_1 -> node_l4_3
node_l1_0 -> node_l2_1
node_l2_1 -> node_l3_2
node_l3_2 -> node_l4_4
node_l3_2 -> node_l4_5
node_l2_1 -> node_l3_3
node_l3_3 -> node_l4_6

Recent comments

Syndicate content