W3cubDocs

/Graphviz

dim

Set the number of dimensions used for the layout

type: int, default: 2, minimum: 2

The maximum value allowed is 10.

Valid on:
  • Graphs

Note: neato, fdp, sfdp only.

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