Rank constraints on the nodes in a subgraph
rank="same", all nodes are placed on the same rank.
rank="min", all nodes are placed on the minimum rank.
rank="source", all nodes are placed on the minimum rank, and the only nodes on the minimum rank belong to some subgraph with
Analogous criteria hold for
(Note: the minimum rank is topmost or leftmost, and the maximum rank is bottommost or rightmost.)
For more information check this answer in Stack OverflowValid on:
Note: dot only.
Last modified June 12, 2022: add simple descriptions for attributes (b2a18ac)