Both background color and hyperlink attributes do not work for activity block in activity diagram beta

0 votes
asked Jun 10 in Question / help by Sarunas
Hi Folks,

I am using dot-graphviz 2.26.0 and I get error when trying to specify both color and hyperlink for a activity block:

@startuml

#ff8822 :color works;
[[http://plantuml.com/sequence]]:hyperlink works;
#ff8822 [[http://plantuml.com/sequence]]:both fail;

@enduml

Is there a way how I could get it working, or this is some kind of bug ?

Many Thanks

1 Answer

+1 vote
answered Jun 11 by plantuml (200,240 points)
commented Jun 11 by anonymous
Thanks very much, plantuml :) It worked out.

Maybe you could also help me with another issue - I don't know how to set a hyperlink on a "if" block. I could set url on a text in the "if" block, but staying consistent would like to set it on the block itself. Any ideas ?  

Many thanks :)
commented Jun 12 by plantuml (200,240 points)

It sounds like a good idea.

So with last beta http://beta.plantuml.net/plantuml.jar you can now have :

@startuml
start
[[http://plantuml.com/sequence]]#ff8822:if (?) then (x)
    foo
else (y)
    bar
endif
stop
@enduml

Is this what you are looking for ?

commented Jun 18 by Sarunas
Thanks very much plantuml ! That's exactly what I've been looking for.

I tried to install this jar as a PlantUML plug-in for Confluence, but it failed. Any ideas how to get this beta jar as plug-in for Confluence ?
...