Interface EdgeRouter
- All Known Implementing Classes:
AbstractEdgeRouter
,OrthogonalEdgeRouter
public interface EdgeRouter
Implementations of this are used to find a connector route between two AnchorPoints, routed between a set of
obstacles
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Optional.route
(AnchorPoint start, AnchorPoint end) Find a route starting and ending at an anchor point.route
(AnchorPoint start, Point end) Find a route starting at an anchor point and ending at any arbitrary pointrouteAll
(Collection<Connection> connections) Calculate routes for all connectionsvoid
Sets up the edge router with the obstacles to avoid
-
Method Details
-
setup
Sets up the edge router with the obstacles to avoid -
routeAll
Calculate routes for all connections -
route
Find a route starting and ending at an anchor point. -
route
Find a route starting at an anchor point and ending at any arbitrary point -
paintDebug
Optional. An opportunity to paint debug info. Turned on with -DEdgeRouter.DebugPaint=true
-