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

0 votes
asked 5 days ago 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 5 days ago by plantuml (203,680 points)
commented 4 days ago 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 4 days ago by plantuml (203,680 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 ?

...