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.

setting ad hoc gradient backgrounds in activity

0 votes

Can we support the ad hoc gradient notations in the activity diagrams as follows?

partition #red/#white testPartition {

        #blue/#white:testActivity;
}
 
Currently you can do this only globally by specifying the skinparams:
skinparam partitionBackgroundColor red/white
skinparam activityBackgroundColor blue/white
 

 

asked Sep 7, 2016 in Wanted features by boshka (370 points)

1 Answer

0 votes

Good idea!

With last beta:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can now have:

@startuml
start
partition #red/white testPartition {
        #blue\green:testActivity;
}
@enduml


Is this what you are looking for ?

answered Sep 9, 2016 by plantuml (112,180 points)
Yes, many thanks! Please release :)
there is one issue. Shouldn't this work too?

<back:#FF9999/white>#FF9999/white</back>
You mean, in something like:

@startuml
start;
:hello <back:#FF9999/white>there</back>;
@enduml

So not related to partition ?
yes, so i could do this same style in a legend
Ok.
This should be possible with last beta
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
Thanks! works!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...