Search
FlowLayoutRules.AddBendRule Method (String, String, OrderDirection[])
See Also
 





Adds a rule for the orientation of the starting or ending segments 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 nodeType,
    string linkType,
    OrderDirection[] directions
)

Visual Basic  Copy Code

Public Function AddBendRule( _
    nodeType As String, _
    linkType As String, _
    directions() As OrderDirection _
) As Boolean

 Parameters

nodeType

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

linkType

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

directions

An array of OrderDirection values defining the orientation of the links starting or ending segments.

 Return Value

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

 See Also