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_scaling is negative, the layout is scaled by -1*overlap_scaling times the average label size.

  • If overlap_scaling is positive, the layout is scaled by overlap_scaling.

  • If overlap_scaling is zero, no scaling is done.

Valid on:
  • Graphs

Note: prism, neato, sfdp, fdp, circo, twopi only.

Search the Graphviz codebase for "overlap_scaling"

Last modified October 2, 2022: Update overlap_scaling.md (08842ed)