I'm using plantUML swimlanes to visualize internal processes but unfortunately encounter overlapping lines when I want to display processes that are executed and detach.
I'm using this:
@startuml
title something
|#dee4e8|p1|
|#c4c9cd|p2|
|#daf0fe|Backend|
|Backend|
start
:something;
if (open) then (yes)
:generate open data;
split
#3f3:Mail to p1\nMAIL ID: **3010**|
|p1|
:Receive Mail **3010**;
detach
split again
|Backend|
#3f3:Mail to p2\nMAIL ID: **3006**|
|p2|
:Receive Mail **3006**;
detach
end split
endif
|Backend|
#HotPink:something else>
stop
@enduml
I would like to have a non overlapping connection to the receive mail activity that i more looks like if I add an empty activity before sending the second mail:
It's also possible to do this in a sequence but I don't have a clue how I can detach the receive Mail activities and connect the "Mail to p1 / p2" with each other without making it an if statement.