r - GraphViz - How to have a subgraph be top-to-bottom when main graph is left-to-right? -
i have graph in direction of lr
digraph { rankdir=lr; node [shape=box] x1;x2;x3;y1;y2;y3;y4;y5;y6;y7;y8; node [shape=oval] ind60;dem60;dem65; {x1,x2,x3} -> ind60 dem65->{y5,y6,y7,y8} subgraph cluster_0{ rankdir=tb {y1,y2,y3,y4} -> dem60[constraint=false] } ind60->dem60 ind60->dem65 dem60->dem65 } the result follows: image1
i want subgraph in tb direction. how can achieve this?
Comments
Post a Comment