MindFusion.Wpf Pack Programmer's Guide
LayeredLayout Properties
 


 Public Properties

  Name Description

Anchoring

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

CompactLaterally

Gets or sets whether to search for and compress space unoccupied by nodes after the initial layout pass; this leaves less space around link-only lanes in final layout.

ConsiderNodeShapes

Gets or sets whether to align link end points to non-rectangular node borders.

Direction

Gets or sets the direction of the arranged diagram.

EnableCustomLayers

Gets or sets a value indicating whether to indicating whether the layered layout will honor the LayeredLayoutTraits.Layer flags.

EnableParallelism

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

EndNode

Gets or sets the node that should be placed in the last layer of the arranged graph.

EnforceLinkFlow

Gets or sets a value indicating whether to attempt to force all links to go in the same direction. If the graph being arranged has cycles, some of the links will still go backward.

GrowToFit

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

IgnoreNodeSize

Specifies whether the layout algorithm should ignore the size of nodes.

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

KeepLinkShapes

Gets or sets whether to preserve initial Shape value of links when LinkType is set to Cascading. The orthogonal path applied by latter property is approximated using respective link shape.

KeepRootPosition

Gets or sets a value indicating whether to preserve the position of the root node.

LayerDistance

Gets or sets the desired distance between layer axis lines.

LayerTowardsStart

Gets or sets whether child nodes should be assigned to layers closer to the start layer.

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

LinkPadding

Gets or sets the distance between parallel links.

LinksCompactFactor

Gets or sets a value indicating how much to compact the outermost links.

LinkType

Gets or sets the appearance of the links in the final 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.)

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.

NodeDistance

Gets or sets the desired distance between adjacent nodes in a layer.

Orientation

Gets or sets the overall orientation of the arranged diagram.

Progress

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

Root

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

SplitLayers

Gets or sets a value indicating whether to split layers that are much wider than the other layers.

StableSort

Gets or sets a value indicating whether to apply stable sorting during the layout algorithm.

StartNode

Gets or sets the node that should be placed in the first layer of the arranged graph.

Statistics

Gets layout-specific information about the nodes and links participating in the layout.

StraightenLongLinks

Gets or sets whether the layout algorithm should strive to straighten links that cross more than one layer of the graph.

SwapPairsIterations

Gets or sets how many times to perform pair-swapping iterations on each layer.

TimeLimit

Gets or sets a time-out value for the path-finding part of the layered layout algorithm.

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

 See Also

LayeredLayout Class
MindFusion.Diagramming.Wpf.Layout Namespace