W3cubDocs

/Graphviz

rankdir

Direction to draw directed graphs (one rank at a time)
  • "TB"
  • "LR"
  • "BT"
  • "RL"

Corresponding to directed graphs drawn from top to bottom, from left to right, from bottom to top, and from right to left, respectively.

Attributes

rankdir is a valid type for:

© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attr-types/rankdir/