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.

Package style erase Partition style

0 votes

Hi,

The "PackageBackgroundColor" skinparam erase the "PartitionBackgroundColor" skinparam in activity diagram.

 

Example :

result
@startuml
 
skinparam PartitionBackgroundColor #00ff00
skinparam PackageBackgroundColor #ff0000
 
start
Partition MyPartition {
    :Foo;
}
stop
@enduml

 

-> The Partition is red instead of green.

 

This "bug" affect me because I have a common style file for all my diagrams (class and activity) used in my diagrams with an !include. Is there a way to separate partition and package style ?

asked Jun 20, 2016 in Closed bug by legz (490 points)
recategorized Jun 20, 2016 by legz

1 Answer

0 votes
 
Best answer
Thanks for the report!

The bug comes from the "legacy" activity diagram, where "partition" were actually coded as "package".

Anyway, we have fixed this in last release https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Tell us if it's not working for you!

Regards,
answered Jun 20, 2016 by plantuml (124,290 points)
selected Jun 20, 2016 by legz
You are right, it works fine with the version you linked, thanks !

Btw I use(d ?) the PlantUML Server and it doesn't work here : http://www.plantuml.com/plantuml/uml/K-0gpixCAqWiIinL24WiAiaioSpFSqfCpauloY_DIt7EpyalKb0sC4XBCp10KPgSdPYUYg4Gf0oeK86hk0He61VSH0NVIWIxcai12ApSylEjkMg1AlCB0000
Is there any server update policy?
Usually, we do not install beta version on the PlantUML server (to limit risks).
If it's blocker for you, we can make an exception this time.
Just tell us.
OK, I didn't realize the version you mentioned is a beta.
Thanks for the proposition but I will wait the next regular version on the server and use the beta locally in the meantime :)
V8045 published with this fix
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...