Classdiagram: package style on empty packages not used

0 votes
asked Jun 11, 2015 in Bug by anonymous

Testet in v.8026

Packages without content (classes or notes) will not be drawn according to their package style

 

@startuml

package AAA <<Frame>> {    
}

package BBB <<Frame>> {
    class Foo{
    }
}

package XXX <<Database>> {    
}

package YYY <<Database>> {
    note "Hello World" as hello
}
@enduml

 

The same occurs with all other styles too.

1 Answer

0 votes
answered Jun 12, 2015 by plantuml (208,860 points)
Hello,

Thanks for the report.

This has been fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

We also change some default border colors from red to black, because it makes more sense (at least, we think so).

Regards,
...