Open
Description
Describe the bug:
When a diagram is saved, Antv/X6 drawing package reverts the canvas size to the size of the container view
The user is left with a confusing diagram and has to drag components to get them back into view
Updating to antv/x6 version 2.x did not solve this, see #722
Expected behaviour:
when opening a diagram, the canvas size and viewing area should match the previous sizes
Environment:
- Version: after commit 6b8f3e3, version 2.3
- Platform: both Web App and Desktop App
- OS: all of MacOS / Windows / Linux
- Browser: all of chrome, firefox, safari
To Reproduce:
- Open the example diagram
- drag a component so that the diagram canvas resizes
- save the diagram
- only a portion of the canvas is now displayed
Any additional context, screenshots, etc:
Create a model that spans more than one page vertically, note that this diagram is zoomed out to show the complete example model:

press the save button and observer that only the top page is displayed in the diagram view:

The model is still complete, zoom in and out to reframe the diagram