Activity diagram beta: different border color and different diamond border color inline

0 votes
asked May 21, 2021 in Question / help by Wang

Hi

How do I draw different diamond border color and different border color action in a graph?

skinparam ActivityBorderColor Blue

skinparam ActivityBorderColor<<x>> Green

:act1;

<<x>>:act2;

I expect the border color of act2 will change to green, but no.

About diamond border color, if I want to use three colors (including default), how do I do this?

I try the syntax like

skinparam ActivityDiamondBorderColor Blue

skinparam ActivityDiamondBorderColor <<x>> Green

<<x>>if (a) then (yes)

but the syntax is error, because I can't find this in document or Q&A, please teach me how to do this, thanks

1 Answer

0 votes
answered May 21, 2021 by Martin (8,360 points)
edited May 21, 2021 by Martin

I'm not sure about with skinparam; but you can achieve your first question with <STYLE>

Diamond border colour can also be controlled with style; but, I couldn't find a way to use a stereotype with a diamond...

...