Idea for syntax of swimlane in activity diagrams

0 votes
asked Jul 21, 2013 in Wanted features by Fuhrmanator (1,400 points)

Here's an idea I had for syntax of activity diagrams:

Declare swimlanes like it is with partitions, only they're empty:

swimlane P1
swimlane P2
swimlane P3

For the rest of the dynamics, use an "in" keyword to specify the swimlane partition:

if (multiprocessor?) then (yes) in P1
  fork  :Treatment 1; in P2

  fork again in P1
    :Treatment 2; in P3
  end fork in P1
else (monoproc) in P1
  :Treatment 1; in P1
  :Treatment 2; in P1
endif in P1

The fork syntax is a bit inconsistent, so the "in" doesn't quite make sense in this example. Anyway, it doesn't have to be "in" (maybe some symbol).

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.