NevronOpenVision
Nevron.Nov.Diagram.Layout Namespace / NSpringGraphLayout Class
Members
In This Topic
    NSpringGraphLayout Class
    In This Topic
    The NSpringGraphLayout class represents a force directed layout, which simulates a physical system with spring and electical forces.
    Object Model
    NSpringGraphLayout Class
    Syntax
    Remarks
    The spring layout represents a classical implementation of a force directed layout, with spring and electicral forces. It allows for many per vertex and per edge settings, which can seamlessly reflect the nature of the graph.

    Graph vertices are threated as ellectically charged particles, which repel each other. The electical force aims to ensure that vertices should not be close together. The parameters of the electrical force are controlled by an instance of the NElectricalForce class, accessible from the ElectricalForce property.

    Graph edges are threated as springs. Springs aim to ensure that the distance between adjacent vertices is approximately equal to the spring length. The parameters of the spring force are controlled by an instance of the NSpringForce class, accessible from the SpringForce property.

    Inheritance Hierarchy

    System.Object
       Nevron.Nov.Dom.NNode
          Nevron.Nov.Dom.NDocumentNode
             Nevron.Nov.Dom.NAttribute
                Nevron.Nov.Layout.NLayoutComponent
                   Nevron.Nov.Layout.NLayout
                      Nevron.Nov.Diagram.Layout.NGraphLayoutBase<T>
                         Nevron.Nov.Diagram.Layout.NGraphLayout
                            Nevron.Nov.Diagram.Layout.NForceDirectedGraphLayout
                               Nevron.Nov.Diagram.Layout.NSpringGraphLayout

    Requirements

    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)

    See Also