Skip to content
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

Keep positions of classes readded back to canvas #828

Open
RadStr opened this issue Dec 12, 2024 · 0 comments
Open

Keep positions of classes readded back to canvas #828

RadStr opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
cme Conceptual model editor enhancement New feature or request

Comments

@RadStr
Copy link
Collaborator

RadStr commented Dec 12, 2024

Currently when class is removed from canvas, it is also removed from visual model, therefore when we put it back again, it won't be put at the same position as it was on before the removal.

To solve this we can store positions of classes removed from canvas in some storage, for example

  • session storage
  • local storage

and use those stored positions, when we add the class back to canvas.

Example of not keeping positions after readding back to canvas:

firefox_j5Mhd8dTwf

@RadStr RadStr added enhancement New feature or request cme Conceptual model editor labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cme Conceptual model editor enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants