MindFusion.Diagramming for JavaScript Programmer's Guide

SpringLayout Members

Constructors Fields Methods
 


Implements the Spring-Embedder graph layout algorithm.

The following tables list the members exposed by the SpringLayout type.

 Public Constructors

  Name Description

SpringLayout

Initializes a new instance of the SpringLayout class.

 Public Fields

  Name Description

anchoring

Indicates how to align links to the anchor points of nodes.

iterations

The number of iterations to run the layout routine.

keepGroupLayout

Indicates whether to treat each Group of nodes as a single vertex in the arranged graph.

nodeDistance

The desired distance between nodes.

 Public Methods

  Name Description

arrange

Applies the layout to the specified graph.

 See Also