Is there a way to color conditionals?

0 votes
asked Mar 30 in Question / help by John

For example, when using swim lanes, often in activity models, colors are often used to indicate who "owns" or "does" what.  It looks like I'm limited to "white" for conditionals in the lanes.   Consider this swim-lane example from the docs: PlantUML Web Server.  Everything in the first two lanes is color coded, EXCEPT the conditional.  Is there  way to change the conditional color on a lane-by-lane basis?

1 Answer

0 votes
answered Mar 31 by The-Lu (19,740 points)

Hello J.,

You can use:

skinparam activityDiamondBackgroundColor #pink

With that, we observe the expected result...

But to be more generic, you can use:

skinparam activityDiamondBackgroundColor #00000000

With that, you can see good color on each swim line...

See also documentation here:

If that can help,
Regards,
Th.

...