Arrow Styles

0 votes
asked Nov 6, 2014 in Wanted features by anonymous
Hi,

How can we change arrow colors and style (dotted, solid) based on certain conditions in the State diagram.

Thanks,

Saumitt

1 Answer

+1 vote
answered Oct 26, 2017 by anonymous

Find in a other answer !
Tested, it's work

@startuml
State S1
State S2
S1 -[#DD00AA]-> S2
S1 -left[#yellow]-> S3
S1 -up[#red,dashed]-> S4
S1 -right[dotted,#blue]-> S5

X1 -[dashed]-> X2
Z1 -[dotted]-> Z2
Y1 -[#blue,bold]-> Y2
@enduml

...