Backward in activity (beta) does not work with swim lanes

+5 votes
asked Nov 12, 2020 in Bug by Ulli

In the beta version of activity diagrams the combination of a backward reference and swim lanes does not work.

This is the combination that produces a broken diagram (the backward node flows somewhere in the middle):

@startuml

|Swimlane1|
start
repeat :foo as starting label;
  :read data;
  :generate diagrams;
|Swimlane2|
backward:This is backward;
repeat while (more data?)
|Swimlane1|

stop

@enduml


This is a working diagram (swim lanes only):

@startuml

|Swimlane1|
start
repeat :foo as starting label;
  :read data;
|Swimlane2|
  :generate diagrams;
repeat while (more data?)
|Swimlane1|

stop

@enduml

This is a working diagram (backward only):

@startuml

|Swimlane1|
start
repeat :foo as starting label;
  :read data;
  :generate diagrams;
backward:This is backward;
repeat while (more data?)
|Swimlane1|

stop

@enduml

commented May 22, 2021 by anonymous
I have hit the same issue. the backwards activity stays where it *would* be if I didn't switch to a different lane.

1 Answer

0 votes
answered May 15, 2021 by dlopezlo (140 points)
Same problem here, I tested with my plantuml latest container and from plantuml server online. Any plans to fix this shortly?

Any workarounds?

thanks,

dani
commented Sep 30, 2021 by plantuml (295,000 points)
Thanks for the feedback.

This should be fixed with last beta http://beta.plantuml.net/plantuml.jar and on the online server.

Tell us if you find other issues!
...