-
Notifications
You must be signed in to change notification settings - Fork 82
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
Allow to include viewport changes into the animations of model updates #147
Comments
This part is implemented in the "Random graph" example using TrackSelectedUpdateModelCommand. |
As far as I can tell, animations done during an UpdateModel are something very different from viewport animations such as the center- or the fit to screen animations and are not interoperable. I suggest that you can send a viewport change as an option in the update model action, whose animation is then merged with the animation of the updated model.
This will allow interaction with the diagram that causes a model update via a new layout or something similar to also cause the model to be fit to the screen again as it is wanted in #121 in the same animation. It also allows to define and include some new viewport animation that causes some selected element to stay at the same position on screen although it has a new position in the updated model.
The text was updated successfully, but these errors were encountered: