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 DynamicAnchor
s the connection is attached to.-
Method Summary
Modifier and TypeMethodDescriptionvoid
route
(Connection connection) Adjusts theconnection's
anchors (if necessary) to satisfy certain routing constraints.boolean
wasInserted
(IAnchor anchor)
-
Method Details
-
route
Adjusts theconnection's
anchors (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 parameters
ofdynamic anchors
.- Parameters:
connection
- TheConnection
to route.
-
wasInserted
Returnstrue
if the givenIAnchor
was added by thisIConnectionRouter
duringroute(Connection)
. Otherwise returnsfalse
.
-