SysMLv1: MagicDraw/Cameo: Automated creation of usage-level allocation swimlanes in SysML Activity Diagrams for part properties of a Block. EXAMPLE: A UseCase scenario within a SystemContext as UseCase ‘subject’.

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
UML keywords
SysMLv1.x keywords
Keywords
Click on the image to view it full size

In the example shown, SC is a SystemContext that owns and is the 'subject' of a UseCase UC_SC. The SystemContext SC has part properties for the block-based «actor» and the SoI System (of Interest).

On creation of swimlanes the tool will prompt to create part properties for each allocation swimlane.

CAUTION: It’s up to you to check that the order is correct!

If you need to reorder them it's easy, just click on the header of a swimlane and little re-order arrows appears on each side.

One common convention is to have (here as part properties :User and :SoI) the actor on the left, and the System (or the relevant target) immediately right of that.

Make sure you have the Allocation Mode mode selected as :User mode under the Project Options for SysML, which you can check using the context menu under any swimlane.

Slight GOTCHA: If you instead have the the Allocation Mode set to Definition mode under the Project Options for SysML, the tool will assign part properties to the swimlanes, but the allocation mode for each swimlane will be Definition mode, which is a dis-connect.

That is easily fixed using the context menu on any swimlane (the change will apply to all swimlanes).

The automated part property allocation feature works for any Block, not just a SystemContext; it's up to you to manage the relationship to any UseCase and what its 'subject' is. The MagicGrid approach is to use a particular SystemContext as the 'subject' of each top- level UseCase, which is a good fit for this tool feature and works well with the part properties of the IBD for that SystemContext.

Please visit also: And a wider related discussion:
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)