Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

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

0 votes
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?
asked Aug 31 in Wanted features by costateixeira (250 points)

1 Answer

0 votes

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 ?
 

answered Sep 5 by plantuml (126,850 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...