y.layout.tree
Interface FromSketchNodePlacer
- All Superinterfaces:
- NodePlacer
- All Known Implementing Classes:
- AbstractRotatableNodePlacer, ARNodePlacer, AssistantPlacer, BusPlacer, DefaultNodePlacer, DelegatingNodePlacer, DendrogramPlacer, DoubleLinePlacer, FreePlacer, GridNodePlacer, LayeredNodePlacer, LeftRightPlacer, SimpleNodePlacer
public interface FromSketchNodePlacer
- extends NodePlacer
A FromSketchNodePlacer is responsible for arranging its nodes using a comparator, which sorts
the outgoing edges of a node according to the position of their target nodes in the graph before the actual placement
happens.
- See Also:
NodePlacer
createFromSketchComparator
Comparator createFromSketchComparator()
- Creates a comparator for edges.
This comparator is used to sort the outgoing edges of a node before the
placement of the node's subtree is calculated.
- Returns:
- a comparator for edges.