title: Is there any Draw2d.js canvas destroy method?
body: <p>I have a question about Draw2D.js. I'm resizing the Canvas by using JQuery-ui, but when I resize the canvas I have to destroy it and create a new one ... Otherwise I'll have many canvases overlapping. If I call <code>canvas.destroy()</code> nothing works (as mentioned in the documentation).</p>
  
  <p>There is any way to do a soft destroy of the canvas? Is any resize fuunctionaility in JQuery-ui?</p>
  
  <blockquote>
    <p>Thank you @MacGyver, i find solution in the second propostion. We have
    to edit the SVG DOM :)</p>
    
    <p>i share my solution here <a href="http://jsfiddle.net/6pbjh3s6/1/" rel="nofollow">jsfiddle</a>!
    it may helps!</p>
  </blockquote>