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

center domain story on import #195

Open
hofstef opened this issue Dec 11, 2024 · 0 comments
Open

center domain story on import #195

hofstef opened this issue Dec 11, 2024 · 0 comments

Comments

@hofstef
Copy link
Member

hofstef commented Dec 11, 2024

Is your feature request related to a problem? Please describe.
It's possible for users to drag the domain story out of the visible area of the canvas. While modeling, this is not a problem because the canvas is scrolled automatically while dragging. But after exported and later importing, the domain story will be outside of the visible area of the canvas. Users have to find the story on the infinite canvas and Egon does not support them. See example:

scroll up_2024-12-11 egn

Describe the solution you'd like

  • One solution is to center the domain story on import, so that it is in the visible area of the canvas. We head a half-hearted implemented that altered the x/y coordinates but not by enough. So I removed it after v2.3.0 was released. If think scrolling the canvas would be a better solution.
  • Another solution would be to help users locate the domain story on the canvas - for example integrate diagram-js minimap. This could even help to prevent users from unintenionally moving their domain story out of the visible area of the canvas.
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