W3cubDocs

/Graphviz

peripheries

Set number of peripheries used in polygonal shapes and cluster boundaries

type: int, default: <shape default> (nodes) , 1 (clusters) , minimum: 0

Note that user-defined shapes are treated as a form of box shape, so the default peripheries value is 1 and the user-defined shape will be drawn in a bounding rectangle. Setting peripheries=0 will turn this off.

peripheries=1 is the maximum value for clusters.

Valid on:
  • Nodes
  • Clusters

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