Search
AnnealLayout.BoundaryFactor Property
See Also
 






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.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public double BoundaryFactor { get; set; }

Visual Basic  Copy Code

Public Property BoundaryFactor As Double

 Property Value

A double multiplier applied to the node-to-boundary distance cost when evaluating the total cost of a graph configuration. The default is 3000.

 Remarks

Assigning a larger value to this property will make the algorithm choose graph configurations in which nodes are placed farther from the layout area bounds, that is, nodes will tend to gather in the center of the layout area.

 See Also