Placing clusters on the same rank in Graphviz

You may use the newrank graph attribute (added in GraphViz 2.30) to activate the new ranking algorithm which allows defining rank=same for nodes which belong to clusters.

Add the following line at the top:

newrank=true;

Add the following line after the cluster definitions:

{ rank=same; router1; router2; }

Here’s the resulting graph:

routers with same rank

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)