DiagramLite Programmer's Guide
SolarLayout Members
Constructors Properties Methods
 


A tree layout algorithm that places child nodes around their parent node, such that the child nodes do not overlap. The algorithm optionally bends the links to prevent them from crossing nodes.

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

 Public Constructors

  Name Description

SolarLayout

Initializes a new instance of the SolarLayout class.

 Public Properties

  Name Description

BendLinks

Gets or sets a value indicating whether links are bend to prevent them from crossing nodes.

HonorInitialNodeDisposition

Gets or sets a value indicating whether the initial position of a child node relative to its parent node is preserved in the final layout.

IgnoreLinkDirection

Gets or sets a value indicating whether the tree layout algorithm should ignore the direction of links when arranging a tree.

KeepRootPosition

Gets or sets a value indicating whether to keep the root node at its original position.

LevelDistance

Gets or sets the minimal distance between a parent node and its children.

Name

Gets a user-friendly name of the layout.

NodeDistance

Gets or sets the minimal distance between siblings.

ReversedLinks

Gets or sets a value indicating the link direction that relates parent nodes to child nodes.

Root

Gets or sets the tree root.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value of the Margins property.

 Inherited Public Properties

  Name Description

Anchoring

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

GrowToFit

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

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

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

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

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. (Inherited from Layout.)

Progress

Gets or sets the progress callback delegate. (Inherited from Layout.)

 Inherited Protected Properties

  Name Description

DefaultMarginValue

Gets the default value for the Margins property, which may vary accross different layouts. (Inherited from Layout.)

 Inherited Public Methods

  Name Description

Arrange

Overloaded.   (Inherited from Layout.)

 See Also

SolarLayout Class
MindFusion.Diagramming.Layout Namespace