Border thickness

+2 votes
asked Apr 16, 2014 in Wanted features by fred (540 points)
Border thickness seems to be only skinable in sequence diagrams. Would it be possible to generalize it? For instance:
skinparam classBorderThickness .5
By the way, the border thickness skinparams do not appear in the -language output.
commented Dec 13, 2016 by anonymous
what about rectangle border?
commented Dec 13, 2016 by plantuml (295,000 points)
Hi, not sure to understand your remark.
Could you give more details? Thanks

4 Answers

+2 votes
answered Apr 17, 2014 by plantuml (295,000 points)
selected Apr 22, 2014 by fred
Best answer

Good idea,

We have implemented it in this beta:

(and the -language has been corrected too)
This will be in version 7998.

skinparam classBorderThickness .5
class Foo
interface Foo2

Do not hesitate to ask for other borders thickness.

Thanks for the suggestion,

commented Oct 13, 2016 by anonymous
Something like that would be ideal: being able to add borders to titles.

It would also be useful to be able to add a border to the whole diagram, with something like: skinparam diagramborderthickness 2

commented Oct 19, 2016 by plantuml (295,000 points)
About title, with last beta:

You can have:
skinparam titleBorderRoundCorner 15
skinparam titleBorderThickness 2
skinparam titleBorderColor red
skinparam titleBackgroundColor AliceBlue-Bisque
title My Title
Bob -> Alice : hello

I hope that you'll like this.

DiagramBorderThickness remains to be done
commented May 17, 2017 by anonymous
usecaseBorderThickness would be most helpful.

Also, any way to display linked images in place of actor stick-figures?

And a long overdue "Thank you" for this most awesome tool! :-)
commented May 17, 2017 by plantuml (295,000 points)
Nice idea!
With last beta:
You can now have:
skinparam UsecaseBorderThickness 0.5
usecase foo1
Is this what you are expecting ?
commented May 18, 2017 by anonymous
I want to say yes and thank you, especially that your response was so incredibly fast!

But this is where I embarrassingly reveal my unfamiliarity with the command line, and that my use of PlantUML up to this point has solely been via javascript calls to the server.

That said, I managed to install Homebrew and Graphviz, and will report back a more proper thanks once I’ve figured out how to work with .jar’s. It’s a new world for me.
0 votes
answered Dec 20, 2016 by anonymous
is it possible to fine tune rectangle border thickness in component diagram?
commented Dec 21, 2016 by plantuml (295,000 points)
With last beta
You can have:
skinparam rectangleBorderThickness 0.5
rectangle foo1

Is this what you are expecting ?
commented Dec 21, 2016 by anonymous
yes, thanks!
0 votes
answered Dec 19, 2017 by anonymous

Do you think we can have the same thing for Components ?

componentBorderThickness ?

commented Dec 19, 2017 by plantuml (295,000 points)
Good idea!

With last beta
you can have

skinparam componentBorderThickness 0.5
component foo1
0 votes
answered Aug 9, 2019 by atennert (180 points)

BorderThickness is great!

Would it be possible to get border thickness for the following elements?

  • actorBorderThickness
  • artifactBorderThickness
  • boundaryBorderThickness
  • cloudBorderThickness
  • controlBorderThickness
  • databaseBorderThickness
  • entityBorderThickness
  • fileBorderThickness
  • folderBorderThickness
  • frameBorderThickness
  • interfaceBorderThickness
  • nodeBorderThickness
  • packageBorderThickness
  • queueBorderThickness
  • stackBorderThickness
  • storageBorderThickness
This should complete the property for all objects in deployment diagrams.
commented Aug 9, 2019 by plantuml (295,000 points)
Well, there is an ongoing process to rework the skinparam feature (see ), so we'd better integrate your request in the new style implementation.

Do you need a different setting for all elements ?
commented Aug 10, 2019 by atennert (180 points)
Thanks for considering. I don't need different settings. One global setting for border thickness would be much more convenient for me.
commented Nov 8, 2023 by boshka (3,960 points)
edited Nov 8, 2023 by boshka

has the one global setting for border thickness (one for all shapes) been ever implemented?

Thank you!
commented Nov 8, 2023 by The-Lu (67,080 points)

Hello B., and all,

Yes, for that you can use global style with `element`, as:

element {
  LineThickness 3


commented Nov 8, 2023 by boshka (3,960 points)
Thank you for the reply!
commented Nov 8, 2023 by The-Lu (67,080 points)

Hello B., and all,

Thanks for your test, I just open this wanted feature:


commented Dec 20, 2023 by The-Lu (67,080 points)

Hi Boshka, and all,

FYI, for "actorStyle awesome" it is fixed from last version V1.2023.13.

Thanks to PlantUML Teams,