W3cubDocs

/Graphviz

nop2

Pretty-print DOT graph file, assuming positions already known.

Invoke equivalently as:

  • neato -n2
  • dot -Knop2

Assumes positions already specified in the input with the pos attribute.

This performs an optional adjustment to remove node-node overlap, computes edge layouts, and emites the graphs.

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