Search
SpringLayout Members
Constructors Properties Methods Events
 


Implements the Spring-Embedder graph layout algorithm.

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

 Public Constructors

  Name Description

SpringLayout

Overloaded. Initializes a new instance of the SpringLayout class.

 Public Properties

  Name Description

Anchoring

Gets or sets a value indicating how to align links to the anchor points of graph nodes. (Inherited from Layout.)

EnableClusters

Gets or sets a value indicating whether to enable allocation of nodes to distinct clusters.

EnableParallelism

Gets or sets a value indicating whether to arrange subgraphs on separate threads. (Inherited from Layout.)

GrowToFit

Gets or sets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from Layout.)

IterationCount

Gets or sets for how many iterations to run the layout routine.

KeepGroupLayout

Gets or sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from Layout.)

Layout3D

Specifies whether the layout should set the 3D coordinates of nodes for display inside DiagramView3D.

LayoutArea

Gets or sets the size of the layout area.

LayoutLink

Gets or sets a delegate, which is invoked when the position of a link is changed by the layout. (Inherited from Layout.)

LayoutMethod

Specifies what energy model to use for the simulation.

LayoutNode

Gets or sets a delegate, which is invoked when the position of a node is changed by the layout. (Inherited from Layout.)

LinkType

Gets or sets the appearance of the links in the final layout.

Margins

Gets or sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from Layout.)

MaxDegreeOfParallelism

Gets or sets the maximum degree of parallelism. (Inherited from Layout.)

MinimizeCrossings

Gets or sets a value indicating whether crossing minimization mode is enabled.

MultipleGraphsPlacement

Gets or sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from Layout.)

Name

Gets a user-friendly name of the layout.

NodeDistance

Gets or sets the desired distance between nodes.

Progress

Gets or sets a delegate, which is invoked regularly during the layout process to inform clients about the layout progress. (Inherited from Layout.)

Randomize

Gets or sets a value indicating whether nodes should be placed at random positions when the layout routine starts.

RandomSeed

Gets or sets the randomization seed to use for generating random node positions.

RepeatingLinksPadding

Specifies the padding distance between repeating links. (Inherited from Layout.)

RepulsionFactor

Gets or sets the multiplier applied to repulsion forces between nodes.

Root

Gets or sets a node indicating which subgraph of the diagram must be laid out.

SplitGraph

Gets or sets a value indicating whether unconnected subgraphs should be laid out independently from each other.

Stretch

Gets or sets the stretch factor.

Surface

Specifies on what surface the nodes should be placed initially.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value of the Margins property.

SuppressCompleteEvent

Specifies whether raising the LayoutComplete event should be suppressed for this layout instance. (Inherited from Layout.)

 Public Methods

  Name Description

Arrange

Overloaded. Applies the layout to a Diagram instance. (Inherited from Layout.)

ArrangeAnimated

Overloaded.   (Inherited from Layout.)

ArrangeAsync

Overloaded.   (Inherited from Layout.)

BeginArrange

Initializes the layout object for a step-by-step execution.

EndArrange

Completes the step-by-step execution started with a call to BeginArrange.

Iterate

Overloaded.  

 Protected Methods

  Name Description

OnLayoutComplete

Raises the LayoutComplete event. (Inherited from Layout.)

 Public Events

  Name Description

LayoutComplete

Raised when a layout is finished arranging a graph. (Inherited from Layout.)

 See Also