Packagecom.yworks.yfiles.layout
Interfacepublic interface Layouter
Implementors CanonicMultiStageLayouter, CompositeLayouter, GraphZoomer, InteractiveOrganicLayouter, SequentialLayouter

This is a general interface for algorithms that perform a layout process on a given layout graph.



Public Methods
 MethodDefined By
  
canLayout(graph:LayoutGraph):Boolean
Returns true iff the given graph can be laid out by this algorithm.
Layouter
  
doLayout(graph:LayoutGraph):void
Main layout routine that assigns new layout information to the given graph.
Layouter
Method Detail
canLayout()method
public function canLayout(graph:LayoutGraph):Boolean

Returns true iff the given graph can be laid out by this algorithm. Calling doLayout with the given graph as its argument will only success if this method returns true.

Parameters

graph:LayoutGraph

Returns
Boolean
doLayout()method 
public function doLayout(graph:LayoutGraph):void

Main layout routine that assigns new layout information to the given graph.

Parameters

graph:LayoutGraph