ordering

Constrains the left-to-right ordering of node edges.

type: string, default: ""

If ordering="out", then the outedges of a node, that is, edges with the node as its tail node, must appear left-to-right in the same order in which they are defined in the input.

If ordering="in", then the inedges of a node must appear left-to-right in the same order in which they are defined in the input.

If defined as a graph or subgraph attribute, the value is applied to all nodes in the graph or subgraph.

Note that the graph attribute takes precedence over the node attribute.

Valid on:
  • Graphs
  • Nodes

Note: dot only.

Search the Graphviz codebase for "ordering"

Last modified September 17, 2022: Update ordering.md: add description (6b33f64)