How to give a wireframe a different background color to the activity box it is displayed in

0 votes
asked Oct 4, 2019 in Question / help by bryanmacnz

I am including salt wireframes in an activity diagram as described here: .

How can I get the wireframe to have a white background while the activity boxes retain their original background colour as the author has done in the example diagram shown on that page?

In my diagram the wireframe and the activity box share the same background colour as though the wireframe is transparent but I think the example diagram I found looks way better.

Thanks in advance

1 Answer

0 votes
answered Oct 7, 2020 by The-Lu (65,440 points)

Hello B.,

You can use:

skinparam ActivityBackgroundColor Red


skinparam BackgroundColor green

With that on PNG, we observe:

skinparam ActivityBackgroundColor Red
(*) --> "
skinparam BackgroundColor green
<b>an example
choose one option
--> (*)

[See on PlantUML online server]

If that can help,