Adding existing items to a block definition diagram (SysML)
You can add items to a Block Definition Diagram in the following ways:
• By dragging an item to the diagram.
• Through the diagram's toolbar buttons.
• Through the populate commands, which add items that are in the same Package as the Block Definition Diagram.
For information about adding OVM items to a Block Definition Diagram, click here.
To add an existing activity, actor, block, constraint block, flow specification, interface, interface block, package, quantity kind, signal, unit or value type:
1. Open the Block Definition Diagram.
2. Locate the item you want to add in an appropriate pane.
3. Drag the item from the appropriate pane to the Block Definition Diagram.
Alternatively,
1. Open the Block Definition Diagram.
2. On the diagram's toolbar, click the Activity, Actor, Block, Constraint Block, Flow Specification, Interface, Interface Block, Package, Quantity Kind, Signal, Unit or Value Type button.
3. On the Block Definition Diagram, right-click in free space.
4. Select the item you want to add, and then click OK.
To add an existing item flow link:
1. Open the Block Definition Diagram.
2. On the diagram's toolbar, click the Item Flow Link button.
3. Click the source Block or Interface Block, and then click the target Block or Interface Block.
4. From the context menu, click the command for the Item Flow link you want to add.
You can convert an IO Flow to an Item Flow, assuming that the Source item, Target item and IO Item are valid to do so: right-click the IO Flow, point to Convert To, and then click Item Flow.
To add an existing item flow realization:
1. Open the Block Definition Diagram.
2. On the diagram's toolbar, click the Item Flow Realization button.
3. Right-click the Association that realizes the Item Flow.
4. From the context menu, click the command for the Item Flow you want to add.
You can convert an IO Flow to an Item Flow, assuming that the Source item, Target item and IO Item are valid to do so: right-click the IO Flow, point to Convert To, and then click Item Flow.
To populate activities, actors, blocks, constraint blocks, flow specifications, interfaces, interface blocks, packages, quantity kinds, signals, units or value types:
1. Open the Block Definition Diagram.
2. Right-click in free space, point to Populate, point to Nodes, and then click Activities, Actors, Blocks, Constraint Blocks, Flow Specifications, Interfaces, Interface Blocks, Packages, Quantity Kinds, Signals, Units or Value Types.
Modeler adds to the diagram, items of the selected type that are in the same Package as the diagram.
3. Drag each new symbol to the required position on the diagram.
To populate item flows links:
1. Open the Block Definition Diagram.
2. Right-click the diagram background, or Block or Interface Block that is the source or target of the Item Flow link, point to Populate, point to Links, and then click Item Flow Links.
To populate item flows realizations:
1. Open the Block Definition Diagram.
2. Right-click the diagram background or Association that realizes the missing Item Flows, point to Populate, point to Nodes, and then click Item Flows.
3. Drag each Item Flow to the required position on the Association.