type: dirType, default: forward (directed) , none (undirected)
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.
digraph {
A->B [dir=forward]
C->D [dir=back]
E->F [dir=both]
G->H [dir=none]
}
© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/dir/