Packagecom.flextoolbox.controls.treeMapClasses
Classpublic class RecursiveSquarifyLayout
ImplementsITreeMapLayoutStrategy

A recursive "squarify" layout algorithm for the TreeMap component. The squarify algorithm creates nodes that are unordered, with the lowest aspect ratios, and medium stability of node positioning. In short, the algorithm attempts to make all the nodes into squares.

Note: This is a recursive version of the squarify algorithm, which means that the number of items displayed is limited by the maximum size of the call stack. It is included mainly for academic purposes. In general, you should use SquarifyLayout.

See also

com.flextoolbox.controls.TreeMap
SquarifyLayout


Public Methods
 MethodDefined by
  
Constructor.
RecursiveSquarifyLayout
  
updateLayout(branchRenderer:ITreeMapBranchRenderer, bounds:Rectangle):void
Updates the size and positions of a TreeMap branch renderer's child items.
RecursiveSquarifyLayout
Constructor detail
RecursiveSquarifyLayout()constructor
public function RecursiveSquarifyLayout()

Constructor.

Method detail
updateLayout()method
public function updateLayout(branchRenderer:ITreeMapBranchRenderer, bounds:Rectangle):void

Updates the size and positions of a TreeMap branch renderer's child items.

Parameters
branchRenderer:ITreeMapBranchRenderer
 
bounds:Rectangle