Parallel hnotes in Sequence Diagrams

0 votes
asked Mar 20, 2018 in Wanted features by fred (540 points)
Hello,

With teoz, it is possible to have parallel messages.

However, this feature does not seem to work with hnotes yet.

In the diagram generated from the following code, I would like Start & Initial to be at the same level vertically (i.e., to happen in parallel on the timeline), but it currently fails with an error.

@startuml
!pragma teoz true
hnote over Alice: Start
& hnote over Bob : Waiting
@enduml

Thanks,

Fred

1 Answer

+2 votes
answered Apr 23, 2018 by Valentin
selected Apr 23, 2018 by fred
 
Best answer

Hello,

Yes it is possible using the "/" character. Have a look to the following thread: http://forum.plantuml.net/354/sequence-diagram-possibly-multiple-hnotes-vertical-level

@startuml
!pragma teoz true
/ hnote over Alice: Start
/ hnote over Bob : Waiting
@enduml

Valentin

commented Apr 23, 2018 by fred (540 points)
Thanks!

I found examples using '&', which did not work, but I missed the ones using '/'.
...