Hyperlink in component diagram

0 votes
asked Nov 11, 2014 in Wanted features by anonymous
What is the syntax tu use hyperlink with component diagram ?

I tryed :

[my component] as CMP2 [[http://www.google.com]]

with no success ...

1 Answer

+1 vote
answered Nov 11, 2014 by plantuml (298,440 points)
Your example is working for us.

See http://www.plantuml.com/plantuml/svg/YywjL4ZEpot8pqlDAubLI2nMSFODC5A8ZiueAIcmqjSlBo_NIy_FJyz9rGCgYuq50000

Which version of PlantUML are you using ?
commented Nov 11, 2014 by plantuml (298,440 points)
Ok, the issue here is that PNG images cannot have hyperlinks. It's not a PlantUML issue, it's a format issue.
Note that if you change the /img/ in the URL by /map/ , you will have the map data about hyperlink:
http://www.plantuml.com/plantuml/map/AyxEp2j8B4hCLKZEpot8pqlDAr6evdBBpoi9pgnALJ0qughbAeQhAKXCpavCJqLMOMp4bGGKJI_AByrBSSxFoIzI2C_8B4aDpitFJWLgZlQjL7266Hsha5YiuEmRO6YX41sTKL9IOAMlNrvUhfUUdv-Uawe7T49iB1S0

Can you take advantage of this ?
commented Nov 12, 2014 by anonymous
Yes, I've included map data within the image and all works fine.
Thank you.
...