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.

Skinparam LegendBorderThickness is missing

0 votes

Hello,

in class diagrams with a legend, I am not able to change the thickness of the border of the legend, because the required skinparam LegendBorderThickness is currently not supported and is not part of the feature list (java -jar plantuml.jar -language).

 

Nonetheless, I tried it with the following code and no success with the current beta version of plantuml and the online application(http://plantuml.com/plantuml/uml/JOr12a8n34JtFSLu0N4ZxXLSkTCBrD_mMtvD98aB4UzkIqM4MOIPbnbR2j-ZnXjED1Cdl0Am5qsa1wcYkDO7_QnBBjF2P8RjUjFSex2V_La9nMCjKtY7EcgqpDaRqJuCJPxfkx0AFHzOO752DB0asltX4KxcwF7W-_K1):

 

@startuml
skinparam Legend {
  BorderColor blue
  BorderThickness 5.0
  FontStyle italic
}
legend right
  This is the Legend!
end legend
note as node7
  This is a test note!
end note
@enduml

asked Sep 16, 2016 in Wanted features by JohannesMeier (840 points)

1 Answer

+1 vote
 
Best answer
Good suggestion!

The last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar allows this:

@startuml
skinparam NoteBorderThickness 3
skinparam NoteBorderColor green

note as node1
  This is a test note!
end note

note as node2
  This is a test note!
end note

class foo
foo -- node2

@enduml

@startuml
skinparam Legend {
  BorderColor blue
  BorderThickness 5.0
  FontStyle italic
}
skinparam NoteBorderThickness 2.0
alice -> bob
legend right
  This is the Legend!
end legend
@enduml
 

Is this what you are looking for ?
answered Sep 16, 2016 by plantuml (113,980 points)
selected Sep 16, 2016 by JohannesMeier
Yes, I looked for this feature. Thanks for the fast implementation! It works fine for me.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...