Parallel hnotes in Sequence Diagrams

0 votes
asked Mar 20 in Wanted features by fred (920 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 by Valentin
selected Apr 23 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 by fred (920 points)
Thanks!

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