skinparams for arrow not working?

0 votes
asked Apr 30, 2017 in Bug by anonymous
Hi,

I'm trying to define my own style for class diagrams and recognized that none of the arrow skinparameters are working.

my code looks like this:

skinparam Arrow{

    Color black

    FontSize 10

    FontColor red

}

 

the used font is still in black and the arrows themself still red.

 

Kind regards,

Thomas

1 Answer

0 votes
answered Apr 30, 2017 by plantuml (294,960 points)

Which version of PlantUML are you using ? Maybe you should upgrade ?

The following example is working for us on the online server:

@startuml
skinparam Arrow{
    Color blue
    FontSize 10
    FontColor red
}
class foo
class dummy
foo --> dummy : working
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuIhEpimhI2nAp5LmB2hABw_cKW02v_oS_2A5f9pIL33NBJ-l93YpAbN1q03EXoWfIatXgkLApaaiBbP8oy-7ib9AStChkO1y1LrTEmXFmKgXFBy8Q5SwbqDg7b0e1m00

The font is red and the arrow is blue.

commented Apr 30, 2017 by anonymous
I'm using plantuml through the markdown-preview enhanced plugin for atom. According to their website they are using version 8054 (https://github.com/shd101wyy/markdown-preview-enhanced/tree/master/dependencies)

Is this the current one? I see that you are using a new versioning scheme :)
commented Apr 30, 2017 by plantuml (294,960 points)
8054 is from February 2017. (see http://plantuml.com/changes ), which is a long time ago for us :-)

So you should upgrade : simply updating your plantuml.jar file should be ok.
Keep us informed!
commented Apr 30, 2017 by anonymous
I replaced the used jars and that fixed the issue :)

Thank you very much for your support!
...