overlap_scaling
Scale layout by factor, to reduce node overlap.
type: double, default: -4, minimum: -1e+10
When overlap=prism, the layout is scaled by this factor, thereby removing a fair amount of node overlap, and making node overlap removal faster and better able to retain the graph's shape.
-
If
overlap_scalingis negative, the layout is scaled by-1*overlap_scalingtimes the average label size. -
If
overlap_scalingis positive, the layout is scaled byoverlap_scaling. -
If
overlap_scalingis zero, no scaling is done.
- Graphs
Note: prism, neato, sfdp, fdp, circo, twopi only.
© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/overlap_scaling/