MindFusion.Wpf Pack Programmer's Guide
Layout Members
Constructors Properties Methods Events
 


The base class for all layout classes.

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

 Protected Constructors

  Name Description

Layout

Initialzes a new instance of the Layout class.

 Public Properties

  Name Description

Anchoring

Gets or sets how to align links to the anchor points of nodes.

EnableParallelism

Gets or sets a value indicating whether to arrange subgraphs on separate threads.

GrowToFit

Gets or sets a value indicating whether the diagram boundaries should grow to fit the arranged content.

KeepGroupLayout

Gets or sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph.

LayoutLink

Gets or sets a delegate, which is invoked when the position of a link is changed by the layout.

LayoutNode

Gets or sets a delegate, which is invoked when the position of a node is changed by the 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.

MaxDegreeOfParallelism

Gets or sets the maximum degree of parallelism.

MultipleGraphsPlacement

Gets or sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other.

Name

Gets a user-friendly name of the layout.

Progress

Gets or sets the progress callback delegate.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value for the Margins property, which may vary across different layouts.

SuppressCompleteEvent

Specifies whether raising the LayoutComplete event should be suppressed for this layout instance.

 Public Methods

  Name Description

Arrange

Overloaded.  

ArrangeAnimated

Applies the layout to the specified subset of items from the specified Diagram instance and animates items moving to their new positions.

ArrangeAsync

Overloaded. Applies the layout asynchronously to the specified Diagram instance.

 Protected Methods

  Name Description

OnLayoutComplete

Raises the LayoutComplete event.

 Public Events

  Name Description

LayoutComplete

Raised when a layout is finished arranging a graph.

 See Also

Layout Class
MindFusion.Diagramming.Wpf.Layout Namespace