I have the following MWE of an activity diagram with two swimlanes. The activity that follows a conditional statment should take place in another swimlane.
@startuml
|Lane1|
|Lane2|
|Lane1|
:Do A;
|Lane2|
:Act on it;
if (act successful) is (no) then
|Lane1|
:Do B;
detach
else (yes)
|Lane2|
:wrap up;
detach
endif
As seen, the "Do B" node in Lane1 is left aligned. Is there any way to force it to be center aligned or aligned with the node above it?