Hi, I have the problem that despite using “canvas.zoom(‘fit-viewport’);” The Viewer is only showing the very top of my BPMN.
Is the Viewport limited by something or am I doing anything else worng?
I used the quick Introduction to embed a viewer in html / js
.
####Edit:
Fixed it by defining 'style=“height: 500px” ’ directly in the div where I defined the canvas.
-> <div id="canvas" style="height: 500px"></div>