-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Transitions: name sometimes overlaps with other elements #2900
Comments
Hi @ebousse, The placement algorithm is pretty simple. With this angle it assumes the arrow is attached to the left side. We have a way to find out which side a relation is connected to, so we can probably make it a little smarter. (we did not have that when the original algorithm was written) |
This explains a lot! Thanks, as a workaround I'll keep this fact in mind when placing my arrows.
Sounds great, looking forward to it :) |
That's rough problem to solve automatically. I remember @sz332 proposed somewhere to make the names draggable so you can reposition them more freely. Maybe we want to pursue this? |
Describe the bug
In a state machine diagram, it sometimes happens that transition names are overlapping other graphical elements, making them unreadable.
(This is a similar issue as this older one: #2025)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the transition name to not overlap, which here should be OK given the available space around.
Screenshots
OS
Version
Version of Gaphor: 2.22.1 (Flatpak)
The text was updated successfully, but these errors were encountered: