Main Content

Allocate Activity Diagram Elements to Architecture Model Components

An allocation establishes a directed relationship from architectural elements — components, ports, and connectors — in one model to architectural elements in another model.. You can use model-to-model allocations to establish relationships from activity diagram elements to architecture model components.

For more information on allocations in System Composer™, see Create and Manage Allocations Interactively.

This topic shows how to use allocations within activity diagrams. The example shows a functional flow diagram for modeling a mobile robot architecture that travels between a randomized starting point and destination.

Open Model

Open the example.

openExample('systemcomposer/OpenActivityDiagramForRobotExample');

Open the project.

openProject("scMobileRobotExample");

For more information on this example, see Author Activity Diagrams.

Create and Manage Allocations

To launch the Allocation Editor, navigate to Modeling > Allocation Editor.

In the Allocation Set Browser, pane, under the DiagramToModel allocation set, select Scenario 1. Double-click the boxes in the allocation matrix to allocate or deallocate two elements.

For example, the Error out node of the RobotActivity activity diagram is allocated to the Alignment Algorithm component of the scMobileRobotLogicalArchitecture architecture model.

activity diagram allocations

See Also

Functions

Tools

Blocks

Topics