Search
PatternRouter.RouteLink Method
See Also
 





Implements ILinkRouter.RouteLink.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool RouteLink (
    DiagramLink link,
    ConnectionPoint originConnection,
    ConnectionPoint destinationConnection,
    bool nowCreating
)

Visual Basic  Copy Code

Public Function RouteLink( _
    link As DiagramLink, _
    originConnection As ConnectionPoint, _
    destinationConnection As ConnectionPoint, _
    nowCreating As Boolean _
) As Boolean

 Parameters

link

The DiagramLink to route.

originConnection

Represents connection to Origin node, potentially different from link's stored connection when modifying first control point.

destinationConnection

Represents connection to Destination node, potentially different from link's stored connection when modifying last control point.

nowCreating

Indicates whether link is currently being created.

 Return Value

true if a path has been found successfully, otherwise false.

 See Also