URL links in images

0 votes
asked Feb 21, 2014 in Wanted features by anonymous

I want to have 2 icons on services that will let me associate URL with them. Lets say I have T and P icons  and links lead to test and production information.

@startuml

 
 
@enduml
 
Is it presently possible to achive something like that in any manner ? 
 
I imagine something like
 
@startuml
 
(Application1  [[www.a11... |T]] [[www.a12...|P]]))
(Application2  [[www.a21... |T]] [[www.a22...|P]]))
 
@enduml
 
or something more concise.
 
@startuml
 
(Application1  T:www... P:w...] 
 
component [Application2 T P] as A2
url for A2:T www...
url for A2:P www...
 
@enduml
 
 
Thanks

1 Answer

0 votes
answered Feb 28, 2014 by plantuml (295,000 points)

Hello,

You can use the proprocessor:

@startuml
!define ICON1 <img src="http://www.eclipse.org/tptp/images/ico_home.gif">
!define ICON2 <img src="http://www.eclipse.org/tptp/images/ico_play.gif">
component [Application1 ICON1] as A1
component [Application2 ICON2] as A2
@enduml

Does it sound good to you ?


 

asked Feb 2, 2016 in Bug by mgriffel (300 points) Image link not working anymore?
...