title: Size JointJS Rect shape based on text?
body: <p>Usually, when we create a Rect shape in JointJS, we specify a size.</p>
  
  <pre><code>var cell = new joint.shapes.basic.Rect({
    size: size,
    attrs: {
      text: {
        text: text
      }
    }
  });
  graph.addCell(cell);
  </code></pre>
  
  <p>Is there a way to not provide a <code>size</code> property, but have the shape take on the dimensions required to fit the text?</p>
  
  <p>I am aware of <code>joint.util.breaktext</code>, but I do not wish to break text in this case.</p>