Activity Beta: Partitions and swimlanes

0 votes
asked Apr 23, 2015 in To be sorted by anonymous
I would like to have two activities (A and C) in a partition in one swimlane and a activity B in another swimlane. B is not in a partition. I would like the flow to go from A to B to C.  

How can this be done?  It's similar to example in 4.9 in the non-beta-activity documentation.

1 Answer

0 votes
answered Apr 24, 2015 by plantuml (298,440 points)

Currently, mixing partitions and swimlanes give sometimes strange result.

You want something like:

@startuml
|swinlane1|
partition partion1 {
:A;
}
|swinlane2|
:B;
|swinlane1|
partition partion1 {
:C;
}
@enduml

Is this close of what you are expecting ?

commented Apr 24, 2015 by anonymous
That the general idea.  I was hoping that instead of two partition blocks each named partition1 that there would be one block containing A and C. The example in section 4.9 of the documentation is closer to what I want. The 'Conductor' partition has three activitiy and a couple of synchronization things within it but the flow does leave the partition and goes to the 'applauds' activity and the returns to the 'Conductor' partition.

In effect, I'm asking how to generate the 4.9 example using the Beta syntax.
...