ASP.NET Pack Programmer's Guide
SpringLayoutMethod Enumeration
See Also
 





Specifies what energy model SpringLayout should use for the simulation.

Namespace: MindFusion.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public enum SpringLayoutMethod

Visual Basic  Copy Code

Public Enum SpringLayoutMethod

 Members

  Member name Description

Classic

Use Hooke's law of elasticity to treat links as springs, and Coulomb's inverse square law to implement repulsion between nodes.

FruchtermanReingold

Use artificial attraction forces for links and repulsion forces for nodes that cancel each other at about the distance specified in NodeDistance, along with a simulated cooling schedule used for fine-tuning. Based on the method of Thomas Fruchterman and Edward Reingold.

 See Also

MindFusion.Layout Namespace