Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Ability to define hyperlink on diagram elements

0 votes
Hi,

Within the context of plantuml diagram rendered in SVG, it would be nice to provide the ability to attach hyperlink to diagram elements (i.e. component, interface, class, group, actor, state...). This feature would help to navigate/browse thru complex system architecture described in several plantuml diagrams.

Of course such hyperlink definition would have no effect on jpeg ouptut image diagram generation.

Thanks
asked Apr 18, 2013 in Wanted features by lxxc (250 points)

1 Answer

0 votes
answered Apr 18, 2013 by plantuml (122,830 points)
Links are rendered with "target='_top'". While this is sometimes nice, it is not always what I need. Could this be made configurable?
There is a (not very documented) setting "svgLinkTarget".
For example:

@startuml
skinparam svgLinkTarget foo
start
:foo1 [[http://www.google.com]] end;
stop
@enduml

Is this what you are looking for ?
Yes, that's it. Thanks!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...