Creating links on a block definition diagram (SysML)
You can create Composition, Association, Dependency and Generalization links on a Block Definition Diagram.
For information about creating Requirement related relationships on a Block Definition Diagram, see the SysML > Requirements section of this Help.
For information about creating OVM relationships on a Block Definition Diagram, click here.
To create a composite association between blocks and constraint blocks (creates a block property of type part or a constraint property):
1. On the diagram's tab, click the
Composite Association.
2. Click the start Block or Constraint Block, and the click the end Block or Constraint Block.
Note that you cannot create a Composition from a Constraint Block to a Block.
3. If Modeler displays a context menu, click New.
4. Type the name of the Composite Association, and then press the Enter key.
5. Open the Composite Association's Property Pages, and then click the End Role tab.
6. In the In Role box, type the name of the Block Property (for composition of Blocks) or type the name of the Constraint Property (for composition of Constraint Blocks), and then press the Enter key.
To create an association between blocks (creates block property of type reference):
1. On the diagram's tab, click the
Association or
Uni-Directional Association button.
2. Click the start Block, and then click the end Block.
3. Type the name of the Association, and then press the Enter key.
4. If Modeler displays a context menu, click New.
5. Open the Composition's Property Pages, and then click the End Role tab.
6. In the In Role box, type the name of the Block Property, and then press the Enter key.
To create a composite aggregation between activities (creates a class behavior action):
When a Block Definition Diagram shows a composite aggregation between two Activities, that composite aggregation represents a call that is made through a Call Behavior Action. As such, when you create a composite aggregation between two Activities, Modeler creates a Call Behavior Action under the calling Activity. When you select the composite aggregation on the Block Definition Diagram, the Property Pages show the properties of the Call Behavior Action.
1. On the diagram's tab, click the
Composite Association button.
2. Click the calling Activity, and then click the called Activity.
3. Rename the Call Behavior Action that is created under the calling Activity.
To show an association between an activity and a block:
When a Block Definition Diagram shows an Association between an Activity and a Block, that Association represents an object node (Data Store, Central Buffer, Input Pin or Output pin) that uses the Block as its type and is owned by the Activity. As such, when you select the Association on the Block Definition Diagram, the Property Pages show the properties of the object node.
1. On the diagram's tab, click the
Uni-directional Association button.
2. Click the Activity, and then click the Block.
3. If a popup menu appears, click the command for the object node you want to show.
To create an association block link
1. On the diagram's tab, click the
Association Link button.
2. Click the Block, and then click the one-to-one Association.
To create a dependency:
1. On the diagram's tab, click the
Abstraction,
Dependency,
Interface Realization,
Realization or
Usage button.
2. Click the start item, and then click the end item.
To create a generalization:
1. On the diagram's tab, click the
Generalization button.
2. Click the sub item, and then click the super item.
The types of the source and destination items must be the same. You can link two Activities, Blocks, Constraint Blocks, Interface Blocks, Flow Specifications, Interface, Quantity Kinds, Signals, Units or Value Types (Data Type).
3. Type the name of the Generalization, and then press the Enter key.