Ability to define hyperlink on diagram elements

0 votes
asked Apr 18, 2013 in Wanted features by lxxc (270 points)

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.


1 Answer

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

skinparam svgLinkTarget foo
:foo1 [[http://www.google.com]] end;

Is this what you are looking for ?
commented Mar 6, 2017 by mnlipp (240 points)
Yes, that's it. Thanks!