note right breaks split in Activity-beta

0 votes
asked Dec 17, 2018 in Bug by aho (160 points)
edited Dec 18, 2018 by aho
Hi,

I'd like to report a bug.

Using "note" on the first element of a split, breaks the layout, see

http://www.plantuml.com/plantuml/uml/7Or13i8m30JlViL-0OxqKfxYKDDQAawKB8BdD_BDtbtDh8FQ-VsSaeUCTZhbKRJV5ebAaoUA4_KDsf_ORBow5uyTlqE9Grkp66An8US9WExgaPZxabt6qr6RhFEVmWi0

Using "note right" on the last element in a split breaks the layout, too, see

http://www.plantuml.com/plantuml/png/9Or13i8m40Fl-mf_0OxqKfwoeI5PgMoYh14ydvBUPYpPNeCw-7xjCa6YxqQv9HsNvHHeKVCPNHVnnenXfLBkI4Qq9vY_n9RZCIoP5tog4bLxpnwIVSE_DE5S3xOkw-77xGy0

Code:

@startuml
start
split
:bar1;
note
A bit of text describing what happens
end note
split again
:bar2;
end split
stop
@enduml

and

@startuml
start
split
:bar1;
split again
:bar2;
note right
A bit of text describing what happens
end note
end split
stop
@enduml

Tested with version 1.2018.14beta13.

Regards
commented Dec 18, 2018 by albert (3,520 points)
Latest beta is a bit of a moving target, could you mention the beta version ( -version  option)?
commented Dec 18, 2018 by aho (160 points)
Sorry, didn't know about this.

Version is
PlantUML version 1.2018.14beta13

1 Answer

0 votes
answered Dec 19, 2018 by plantuml (295,000 points)
No problem : beta is indeed an endless run :-)

Anyway, thanks for the report.
This should be fixed in last beta http://beta.plantuml.net/plantuml.jar (that is PlantUML version 1.2018.14beta15 right now)
Tell us if it's not working for you!
...