Please provide a way to set arrow thickness on component diagrams

0 votes
asked Sep 7, 2017 in Closed feature request by boshka (3,960 points)
edited Sep 27, 2017 by boshka

Please provide a way to set arrow thickness on component diagrams.


"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)"

Additionally, the latest beta incorrectly displayes interfaces (see attached):

1 Answer

0 votes
answered Sep 8, 2017 by plantuml (295,800 points)
selected Mar 21, 2018 by Anthony-Gaudino
 
Best answer

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 ?

commented Sep 8, 2017 by boshka (3,960 points)
Thankyou! Is it also possible to set thickness per link?
for example, as
a -[thicknessA]-> b
c -[thicknessC]-> b
commented Sep 8, 2017 by boshka (3,960 points)
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)
commented Sep 15, 2017 by nikhil (520 points)
arrowThikness does not work with class diagrams. Any alternative to this for class diagram?
commented Sep 15, 2017 by plantuml (295,800 points)
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.
commented Sep 19, 2017 by nikhil (520 points)
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.
commented Sep 21, 2017 by nikhil (520 points)
commented Sep 26, 2017 by boshka (3,960 points)
edited Sep 27, 2017 by boshka
Here is the snippet with the bad arrow tips:

component a
component b

a-[thickness=8]>b
b-[dashed,thickness=8]>a

ADDITIONALLY, noticed that the last beta incorrectly displayes interfaces (see, attached to the ticket)
commented Sep 27, 2017 by plantuml (295,800 points)
This should be ok now:
http://www.plantuml.com/plantuml/uml/IyxFBSZFIyqhKKZaIeQpaxYu4dMZIp8oaxFpKekBRIrYxPAuadIZKnABCr9JT50a4W40

We are interested by the issue about interface display. But we cannot find any ticket about this. Could you create one please ? Thanks!
commented Sep 28, 2017 by boshka (3,960 points)
Hi!

i see that arrow tips are still bad: http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKhEpot8pqlDAr58H68d8R5JkBWITQDBCZAJi_DIYujjZGnYxPAi58hpSrCLIb8hIhYITADJ4eipKbDqK1MbG1NbbsIa5a6KEgJcfG1j1G00

re: interface display: i meant I attached the image to this ticket (see above)
commented Sep 28, 2017 by plantuml (295,800 points)
About interface, can you post the text of your diagram above ? Thanks
commented Sep 29, 2017 by plantuml (295,800 points)
Well, you cannot define two elements with the same name, so you should use

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuIfAJIv9p4lFILLGSbHII2nMS5Ievk9KK4n9JSlCIrLmSNMBDmIHddwU8Px-VeP0kUJCecIGUaEmUh0ABZGjHaXQZ92q6C6r677LSZcavgK0tG00

Your last example does not crash but it does not really work : the second interface is simply overriding the first one.
commented Oct 3, 2017 by boshka (3,960 points)
edited Oct 4, 2017 by boshka
if it does not crash for "interface" why should it for "circle"? In my case it is ok that it overrides. I just need the "circle" to work the same way as "interface" example and not crash. Could you do that?
commented Oct 4, 2017 by plantuml (295,800 points)
Sure!
This is fixed in last beta https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0
Tell us if you find other issues, thanks!
...