Align activity in swimlane following a conditional statement

+1 vote
asked Feb 1, 2024 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? 

1 Answer

0 votes
answered Mar 8, 2025 by dickmaley (4,160 points)
My testing confirms this is still a problem.
commented Mar 10, 2025 by The-Lu (89,080 points)

Hello D.,

If it is still a problem:

  • Could you just put a comment and not an answer?

[To simpler issue tracking]

Regards,
Th.

...