rankdir

type: rankdir, default: TB

Sets direction of graph layout.

For example, if rankdir="LR", and barring cycles, an edge T -> H; will go from left to right. By default, graphs are laid out from top to bottom.

This attribute also has a side-effect in determining how record nodes are interpreted. See record shapes.

Valid on:
  • Graphs
Note: dot only
Last modified June 14, 2021 : Introduce per-attribute pages (81b00f5)