Skinparam for grouping in sequence diagram

0 votes
asked Oct 15, 2013 in To be sorted by martin.prosek (180 points)
Hi, is there any way how to change thickness or colour of the groupings in sequence diagrams? Now I am getting thick black lines for alt, loop etc. I do not like it and I want to change it in my diagrams. The best way would be to use some skinparam and set the thickness and colour. Please advice. Thank you.

1 Answer

0 votes
answered Oct 15, 2013 by plantuml (295,000 points)

We realize that this has not been documented yet, but you can use :

(we will update http://plantuml.sourceforge.net/skinparam.html )

@startuml
skinparam sequenceGroupBorderColor blue
skinparam sequenceGroupBackgroundColor red
alt
Bob -> Alice : hello
end group
@enduml

For Thickness, this is hardcoded, but easy to fix.We will add:

skinparam sequenceGroupBorderThickness 1

Hope this helps,

commented Oct 15, 2013 by plantuml (295,000 points)
Actually, there are so many parameters that we forget that this is already working...

@startuml
skinparam sequenceGroupBorderThickness 1
skinparam noteBorderThickness 3
skinparam sequenceGroupBorderColor blue
skinparam sequenceGroupBackgroundColor red

alt
Bob -> Alice : hello
note left: foo
end group
@enduml
...