I'm not sure if it an implementation or documentation bug:
In an activity I can write the coloring and orientation of a link in any order:
@startuml
(*) -up-> "First Activity"
-right[#0000FF]-> "Second Activity"
-[#0000FF]down-> "Third Activity"
-left-> (*)
@enduml
In a deployment-diagram I have to write the coloring and orientation of a link in special order:
Works:
@startuml
node foo
title Bracketed line style without label
foo --> bar
foo -[bold]left-> bar1
foo -[dashed]-> bar2
foo -[dotted]-> bar3
foo -[hidden]-> bar4
foo -[plain]-> bar5
@enduml
Does not work:
@startuml
node foo
title Bracketed line style without label
foo --> bar
foo -left[bold]-> bar1
foo -[dashed]-> bar2
foo -[dotted]-> bar3
foo -[hidden]-> bar4
foo -[plain]-> bar5
@enduml
It would be cool to have such an example even in the documentation and maybe a solution that both are supported.