Specifies the width of the pen, in points, used to draw lines and curves

type: double, default: 1.0, minimum: 0.0

including the boundaries of edges and clusters.

penwidth value is inherited by subclusters, and has no effect on text.

Previous to 31 January 2008, the effect of penwidth=W was achieved by including setlinewidth(W) as part of a style specification.

If both attributes are set, penwidth will be used.

Valid on:
  • Clusters
  • Nodes
  • Edges

Search the Graphviz codebase for "penwidth"