MindFusion.Java Package Programmer's Guide
LinkRouter.routeLink Method
See Also
 






Called when a single link must be routed.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

boolean routeLink (
    DiagramLink link,
    ConnectionPoint originConnection,
    ConnectionPoint destinationConnection,
    boolean nowCreating
)

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

 See Also

LinkRouter Members
LinkRouter Interface
com.mindfusion.diagramming Namespace