Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Bruno.Cossi on November 22, 2003, 09:03:54 am

Title: Swimlanes
Post by: Bruno.Cossi on November 22, 2003, 09:03:54 am
Hi,

I would like the swimlanes in the activity diagram to be more than just a set of lines... first of all, I would like them to behave like a boundary, i.e. when I move/resize a swimlane, all the objects in it move with it.
Also, if I have specified a classifier for a swimlane (in my case typically an actor), would it be possible to automatically create an association between the classifier (actor) and the objects in the swimlane?
That would save a lot of work and help to bring the relationship matrix to a new dimension!

Thanks,
Bruno
Title: Re: Swimlanes
Post by: skiwi on July 21, 2015, 09:02:02 am
Quote
I would like the swimlanes in the activity diagram to be more than just a set of lines... first of all, I would like them to behave like a boundary, i.e. when I move/resize a swimlane, all the objects in it move with it.
+1
Title: Re: Swimlanes
Post by: Graham_Moir on August 18, 2015, 07:12:42 pm
Quote
Hi,

I would like the swimlanes in the activity diagram to be more than just a set of lines... first of all, I would like them to behave like a boundary, i.e. when I move/resize a swimlane, all the objects in it move with it.
Also, if I have specified a classifier for a swimlane (in my case typically an actor), would it be possible to automatically create an association between the classifier (actor) and the objects in the swimlane?
That would save a lot of work

+1
Title: Re: Swimlanes
Post by: Uffe on August 19, 2015, 12:54:25 am
Quote
Hi,

I would like the swimlanes in the activity diagram to be more than just a set of lines... first of all, I would like them to behave like a boundary, i.e. when I move/resize a swimlane, all the objects in it move with it.
Also, if I have specified a classifier for a swimlane (in my case typically an actor), would it be possible to automatically create an association between the classifier (actor) and the objects in the swimlane?
That would save a lot of work and help to bring the relationship matrix to a new dimension!

Thanks,
Bruno
Hi Bruno,


First off, 1 on the move/resize thing.

Part of what you describe can be achieved by using partitions instead of swimlanes. Not the exact same thing, but in the same sort of area. Partitions are instance-type elements (like Objects), so they can also be assigned a classifier.

Regarding the automatic association creation, well yes and no. You could write a script which does this on request, but I don't believe the assignment of a classifier to a swimlane triggers any Add-In event, so you can't write an Add-In to do it automatically. With partitions, since they are proper model elements, I'm pretty sure you could.

Cheers,


/Uffe