Align activity in swimlane following a conditional statement

0 votes
asked Feb 1 in Question / help by itsimd (120 points)

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? 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...