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

Additional bend point added when setting model second time #452

Open
glatuske opened this issue Apr 29, 2024 · 2 comments
Open

Additional bend point added when setting model second time #452

glatuske opened this issue Apr 29, 2024 · 2 comments

Comments

@glatuske
Copy link

glatuske commented Apr 29, 2024

When setting the same model twice, the second time all edges get an additional bendpoint (actually the 0,0 of the block the source port is attached to).

2024-04-29_15h26_26

@glatuske
Copy link
Author

glatuske commented May 3, 2024

@gfontorbe @spoenemann

I have checked the backend code. Sprotty diagram server sends for the models the RequestBoundsAction

grafik

On the client side that leads to SetModelCommand for the first and UpdateModelCommand for the second.

grafik

I hope that helps you to replicate it.

@glatuske
Copy link
Author

glatuske commented May 6, 2024

For the moment I have fixed it by generating unique IDs across graphs/diagrams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant