rank=max and rank=min affect nodes outside the subgraph
rank=max and rank=min affect nodes outside the subgraph this is not according to documentation of rank (https://graphviz.gitlab.io/_pages/doc/info/attrs.html#d:rank)
digraph
{
A->B
C->D->E
{rank=max F} // also move A->B down
//{rank=min G} // will undo side effect of above line
}
tested on viz-js.com
Edited by Jens Odborg