Line without an arrow or ending

+1 vote
asked Jan 19, 2020 in Wanted features by g.edward.roberts (480 points)

there a lot of ending for sequence diagram... 

@startuml
Bob ->x Alice
Bob -> Alice
Bob ->> Alice
Bob -\ Alice
Bob \\- Alice
Bob //-- Alice
Bob ->o Alice
Bob o\\-- Alice
Bob <-> Alice
Bob <->o Alice
@enduml

but one is missing... one without any endings...

commented Dec 6, 2022 by Marcel
-- would work for me
:Step 1;
->o text to arrow;
:Step 2;
does not work either.
commented Dec 6, 2022 by The-Lu (89,080 points)

Hello M.,

Yes.... but... FYI: All arrow are not possible on all the diagram type...

`--` is not allowed on sequence diagram, only for the other diagrams!

Compare:

@startuml
participant a
a -- b
@enduml

VS

@startuml
a -- b
@enduml

Same think for `->o`, but on the other hand!:

Compare:

@startuml
a -->o b
@enduml

VS

@startuml
:a;
->o arrow;
:b;
@enduml

Enjoy.
Regards.

1 Answer

0 votes
answered Dec 6, 2022 by ed
Well... if I remember why I wrote this... (it was a long time ago)... it is because it indeed is missing in Sequence Diagrams... if I remember correctly it was because I want to tie a time observation into the diagram... look at fig. 8.1 in the UML 2.5.1 spec
...