Apply skinparam to individual group in sequence diagram

+1 vote
asked Jan 20 in Question / help by itmatt1978
Hi I want to change the border color of only one of my diagrams groups. My current attempt seems to always set a global for all groups:-


group Blue group
    TEST1->TEST2: Test1
group Red group
    skinparam sequenceGroupBorderColor red
    TEST1->TEST2: Application BUG ticket raised for Product Owner to prioritise

How can I do this?

1 Answer

0 votes
answered Jan 26 by itmatt1978 (140 points)

(I must of used a temp login and it's not letting me edit the above with a registered login with same id)

OK - you can customise individual elements via the it's <<.stereotype>> but only certain objects can have this, and I don't believe groups are one of them.

Luckily there is the following syntax to work around this limitation::

group#Blue #LightBlue  Blue
    TEST1->TEST2: Test1
end group
group#Red #violet Red
    TEST1->TEST2: Test2
end group

Found in