dot - Graphviz forcing nodes to stack vertically despite rankdir=LR -
i new graphviz , trying layout nodes left right following:
digraph g { graph [ rankdir = "lr" ]; node [ fontsize = "16", fontname="arial" ]; nodesep = 1.0; ranksep = 4.0; "node0" [ label = "<f0>object0| <f1> id | <f2> name" shape = "record" ]; "node1" [ label = "<f0>object1| <f1> id | <f2> name" shape = "record" ]; "node2" [ label = "<f0>object2| <f1> id | <f2> name" shape = "record" ]; "node4" [ label = "<f0>object3| <f1> id | <f2> name" shape = "record" ]; ** have connectors in here across nodes ** }
this works ok basic nodes, if have 100 rows within node (representing database table , fields) nodes stacked vertically , nothing seems influence damn things revert horizontal layout.
any suggestions on how might force issue appreciated - 1 has me stuck!
cheers ch
resolved - needed add line node0 -> node1 -> node2 -> node3 -> node4 [style=invis]
Comments
Post a Comment