I am trying to create an activity-diagram using multiple swimlanes.
Unfortunately, some connections are missing when using ifelse which else pointing to another swimlane.
This includes the connection between else in Swimlane A to a step in Swimlane B, what has already been pointed in a comment (https://forum.plantuml.net/11184/ifelse-and-swimlanes-seems-to-break-logic?show=14665#c14665).
Further, I am not able to connect last item in Swimlane B to stop in Swimlane A (which is not that important but may be related).
The following diagram shows both issues and as well as a "workaround" using a hidden element.
(https://www.plantuml.com/plantuml/uml/jP31JiCm38RlVWfh5xR3gE3OJMXZZm0luBNk6f4uLU8mLMplJWX8Kzak78YIW_qxzlzv4vM29cVXhbSTObrLWoNvojmttbNKg7atEYvRGuT0Rhbd9LX77Iq_mP3_6ZLUy0CGhH7UUUj3ZHf8ObPPD0jxQjuEmITfY_nBxRpeTVuCw-fd2fnUZiPP4iRj2UgZqHwJSCCnKXYHBJiMZIieB60wdE-yjD_67XQeFGlEDIHU069KFm3RoDEwnrjrgrA8yuviBCaByEorDn7plJYPbIsSyxiOVZxbi6uzaepQ6pci9lAsoDUjyk1ih8DYDfy2xPFUvfxq-_yb_8LkWh79KN8MFW40)
@startuml
'https://plantuml.com/activity-diagram-beta
<style>
partition {
lineColor: transparent
backgroundColor transparent
fontColor transparent
}
</style>
|Swimlane A|
:with unecessary elements;
start
if (Condition 1) then (true)
stop
elseif (Condition 2) then (true)
stop;
else (false)
partition "This is unecessary" {
}
|Swimlane B|
:do anything;
|Swimlane A|
:This is unecessary;
endif
stop
:without unecessary elements;
|Swimlane A|
start
if (Condition 1) then (true)
stop
elseif (Condition 2) then (true)
stop;
else (false)
|Swimlane B|
:do anything;
|Swimlane A|
endif
stop
@enduml