public class NSpringForce : NForce, Nevron.Nov.Dom.INDomDeepEquals, Nevron.Nov.Dom.INDomDeeplyCloneable, Nevron.Nov.INDeeplyCloneable
public class NSpringForce : NForce, Nevron.Nov.Dom.INDomDeepEquals, Nevron.Nov.Dom.INDomDeeplyCloneable, Nevron.Nov.INDeeplyCloneable
In both forms the spring force becomes repulsive, if the distance is smaller than the spring length, and becomes attractive, when the distance is larger than the spring length. That is, the spring force aims to make the distance between connected vertices equal to the natural (zero energy) of the spring.
The SpringStiffness and SpringLength parameters can be specified on a per edge basis. If an edge does not provide a concrete value for either of these parameters, the default values are obtained from the SpringStiffness and SpringLength properties respectively.System.Object
Nevron.Nov.Dom.NNode
Nevron.Nov.Dom.NDocumentNode
Nevron.Nov.Dom.NAttribute
Nevron.Nov.Layout.NLayoutComponent
Nevron.Nov.Diagram.Layout.NForce
Nevron.Nov.Diagram.Layout.NSpringForce
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)