Model Explorer/Navigate elements in generated SVG?

0 votes
asked Aug 5, 2020 in Wanted features by baerrach2 (220 points)
When I have a large diagram it becomes difficult to navigate around the svg.

What I'd like to be able to do is create a Model Explorer listing all the model elements so I can click on them and focus the diagram on that element.

I'd also like to see an element context view, so when an element is selected it shows the incoming and outgoing relationships.

I know this isn't what PlantUML does out of the box. But when I look at the generated SVG there is no grouping of the svg elements into logical boundaries, there is no meta-data attached to svg elements to indicate whether it was a class, a relationship or stereotypes, etc...

I'm currently using gatsby to generate my static site and include https://github.com/ariutta/svg-pan-zoom to get some basic controls, but the next level of having logical element navigation is still missing.
commented Aug 19, 2020 by baerrach2 (220 points)

As noted in https://forum.plantuml.net/11968/ids-generated-by-plantuml-are-not-xml-compliant

relationships have ids.

But nothing else seems to.

Shouldn't the shape that defines the UML item also have an id? The id should match the as "XXX" value if it has one.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...