Search
SpringLayoutMethod Enumeration
See Also
 





Specifies what energy model SpringLayout should use for the simulation.

Namespace: MindFusion.Layout
Assembly: MindFusion.Diagramming.Layout

 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