public interface IntermediateLayout
Modifier and Type | Method and Description |
---|---|
IntermediateLayout |
clone()
Returns an uninitialized clone of this intermediate layout which can be used for further calculations.
|
boolean |
hasNextLayout()
Returns whether a next intermediate layout exists.
|
java.util.List<Position> |
intermediatePositionsForEdge(Edge edge)
The intermediate positions for the edge to be drawn at in the layout.
|
java.util.Optional<Position> |
positionForNode(Node node)
The position for the node in the intermediate layout.
|
void |
prepareForNextLayout()
Prepares this intermediate layout for the next layout step.
|
boolean hasNextLayout()
void prepareForNextLayout()
java.util.Optional<Position> positionForNode(Node node)
node
- The node for which to get the intermediate position.java.util.List<Position> intermediatePositionsForEdge(Edge edge)
edge
- The edge for which to get the intermediate positions.IntermediateLayout clone()