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

make it easier to find the story on the canvas #195

Open
hofstef opened this issue Dec 11, 2024 · 1 comment
Open

make it easier to find the story on the canvas #195

hofstef opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
feature concrete new feature or request

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.
@a-kikhia a-kikhia self-assigned this Jan 6, 2025
@hofstef hofstef changed the title center domain story on import make it easier to find the story on the canvas Jan 28, 2025
@hofstef
Copy link
Member Author

hofstef commented Jan 28, 2025

Renamed issue from "center domain story on import" to "make it easier to find the story on the canvas" because the new title describes the problem. The old tilte descriped a solution that - as of now - we could not get to work. The current solution is to include the "minimap".

@hofstef hofstef added the feature concrete new feature or request label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature concrete new feature or request
Projects
None yet
Development

No branches or pull requests

2 participants