-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canvas reverts to small view area on save #1041
Comments
@jgadsden I do not get this point. Because on my side, when I save the file, it does not revert the canvas size... Are you saying that when he saves the file in a JSON file and then opens this JSON file again, it reverts the canvas size to the size of the container view? can you elaborate on this more? |
the problem is to do with the dependencies for the version of antv/x6 that we are using : v1.35.0 or v1.35.1 I am not sure which dependency it is but we can take the v2.2.0 tag, which works, and update the dependencies which then produce the fault:
this means we have to update antv/x6 to version 2.x, subject of issue #722 |
moving this to version 2.4 |
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:
To Reproduce:
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
The text was updated successfully, but these errors were encountered: