Class AbstractRouter

java.lang.Object
org.eclipse.gef.fx.nodes.AbstractRouter
All Implemented Interfaces:
IConnectionRouter
Direct Known Subclasses:
OrthogonalRouter, StraightRouter

public abstract class AbstractRouter extends Object implements IConnectionRouter
Abstract base class for IConnectionRouters implementing a routing strategy that can be specialized by subclasses:
  1. Remove anchors previously inserted by the router.
  2. Copy connection points before updating the computation parameters.
  3. Update computation parameters based on the copied connection points (i.e. not influenced by parameter changes).
  4. Record connection point manipulations using AbstractRouter.ControlPointManipulator.
  5. Apply all recorded changes to the connection.