public class NBarycenterForce : NForce, Nevron.Nov.Dom.INDomDeepEquals, Nevron.Nov.Dom.INDomDeeplyCloneable, Nevron.Nov.INDeeplyCloneable
public class NBarycenterForce : NForce, Nevron.Nov.Dom.INDomDeepEquals, Nevron.Nov.Dom.INDomDeeplyCloneable, Nevron.Nov.INDeeplyCloneable
vertex1Force = AttractionCoefficient * vertex1.Mass / (vertex1.Mass + vertex2.Mass)
vertex2Force = AttractionCoefficient * vertex2.Mass / (vertex1.Mass + vertex2.Mass)
The Mass parameter can be specified on a per vertex basis. If a vertex does not provide a concrete value for this parameter it is by default considered to be 1.
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.NBarycenterForce
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)