Can we format groups or have different styles for group/alt?

+1 vote
asked Aug 31, 2017 in Wanted features by costateixeira (500 points)
Hi

I am trying to see if groups can have a different background colour than alt boxes.

It seems that background color works on box but not on group.

I don't need custom formatting, just a visual difference between group and alt boxes. Of course if there is a background colour option, then i have more flexibility and can even alternate colours.

Is there a way to do it?

1 Answer

+2 votes
answered Sep 5, 2017 by plantuml (295,800 points)

Not very documented, but you can have

@startuml
Alice -> Bob: Authentication Request
alt#yellow #blue successful case
    Bob -> Alice: Authentication Accepted
end
@enduml

Is this what you are looking for ?
 

...