skinparam arrowThickness does not work with stereotypes

0 votes
asked Feb 21, 2020 in Bug by jashar_zenuity (120 points)

I tried:

skinparam arrow<<type1>> {

    color #ff0000

    thickness 3

}

The color works with lines of this stereotype but not the thickness. If I change this to "skinparam arrow {" (without stereotype) the color and thickness both work. 

Using plantuml-2019.13.jar

1 Answer

0 votes
answered Feb 27, 2020 by plantuml (295,800 points)
Thanks for the report. However, it would be nice if you can post a complete and short example that shows the issue.
commented Jan 25, 2021 by kirchsth (7,140 points)

I think the problem is that ArrowThickness is a global skinparm like below (without stereotype it is defined with 16, with stereotype it is 2)

@startuml
skinparam Arrow {
    Color #Green
    FontColor #Green
    Thickness 16
    Color<<other>> #Red;text:Red
    Thickness<<other>> 2
    Color<<interaction>> #Orange;text:Orange
}

folder "Legend" {
    cloud "Cloud" as leg_cloud <<subsystem>> {
        database "Database" as leg_data <<database>>
    }
    component "Component" as leg_comp <<component>>

    [leg_comp] .. [leg_data] <<interaction>> : Interaction
    [leg_comp] .. [leg_data] <<other>> : Other
    [leg_comp] <-- [leg_data]: Data Flow
}
@enduml

 

...