MindFusion.Wpf Pack Programmer's Guide
FlowLayoutRules.AddBendRule Method (String[], String, OrderDirection)
See Also
 





Adds a rule for the orientation of the starting or ending segment of a link according to the type of the node connected to that link.

Namespace: MindFusion.Layout
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool AddBendRule (
    string[] nodeTypes,
    string linkType,
    OrderDirection direction
)

Visual Basic  Copy Code

Public Function AddBendRule( _
    nodeTypes() As String, _
    linkType As String, _
    direction As OrderDirection _
) As Boolean

 Parameters

nodeTypes

The logic identifiers of nodes this rule should be applied to.

linkType

The logic identifier of links this rule should be applied to.

direction

An OrderDirection value defining the orientation of the links starting or ending segment.

 Return Value

true if this rule has been added successfully; otherwise, false.

 See Also

AddBendRule Method Overload List
FlowLayoutRules Members
FlowLayoutRules Class
MindFusion.Layout Namespace