DroidDiagram Programmer's Guide
AnnealLayoutBuilder Members
Constructors Methods
 


A class used to initialize AnnealLayout objects.

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

 Public Constructors

  Name Description

AnnealLayoutBuilder

Overloaded.  

 Public Methods

  Name Description

anchoring

Sets a value specifying how links will be aligned to the anchor points of nodes.

boundaryFactor

Sets a value indicating how important the distance from nodes to the layout area boundaries is relatively to the other criteria considered by the algorithm.

create

Creates a new object with the attributes accumulated by this builder.

crossingLinksCost

Sets a value specifying how important the low number of link crossings is relatively to the other criteria considered by the algorithm.

distributionFactor

Sets a value indicating the importance of node distribution relatively to the other criteria considered by the algorithm.

get

Returns an existing object passed for initialization to this builder.

initialTemperature

Sets the initial temperature of the simulated annealing process.

iterationsPerStage

Sets how many node shift iterations to perform at each stage of the algorithm.

keepGroupLayout

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

layoutArea

Sets the size of the layout area.

linkLengthFactor

Sets a value specifying how important the short length of links is relatively to the other criteria considered by the algorithm.

multipleGraphsOrientation

How multiple independent graphs in the diagram should be positioned relative to one another.

nodeLinkCrossingCost

Sets a value specifying how important the low number of crossings of links with edges is relatively to the other criteria considered by the algorithm.

nodeLinkDistFactor

Sets a value specifying the importance of the distance between nodes and links relative to the other criteria considered by the algorithm.

precision

Sets the cost calculations precision. 1 specifies highest precision. Accepted values are between 0.9 and 1. The algorithm completes faster when running with a lower precision, but produces slightly worse results.

randomize

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

root

Sets the diagram node that specifies which connected graph in the diagram should be arranged.

splitGraph

Whether unconnected sub-graphs should be laid out independently from each other.

stages

Sets how many cooling stages the algorithm should simulate.

temperatureScale

Sets how much the simulated temperature is decreased at each stage of the algorithm.

widthHeightRatio

Sets what width / height ratio the layout area should have.

 See Also

AnnealLayoutBuilder Class
com.mindfusion.diagramming.builders Namespace