title: BPMN diagram is not expanding with div dynamically
body: <p>I am facing one issue, while opening the bpmn diagram on a resizable &amp; draggable modal popup. I am using the bpmn.io js library to load the diagram. I need to resize the diagram when I resize the modal popup.</p>
  <p><a href="https://i.stack.imgur.com/f9q0c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f9q0c.png" alt="When modal popup open this diagram loaded" /></a></p>
  <p>But when I expand/resize the modal popup, the div expands but the bpmn diagram does not</p>
  <p><a href="https://i.stack.imgur.com/iIAX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iIAX1.png" alt="After expanding the modal popup" /></a></p>
  <p>The diagram loaded in a convas and rendered as an .svg</p>
  <p><a href="https://i.stack.imgur.com/i9yvW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i9yvW.png" alt="enter image description here" /></a></p>
  <p>Can anyone help me to figure out that how to expand the bpmn diagram dynamically. The below library I am using</p>
  <p><a href="https://demo.bpmn.io/new" rel="nofollow noreferrer">bpmn.io</a></p>