ASP.NET Pack Programmer's Guide
AnnealLayout Members
Constructors Properties Methods Events
 


Implements a simulated annealing graph layout algorithm.

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

 Public Constructors

  Name Description

AnnealLayout

Initializes a new instance of the AnnealLayout 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.)

ApproximateLinkLength

Gets or sets a value indicating whether the layout should approximate the length of graph links by calculating the distance between the centers of their incident nodes.

BoundaryFactor

Gets or sets a value indicating the importance of the distance between nodes and the layout area boundaries, relative to the other criteria considered by the algorithm.

CrossingLinksCost

Gets or sets a value indicating the importance of the low number of link crossings, relative to the other criteria considered by the algorithm.

DistributionFactor

Gets or sets a value indicating the importance of the node distribution, relative to the other criteria considered by the algorithm.

EnableParallelism

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

GatherStatistics

 

GrowToFit

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

InitialTemperature

Gets or sets the initial temperature of the simulated annealing process.

IterationsPerStage

Gets or sets how many node shift iterations to perform at each stage of the algorithm.

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.)

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.)

LayoutNode

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

LinkLengthFactor

Gets or sets a value indicating the importance of the short length of links, relative to the other criteria considered by the algorithm.

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.)

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.

NodeLinkCrossingCost

Gets or sets a value indicating the importance of low number of overlaps between links and nodes relative to the other criteria considered by the algorithm.

NodeLinkDistFactor

Gets or sets a value indicating the importance of the distance between nodes and links, relative to the other criteria considered by the algorithm.

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 the nodes should be placed at random positions when the layout routine starts.

RepeatingLinksPadding

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

Root

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

SplitGraph

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

Stages

Gets or sets how many cool-down stages the algorithm should simulate.

Statistics

 

TemperatureScale

Gets or sets how much the simulated temperature is decreased at each stage of the algorithm.

WidthHeightRatio

Gets or sets what width/height ratio the layout area should have.

 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

Applies the layout to the specified subset of items from the specified Diagram instance and animates items moving to their new positions. (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

Runs one or more layout iterations.

 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

AnnealLayout Class
MindFusion.Diagramming.Layout Namespace