Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
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 ...
related to an answer for:
Web links in generated images, e.g using image maps?
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
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
.
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
anonymous
Hello,
I'm using the online version of plantuml in php code with the following code :
http://plantuml.sourceforge.net/codephp.html
that generate this link with no hyperlink:
http://www.plantuml.com/plantuml/img/AyxEp2j8B4hCLKZEpot8pqlDAr6evdBBpoi9pgnALJ0qughbAeQhAKXCpavCJqLMOMp4bGGKJI_AByrBSSxFoIzI2C_8B4aDpitFJWLgZlQjL7266Hsha5YiuEmRO6YX41sTKL9IOAMlNrvUhfUUdv-Uawe7T49iB1S0
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.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
Both background color and hyperlink attributes do not work for activity block in activity diagram beta
Ability to define hyperlink on diagram elements
Allow stereotypes on notes in component diagram
Can I align stereotypes in column for component diagram?
Arbitrary Box Around Components in Component Diagram (iDesign Diagrams)
All categories
Question / help
(1,710)
Bug
(1,761)
Wanted features
(1,480)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(14)
Can't help
(10)
To be deleted
(10)
To be sorted
(431)
...