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


Implements a flowchart, workflow and process diagrams layout algorithm.

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

 Public Constructors

  Name Description

FlowLayout

Initializes a new instance of the FlowLayout class.

 Public Properties

  Name Description

Anchoring

Not supported by FlowLayout.

AutoRoute

Gets or sets a value indicating whether longer links should be routed to avoid crossing the diagram nodes.

ChangeLaneDimensions

Gets or sets a value indicating whether the layout algorithm is allowed to change the initial Lane dimensions.

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

HorizontalGroupOffset

Gets or sets the horizontal subgroup offset.

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

LaneBoundaries

Gets or sets the array of custom lane borders.

LaneDistance

Gets or sets the desired distance between adjacent lanes.

LaneOffsetX

Gets or sets the desired distance between nodes and lanes' border.

LaneOffsetY

Gets or sets the desired distance between nodes and lanes' border.

Lanes

Returns a list of layout lanes.

LaneType

Gets or sets a value indicating how process diagram swimlanes are defined in the current Diagram.

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

LayoutRules

Gets or sets the rules for the layout.

LinksBend

Specifies whether links between non-adjacent nodes should bend.

LinksToRoute

Gets all links, which needs additional route.

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

MinLaneHight

Gets or sets the minimal Lane's hight

MultipleGraphsPlacement

Not supported by FlowLayout.

Name

Gets a user-friendly name of the layout.

NodeDistance

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

ProcessOffset

Gets or sets the horizontal subgroup offset.

Progress

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

RandomSeed

Gets or sets the randomization seed to use for generating random node positions.

RecreateGraph

Defines whether the layout algorithm should recreate its internal graph representation for the Diagramming for WPF diagram.

Root

Gets or sets the node specifying which subgraph of the diagram should be laid out.

SubLaneOffsetY

Gets or sets the desired distance between nodes and sub lanes' border.

VerticalGroupOffset

Gets or sets the vertical subgroup offset.

 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

AddNode

Adds the specified node to the already arranged diagram.

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

ArrangeAsync

Overloaded. Applies the layout asynchronously to the specified Diagram instance. (Inherited from Layout.)

ArrangeCore

Applies the layout to the specified subset of items from the specified Diagram instance and an array of rectangles defining custom lane borders.

BendLinks

Bends all links in an already arranged diagram.

InsertLane

Overloaded.  

InsertNode

Inserts the specified node between two nodes connected by the specified link.

RemoveLane

Overloaded.  

RemoveNode

Removes the specified node from an existing diagram.

 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

FlowLayout Class
MindFusion.Diagramming.Wpf.Layout Namespace