K

Spring constant used in virtual physical model

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.

Valid on:
  • Graphs
  • Clusters

Note: fdp, sfdp only.

Search the Graphviz codebase for "K"