Activity diagram: label on arrow with hyperlink now work

0 votes
asked Sep 15, 2017 in To be sorted by anonymous

Good day.

I'm using PlantUML Confluence Plugin.

I want to insert hyperlink in label on arrow.

Class diagram is worked:

@startuml
A --> b : [data [[http://www.google.com google]]]
@enduml

But activity diagram fails

@startuml
A -->[data [[http://www.google.com google]]] b
@enduml

And result:

@startuml

A -->[data google] b

Syntax Error?

Did you mean:

A -->data google] b

-->[data google] b

I used escape chars (~ and \), but it still same error.

It is possible to add hyberlink here?

Thanks.

1 Answer

0 votes
answered Sep 19, 2017 by plantuml (297,680 points)

Hello,

For activity, you should use the new beta syntax.

Example:

@startuml
start
:foo1;
-> text [[http://www.google.com google]];
:foo2;
@enduml

 

Does it help ?

...