Search
ILinkRouter.RouteLink Method
See Also
 





Called when a single link must be routed.

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

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

link

A DiagramLink object representing the link.

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, or false otherwise.

 See Also