[Style][Sequence] Allow LineStyle for arrow, on sequence diagram

+4 votes
asked Mar 9, 2022 in Wanted features by The-Lu (89,080 points)

Hello PlantUML team,

  • Could you allow LineStyle for arrow, on sequence diagram?

Here is an example:

CodeOutput
@startuml
<style>
arrow {
  LineStyle 10
  LineColor red
  FontColor blue
}
</style>
alice ->  bob : msg
alice --> bob : msg
@enduml

Regards,
Th.

1 Answer

0 votes
answered Oct 19, 2024 by The-Lu (89,080 points)
selected Oct 20, 2024 by The-Lu
 
Best answer

Hi,

The plantuml/plantuml@64ea232 commit may fix it... (for the v1.2024.8)

Thank to @plantuml, and to PlantUML team,
Regards,
Th.

commented Oct 19, 2024 by kirchsth (7,760 points)

I tested "v1.2024.8 beta5" in C4-PlantUML and both possibilities are working:
definition via 
1) `<style> arrow { LineStyle 10 ....`
2) and even via 'skinparam arrowColor ;line.dotted' that I is compatible with the old syntax  

Thank you for the fix
BR Helmut

PS.: special thanks for the skinparam, so no source code changes was required on C4-Stdlib side. 

...