Deployment-diagram shall support coloring and orientation of a link in any order

0 votes
asked Oct 28, 2022 in Bug by Philip

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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...