Search
CompositeLayout Members
Constructors Properties Methods Events
 


Implements a multi-level graph layout algorithm.

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

 Public Constructors

  Name Description

CompositeLayout

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

BendLinks

Gets or sets a value indicating whether the links in the trees from the additional partitioning pass will bend to avoid crossing leaves in the same tree.

CustomLayout

Gets or sets a custom layout method that should be invoked to arrange subgraphs.

CustomPartition

Gets or sets the custom partition to use when PartitionMethod is set to Custom.

DesiredSubgraphSize

Gets or sets the preferred number of nodes in the subgraphs allocated by the layout algorithm.

EmphasizeTrees

Gets or sets a value indicating whether a cut-vertex between tree and non-tree subgraphs should be considered part of the tree.

EnableParallelism

Gets or sets a value indicating whether to arrange subgraphs on separate threads. (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.)

KeepVirtualItems

Gets or sets a value indicating whether to keep the intermediate virtual nodes and links.

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

MasterLayout

Gets or sets a layout that should be applied globally to the diagram.

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.

PartitionMethod

Gets or sets the partitioning method used to decompose the diagram into subgraphs.

Progress

Gets or sets a delegate, which is invoked regularly during the layout process to inform clients about the layout progress. (Inherited from Layout.)

RepeatingLinksPadding

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

RotateSubgraphs

Gets or sets a value indicating whether subgraphs are rotated to minimize intersections with cross-partition links.

SubgraphLayout

Gets or sets a layout that should be applied to general subgraphs.

SubtreeLayout

Gets or sets a layout that should be applied to subgraphs representing trees.

Tolerance

A multiplier applied to DesiredSubgraphSize to define the allowed subgraph size range.

UseAdditionalPartitioning

Gets or sets a value indicating whether to use an additional partitioning pass on the result of the initial partitioning. This additional partitioning is simplified - it only looks for trees with depth 2.

 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

Overloaded.   (Inherited from Layout.)

ArrangeAsync

Overloaded.   (Inherited from Layout.)

 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