Packagecom.yworks.yfiles.layout.tree
Interfacepublic interface FromSketchNodePlacer extends NodePlacer
Implementors ARNodePlacer, AbstractRotatableNodePlacer, DefaultNodePlacer, DendrogramPlacer

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

com.yworks.yfiles.layout.tree.NodePlacer


Public Methods
 MethodDefined By
  
Creates a comparator for edges.
FromSketchNodePlacer
Method Detail
createFromSketchComparator()method
public function createFromSketchComparator():Comparator

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
Comparator — a comparator for edges.