Rendering bug in sequence diagrams

0 votes
asked May 10, 2017 in Bug by akolbus (150 points)

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.

1 Answer

0 votes
answered May 10, 2017 by plantuml (160,740 points)
selected May 10, 2017 by akolbus
 
Best answer
Hi!

Thanks for the report.

Code for Sequence Diagram and Component Diagram is not completely shared. So queue was added only for Component Diagram.

Anyway, here is a new beta (I cannot believe the we've just published 1.2017.13 and that a new beta 1.2017.14beta1 is out!)

https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

This beta supports queue in sequence diagram. Tell us if you need some more!

Regards,
commented May 10, 2017 by akolbus (150 points)
Ah, I didn't realize that these weren't shared, that explains my trouble.  I have grabbed the beta and it is working as expected.  Thanks for the quick response!
...