Arrow Style in Sequence Diagrams

0 votes
asked Oct 22, 2019 in Wanted features by kjw

Hi is is possible to something like the following ?

@startuml
!pragma teoz true 
skinparam useBetaStyle true
<style>
' scope to sequenceDiagram elements
sequenceDiagram {   
arrow {
    .matls {
        ' MATLS Connections
        LineColor blue
        LineStyle 4
        LineThickness 2
    }
    }
}
} 
</style> 


participant A as a
participant B as b

a<-[<<matls>>]->b:  MATLS ??
@enduml

1 Answer

0 votes
answered Apr 11 by The-Lu (49,760 points)

Hello K.,

With last version (from 1.2022.3+), we can now use style on sequence diagram, as:

@startuml
<style>
' scope to sequenceDiagram elements
sequenceDiagram {   
arrow {
    .matls {
        ' MATLS Connections
        LineColor blue
        LineStyle 4
        LineThickness 2
    }
    }
}
} 
</style> 

participant A as a
participant B as b

a<-->b <<matls>>: now MATLS!
@enduml


See also this similar request:

yes
Thanks to the PlantUML team, 

Regards.
Enjoy...

...