code: function(par, ch, coord, prop) {
     //compute children real areas
     var parentArea = coord.width * coord.height;
     var i, l=ch.length, totalChArea=0, chArea = [];
     for(i=0; i<l; i++) {
       chArea[i] = parseFloat(ch[i].getData('area', prop));
       totalChArea += chArea[i];
     }
     for(i=0; i<l; i++) {
       ch[i]._area = parentArea * chArea[i] / totalChArea;
     }
     var minimumSideValue = this.layout.horizontal()? coord.height : coord.width;
     ch.sort(function(a, b) { return (a._area <= b._area) - (a._area >= b._area); });
     var initElem = [ch[0]];
     var tail = ch.slice(1);
     this.squarify(tail, initElem, minimumSideValue, coord, prop);
   }
docs: /*
  Method: processChildrenLayout
  
  Computes children real areas and other useful parameters for performing the Squarified algorithm.
  
  Parameters:
  
  par - The parent node of the json subtree.
  ch - An Array of nodes
  coord - A coordinates object specifying width, height, left and top style properties.