Pinning only y-axis of a node?

Hi,

I need to have same nodes on same level on the picture, is there any way to pin only y-axis (or x-axis) of a node? A "pos" attribute can only pin node to exact position, but that is not exactly what I want.

thank you!

Marcel

Pinning only y-axis of a

Use a subgraph to specify that all contained nodes should be on the same rank or level:
 
 { rank=same node1 node2 node3}
 
 

Recent comments