Package | com.yworks.yfiles.layout |
Interface | public interface Layouter |
Implementors | CanonicMultiStageLayouter, CompositeLayouter, GraphZoomer, InteractiveOrganicLayouter, SequentialLayouter |
Method | Defined 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 |
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 |
Boolean |
doLayout | () | method |
public function doLayout(graph:LayoutGraph):void
Main layout routine that assigns new layout information to the given graph.
Parameters
graph:LayoutGraph |