K

type: double, default: 0.3, minimum: 0

Spring constant used in virtual physical model. 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:
  • Clusters
  • Graphs
Note: fdp, sfdp only
Last modified June 14, 2021 : Update docsy theme (097a529)