Nevron .NET Vision Documentation
NSpringLayout Class

The NSpringLayout class represents a force directed layout, which simulates a physical system with spring and electical forces.
Object Model
NSpringLayout Class
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



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


NSpringLayout Members
Nevron.Diagram.Layout Namespace

Send Feedback