I am trying to represent a queue in a sequence diagram. The following fails with a syntax error:
@startuml
participant foo as f
queue bar as q
participant baz as b
f -> q: Enqueue
q <- b: Dequeue
q --> b: data
@enduml
However, the following works:
@startuml
participant foo as f
entity bar as q
participant baz as b
f -> q: Enqueue
q <- b: Dequeue
q --> b: data
@enduml
I have tried 1.2017.13 and .12, and also some recent-looking beta on dropbox linked from elsewhere in the forum, all with the same result.