Some skinparam properties won't apply globally

0 votes
asked Dec 3 in bug by hukameniz (680 points)

This code:

 

skinparam classAttributeFontSize  18

Wont change any class, to change classes one must specify the stereotype, so this code:

skinparam classAttributeFontSize<<Foo>>  18

Works, but only changes font size of <<Foo>>

I noticed this happening to other properties too.

PlantUML version 1.2017.19 (Sun Nov 12 12:46:22 CET 2017)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_151-8u151-b12-1~deb9u1-b12
Operating System: Linux
OS Version: 4.9.0-4-amd64
Default Encoding: UTF-8
Language: en
Country: US
Machine: debian
PLANTUML_LIMIT_SIZE: 4096
Processors: 4
Max Memory: 734,527,488
Total Memory: 50,331,648
Free Memory: 46,070,064
Used Memory: 4,261,584
Thread Active Count: 1

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK

1 Answer

0 votes
answered Dec 4 by plantuml (135,550 points)
selected 3 days ago by hukameniz
 
Best answer

Could you give an example ?

Maybe we did not understand the issue, but the following diagram is working for us:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuIhEpimhI2nAp5L8paaiBdOiAIdAJ2ejINNBpoi9pgnALL2m8AZ6niOjFz_EJa71q8AB2wn48QKqDxTIePehjI8njo0drP2h5YQJbfyFKm-NDW99EwJcfO1S1000

@startuml
skinparam classAttributeFontSize  8
skinparam classAttributeFontSize<<Foo>>  18

class dummy {
example1
}

class foo<<Foo>> {
example2
}

@enduml


commented 3 days ago by hukameniz (680 points)
True, it works, sorry.

I have been trying a lot of things from PlantUml and I guess I did a mistake or I had more code around that would interfere with this.
...