I give the following input to Dot: digraph G { subgraph cluster1 { fontsize = 20; label = "Group 1"; A -> B -> C -> D; style = "dashed"; } subgraph { O [shape=box]; } subgraph cluster2 { fontsize = 20; label = "Group 2"; Z -> Y -> X -> W [dir=back]; style = "dashed"; } D -> O [constraint=false]; W -> O [constraint=false, dir=back]; } And it produces: How can I align node O so that it has the same
![Vertically aligning a node joining subgraphs in Graphviz](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)