I have a 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 is as follows: image1
I want the subgraph in TB direction. How can I achieve this?