Can you color participant backgrounds in a timing diagram?

0 votes
asked Aug 17, 2021 in Question / help by dragondive (1,360 points)
Hello everyone,
Is it possible to color the background of a participant in a timing diagram?

Thus, for example, if my timing diagram has Alice and Bob as participants, I want Bob's background to be green. I looked into the documentation, but there's only the option to color parts of the diagram "vertically", not "horizontally".

1 Answer

+1 vote
answered Feb 27 by The-Lu (70,400 points)
selected Jul 3 by dragondive
 
Best answer

Hello D.,

That is now possible, see:

With:

@startuml

concise "Alice" as LR #pink
concise "Bob" as ST #palegreen

LR is AtPlace
ST is AtLoad

@LR
0 is Lowering
100 is Lowered
350 is Releasing
 
@ST
200 is Moving
@enduml

Enjoy, (Thanks to PlantUML team)
Regards,
Th.

...