W3cubDocs

/Graphviz

samehead

Edges with the same head and the same samehead value are aimed at the same point on the head

type: string, default: ""

This has no effect on loops.

Prior to Graphviz 8.0.1, each node can have at most 5 unique samehead values.

See limitation.

See also sametail.

Valid on:
  • Edges

Note: dot only.

© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/samehead/