W3cubDocs

/Graphviz

labelfontname

Font for headlabel and taillabel

type: string, default: "Times-Roman"

Font used for headlabel and taillabel.

If not set, defaults to edge's fontname.

Valid on:
  • Edges

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