W3cubDocs

/Graphviz

scale

Scales layout by the given factor after the initial layout

type: double | point

If only a single number is given, that number scales both width and height.

Valid on:
  • Graphs

Note: neato, twopi only.

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