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.

can i set arrow thickness on a component diagram?

0 votes

Could you please fix the defects, mentioned in the latest comment?

 

That is:

 

"additionally, in the last beta:
- arrowThickness does not work correctly for dashed lines (dashed become solid).
- arrowThickness does not affect arrow tips ( those does not resize)"

asked Sep 7 in bug by boshka (1,150 points)
edited Sep 12 by boshka

1 Answer

0 votes

Not possible with the last version.

However, with the last beta :

https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

You can have:

@startuml
skinparam arrowThickness 4
component c1
component c2
c1 --> c2
@enduml


Is this what you are expecting ?

answered Sep 8 by plantuml (126,850 points)
Thankyou! Is it also possible to set thickness per link?
for example, as
a -[thicknessA]-> b
c -[thicknessC]-> b
additionally, in the last beta:
- arrowThickness does not work correctly for dashed lines (dashed become solid).
- arrowThickness does not affect arrow tips ( those does not resize)
arrowThikness does not work with class diagrams. Any alternative to this for class diagram?
With last beta:
https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
The following example is now working:
@startuml
skinparam arrowThickness 4
class c1
class c2
class c3
c1 -[dotted]-> c2
c1 -[dashed,thickness=2]-> c3
@enduml

To boshka, can you provide a snippet showing the arrow tips ?
To n.naoghare, be careful: the name is arrowThickness (and not arrowThikness) and this is working only with last beta.
Thanks team,
Yes I understand it is "arrowThickness" it was a typo. However, till when we can expect to use this fix on the plantuml online server? It is not working on plantuml server.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...