DroidDiagram Programmer's Guide
SpringLayout Members
Constructors Methods
 


Implements the Spring-Embedder graph layout algorithm.

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

 Public Constructors

  Name Description

SpringLayout

Overloaded.  

 Public Methods

  Name Description

arrange

Arranges the specified diagram.

getAnchoring

Gets a value indicating how links will be aligned to the anchor points of tree nodes.

getEnableClusters

Gets a value indicating whether the layout algorithm should place nodes into distinct clusters.

getIterations

Gets the number of iterations that the layout algorithm should run.

getKeepGroupLayout

Gets a value specifying whether the relative position of nodes within groups should be kept intact.

getMinimizeCrossings

Gets a value indicating whether the algorithm should try to minimize the number of link crossings.

getNodeDistance

Gets how much space should be left between adjacent nodes.

getRandomSeed

Gets the randomization seed used for generating random node positions.

getRepulsionFactor

Gets a multiplier value applied to the repulsive force between nodes.

init

Returns a SpringLayoutBuilder object used to configure this SpringLayout instance.

setAnchoring

Sets a value indicating how links should be aligned to the anchor points of tree nodes.

setEnableClusters

Sets a value indicating whether the layout algorithm should place nodes into distinct clusters.

setIterations

Sets the number of iterations that the layout algorithm should run.

setKeepGroupLayout

Sets a value specifying whether the relative position of nodes within groups should be kept intact.

setMinimizeCrossings

Sets a value indicating whether the algorithm should try to minimize the number of link crossings.

setNodeDistance

Sets how much space should be left between adjacent nodes.

setRandomSeed

Sets the randomization seed that should be used for generating random node positions.

setRepulsionFactor

Sets a multiplier value applied to the repulsive force between nodes.

with

Returns a SpringLayoutBuilder object used to configure and create new SpringLayout instances.

 See Also

SpringLayout Class
com.mindfusion.diagramming Namespace