public interface IConnectionRouter
IConnectionRouter is responsible for adjustment of a Connection's points. This may also include providing
reference points for DynamicAnchors the connection is attached to.| Modifier and Type | Method and Description |
|---|---|
void |
route(Connection connection)
Adjusts the
connection's anchors (if necessary) to
satisfy certain routing constraints. |
boolean |
wasInserted(IAnchor anchor)
|
void route(Connection connection)
connection'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 the
computation parameters of dynamic anchors.connection - The Connection to route.boolean wasInserted(IAnchor anchor)
true if the given IAnchor was added by this
IConnectionRouter during route(Connection). Otherwise
returns false.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.