Package org.eclipse.gef.fx.nodes
Interface IConnectionRouter
- All Known Implementing Classes:
AbstractRouter,OrthogonalRouter,StraightRouter
public interface IConnectionRouter
An
IConnectionRouter is responsible for adjustment of a Connection's points. This may also include providing
reference points for DynamicAnchors the connection is attached to.-
Method Summary
Modifier and TypeMethodDescriptionvoidroute(Connection connection) Adjusts theconnection'sanchors (if necessary) to satisfy certain routing constraints.booleanwasInserted(IAnchor anchor)
-
Method Details
-
route
Adjusts theconnection'sanchors (if necessary) to satisfy certain routing constraints. This includes insertion of 'implicit' anchors, as well as updating the positions of existing anchors (which includes manipulating thecomputation parametersofdynamic anchors.- Parameters:
connection- TheConnectionto route.
-
wasInserted
Returnstrueif the givenIAnchorwas added by thisIConnectionRouterduringroute(Connection). Otherwise returnsfalse.
-