Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NGravityForce Class

In This Topic
    NGravityForce Class
    In This Topic
    The NGravityForce class represents a global force, which simulates a gravity attraction to the current barycenter of the graph
    Object Model
    NGravityForce Class
    The gravity force simulates an attraction to the current barycenter of the graph, which is experienced by all vertices in the graph. The force magnitude is computed by the following formula:

    AttractionCoefficient * (1 + vertex.Degree * DegreeFactor) * (Barycenter - vertex.Center)

    Inheritance Hierarchy



    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also