dir

type: dirType, default: forward (directed) , none (undirected)

Edge type for drawing arrowheads.

Indicates which ends of the edge should be decorated with an arrowhead.

The actual style of the arrowhead can be specified using the arrowhead and arrowtail attributes.

See limitation.

Example
digraph { A->B [dir=forward] C->D [dir=back] E->F [dir=both] G->H [dir=none] }
Valid on:
  • Edges
Last modified June 26, 2021 : Make attribute defaults code blocks (98194b2)