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





Adds a rule for the orientation of the ending segments of an incoming link according to the type of the link's destination and origin node.

Namespace: MindFusion.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool AddIncomingBendRule (
    string destNodeType,
    string linkType,
    string[] originNodeTypes,
    OrderDirection[] directions
)

Visual Basic  Copy Code

Public Function AddIncomingBendRule( _
    destNodeType As String, _
    linkType As String, _
    originNodeTypes() As String, _
    directions() As OrderDirection _
) As Boolean

 Parameters

destNodeType

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

linkType

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

originNodeTypes

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

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

 Return Value

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

 See Also