Support for "connectors," which are figures that draw themselves between sites on other figures. This package contains:
- The top-level interfaces for connectors
- Basic implementations of connectors
- Interfaces and concrete implementations of routers, which provides connectors with useful ways to draw themselves.
Interface Summary Interface Description ConnectorA Connector is a figure that draws itself between two sites on other figures. ConnectorEndAn interface for objects that can be attached to the end of a connector. ConnectorListenerA listener for changes in a connector's connectivity. ConnectorTargetAn object that is used to get suitable "target" sites for connectors. ManhattanRouterA ManhattanRouter is an object that routes Polylines as a series of perpendicular edges. RouterA Router is an object that can be used to help a connector route itself. TerminalA Terminal is a figure that provides a visible place for connectors to connect to.
Class Summary Class Description AbstractConnectorAn abstract implementation of Connector. AbstractConnectorTargetAn abstract implementation of the ConnectorTarget interface. ArcConnectorA Connector that draws itself in an arc. ArcInteractorAn interactor for dragging either end of an arc connector and for for altering the shape of the arc by dragging a midpoint grab handle. ArcManipulatorA manipulator for arc connectors. ArcMidpointSiteA concrete implementation of Site that is located in the center of the bounding box of a figure. ArrowheadAn arrowhead that is drawn on the end of a connector. AutonomousSiteA site that is not attached to a figure. BasicManhattanRouterA basic manhattan router. BlobAn object that draws a blob of some kind on the end of a connector. BoundsSiteA site that locates itself on the bounds of a figure's shape. CenterSiteA concrete implementation of Site that is located in the center of the bounding box of a figure. CenterTargetAn implementation of connector targets that finds center sites. ConnectorAdapterAn adapter for connector listeners. ConnectorEventA graph event that is emitted when anything interesting happens inside a graph by way of a GraphModel. ConnectorInteractorAn interactor for dragging one end of a connector. ConnectorManipulatorA manipulator which attaches grab handles to the ends of a connector. FixedNormalSiteA site decorator that disallows changing the normal. IncrManhattanRouterA manhattan router which does only incremental routing and delegates static routing to another manhattan router implementation. ManhattanConnectorA Connector that draws itself with perpendicular lines. NullSiteA site that doesn't do anything useful. ParametricSiteA site that locates itself in a figure at a location in X and Y that is some percentage of the bounding box of the figure. PerimeterSiteA site that locates itself on the perimeter of a figure. PerimeterTargetA connector target that returns sites on the perimeter of a figure. StraightConnectorA Connector that draws itself in a straight line. StraightTerminalA terminal that consists of a straight line plus an additional decoration at the connection end of the terminal. TerminalFigureA TerminalFigure decorates a figure to be a terminal as well.