MindFusion.Java Package Programmer's Guide
PatternRouter Members
Constructors Methods
 


Routes links by applying patterns of segment and turn sequences and accepting them when resulting paths do not cross nodes.

The following tables list the members exposed by the PatternRouter type.

 Public Constructors

  Name Description

PatternRouter

Overloaded.  

 Public Methods

  Name Description

getDiagram

Gets the Diagram whose links will be routed.

getMinimumDistance

Gets the minimum allowed distance from obstacles for a route to be accepted.

getObstacles

Gets a list of obstacle nodes.

getPatterns

Gets a list of RoutePattern objects representing the routing patterns.

getPreferredDistance

Gets the preferred distance from link's bend points to the link's nodes.

routeLink

Implements LinkRouter.routeLink.

routeLinks

Implements LinkRouter.routeLinks.

setDiagram

Sets the Diagram whose links will be routed.

setMinimumDistance

Sets the minimum allowed distance from obstacles for a route to be accepted.

setObstacles

Sets a list of obstacle nodes.

setPatterns

Sets a list of RoutePattern objects representing the routing patterns.

setPreferredDistance

Sets the preferred distance from link's bend points to the link's nodes.

 See Also

PatternRouter Class
com.mindfusion.diagramming Namespace