autonumber problem with note right of

0 votes
asked Nov 20, 2018 in Bug by anonymous

Hello,

Is this a bug or as designed?

%autonumber% works with "note right" but not with "note right of".

@startuml
autonumber
Alice -> Bob : Hello {%autonumber%}
note right : %autonumber%

Alice -> Bob : Hello {%autonumber%}
note right of Bob : %autonumber%
@enduml

PlantUML diagram

In large sequence it would be useful to be able to locate notes freely.

@startuml
!pragma teoz true
autonumber
Alice -> Bob : Hello {%autonumber%}
note right : %autonumber%
& Bob -> Ken : Hello {%autonumber%}
note right : %autonumber%

Alice -> Bob : Hello {%autonumber%}
& Bob -> Ken : Hello {%autonumber%}
note right : 4 above 3?
@enduml

PlantUML diagram

 

Also minor teoz issue in last sample.

br
Hannu

1 Answer

0 votes
answered Nov 20, 2018 by plantuml (190,670 points)
Thanks for the feedback.

Definitively a bug, which is fixed in last beta http://beta.plantuml.net/plantuml.jar

We've also updated the online server with this correction:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKeiBSdFAyrDIYtYSip9J4vLqBLJSCfFKh1Iy4ZDoSbNoCzMg5P5A5AjvShBBqbLACfCpoW1AaAMuYB3XFmqa5fqWnnIyrA0ZWC0

Tell us if it's not working for you.

About the second part of your question, we'll have to read it first :-)
...