Whether to connect the edge label to the edge with a line

type: bool, default: false

If true, attach edge label to edge by a 2-segment polyline, underlining the label, then going to the closest point of spline.

digraph {
  a -> a [label="AA" decorate=true]
  a -> b [label="AB" decorate=true]
  b -> b [label="BB" decorate=false]
Valid on:
  • Edges

Search the Graphviz codebase for "decorate"

Last modified September 17, 2022: Update add another example (91744c7)