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 SummaryModifier and TypeMethodDescriptionvoidOptional.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 connectionsvoidSets up the edge router with the obstacles to avoid
- 
Method Details- 
setupSets up the edge router with the obstacles to avoid
- 
routeAllCalculate routes for all connections
- 
routeFind a route starting and ending at an anchor point.
- 
routeFind a route starting at an anchor point and ending at any arbitrary point
- 
paintDebugOptional. An opportunity to paint debug info. Turned on with -DEdgeRouter.DebugPaint=true
 
-