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

Labels and cardinalities often obscured when displayed using Explorer Plugin #4424

Closed
Chris-ECE opened this issue May 22, 2024 · 2 comments
Closed

Comments

@Chris-ECE
Copy link

Hello,

Regarding the explorer plugin for navigating adjacent classes in UML diagrams, I notice that cardinalities are sometimes obscured by the boxes for the classes, or by other cardinalities or arrow labels. Here is an example:

image

If there is any way that the appearance of cardinalities and arrow labels could be improved, such as minimum spacing from other text, and/or bringing such text in front of the boxes for classes, this would greatly benefit the user experience, and be much appreciated.

Many thanks.

@davidjgraph
Copy link
Collaborator

Fix in 24.4.10.

@Chris-ECE
Copy link
Author

Thanks, but there are still some problems.

While it's good that the labels have been brought to the front (both cardinalities and arrow labels), they now obscure each other. - The arrow labels tend to now be at one end of the arrow, which usually obscures some of the cardinalities, so I wonder if these should be nearer to the middle of the arrow to give a better chance of not overlapping with them?

If it's feasible to enforce a minimum separation of labels/cardinalities, that would be great. - This has the potential to be such a powerful plugin.

Also, maybe cardinalities could be slightly offset so that they don't obscure the arrowhead (which identifies the type of relation).

Here is an example of how the same diagram appears since the fix in 24.4.10, and it's clear there are some issues:
image

Maybe there are some tweaks that could be made?

Another thought is that because these difficulties are due to the way the uml classes are moved around by the explorer plugin, perhaps one option might be to keep the locations of classes fixed and just hide the non-adjacent classes. (The user will have already placed their labels/cardinalities is suitable places.) - But perhaps that should be a separate plugin, as it would give a radically different user experience.

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

2 participants