public interface IFromSketchNodePlacer extends INodePlacer
IFromSketchNodePlacer arranges the subtrees while taking the initial locations of the nodes into account.
It provides a Comparator which sorts the outgoing edges of a node according to the initial coordinates of their
target nodes. Keeping the original order of nodes, this Comparator allows to incrementally add new nodes to the
graph.
| Modifier and Type | Method and Description |
|---|---|
Comparator<Object> |
createFromSketchComparator()
Creates an
edge comparator which takes the initial coordinates of the nodes into account. |
createProcessor, determineChildConnectors, placeSubtreeComparator<Object> createFromSketchComparator()
edge comparator which takes the initial coordinates of the nodes into account.
This Comparator defines the order of the outgoing edges of a node before the actual placement of the node's
subtree is calculated.
Comparator for the edges