code: function() {
        var t = this,
            minTop = minLeft = 99999,
            maxBottom = maxRight = -99999,
            box = {top:0, left:0, width:0, height:0};
  
        // Go through all components
        t.$('.nm-pv-component').each(function() {
          var component = $(this).find('.nm-cv'),
              left = (parseInt(component.css('left'), 10)),
              top = (parseInt(component.css('top'), 10)),
              width = component.outerWidth(),
              height = component.outerHeight(),
              right = left + width,
              bottom = top + height;
  
          // Set the max/mins
          minLeft = minLeft > left ? left : minLeft;
          minTop = minTop > top ? top : minTop;
          maxRight = maxRight < right ? right : maxRight;
          maxBottom = maxBottom < bottom ? bottom : maxBottom;
  
        });
  
        // Set the box dimensions if any components exist
        if (minLeft < maxRight) {
          box.top = minTop;
          box.left = minLeft;
          box.width = maxRight - minLeft;
          box.height = maxBottom - minTop;
        }
  
        // Return the area
        return box;
      }
docs: Determine the overall area the components consume on the canvas. Returns {top: xx, left: xx, width: xx, height: xx}