type: double, default: 0.3, minimum: 0
It roughly corresponds to an ideal edge length (in inches), in that increasing K tends to increase the distance between nodes.
Note that the edge attribute len can be used to override this value for adjacent nodes.
© 2025 The Graphviz Authors
Licensed under the Eclipse Public License 1.0.
https://www.graphviz.org/docs/attrs/K/