Are there any way to set thickness for single arrow line/association?

0 votes
asked Jul 6, 2018 in Question / help by Truong HQ
I am creating a class diagram where I want to use thickness to express the importance/weight of dependencies.

So far, I cannot find a way to do that using plantuml. I would be great to have something like:

A -[thickness=10]-> B : some_labels

Can someone help?

1 Answer

0 votes
answered Feb 15, 2021 by The-Lu (63,920 points)

Hello T.,

Just to answer to an old unanswered question (and confirm that is now OK);
And from:

We can now observe the experted result:

@startuml
A -[thickness=10]> B : some_labels

a-[thickness=5]>b: some text
b-[#red,dashed,thickness=10]>d: some other text
@enduml


[See on PlantUML online server]

If that can help,
I just updated the documentation with that.
Regards,
Th.

...