SysML, UAF, UML, and UPDM Profiles > SysML profile > Constraint blocks > Parametric diagrams for constraint blocks > Creating a parametric diagram for a constraint block (SysML) > Parametric diagram (SysML diagram)
  
Parametric diagram (SysML diagram)
A Parametric Diagram is defined as a restricted form of Internal Block Diagram. A Parametric Diagram can be owned by a Constraint Block or a Block:
When owned by a Constraint Block, a Parametric Diagram allows you define the internal structure of a Constraint Block through Constraint Properties and the connections between their Constraint Parameters.
When owned by a Block, a Parametric Diagram allows you to bind the Constraint Parameters of Constraint Properties to Block Properties of type Value.
Create a Parametric Diagram from a Constraint Block or Block: right-click the Constraint Block or Block, point to New, point to SysML, and then click Parametric Diagram. Note that SysML recommends that the name of the Parametric Diagram includes the type of the owning item in brackets, for example, [constraint] My Parametric Diagram or [block] My Parametric Diagram.
When you create a Parametric Diagram, Modeler adds a frame to the diagram and links that frame to the Parametric Diagram itself.
For Constraint Block owned Parametric Diagrams, you can create Constraint Properties, Constraint Parameters and Binding Connectors through the diagram's toolbar. The Binding Connectors connect Constraint Parameters with each other.
For Block owned Parametric Diagrams, you can create Block Properties, Constraint Properties, Constraint Parameters and Binding Connectors through the diagram's toolbar. In addition, you can add Block Properties to a Parametric Diagram, so that they can scope Block Properties. The Binding Connectors connect Constraint Parameters to the Block Properties.
You can drag items from an appropriate pane to the Parametric Diagram:
When valid, you can drag Constraint Properties, Constraint Parameters and Block Properties to a Parametric Diagram. Note that dragging a Constraint Parameter to a Parametric Diagram can rescope that Constraint Parameter.
When you drag a Block to a Parametric Diagram, Modeler creates a Block Property that uses the Block you dragged as its type. When you drag a Constraint Block to a Parametric Diagram, Modeler creates a Constraint Property that uses the Constraint Block you dragged as its type.
Add existing items and Binding Connectors to a Parametric Diagram through the Populate commands that are available when you right-click the diagram background, a Constraint Property, a Constraint Parameter or a Block Property. Alternatively, click the appropriate toolbar button, right-click the diagram background or within the containing item, and then click the command for the existing item you want to add.
To specify the default presentation of SysML items when they are added to a Parametric Diagram through the Default View Options: right-click the diagram background, and then click to Default View Options (Profile). After adding an item to a Parametric Diagram, you can change its presentation through the standard Modeler View Options: right-click the item, and then click View Options.
* 
When working with Parametric Diagrams, do not roll up features using the Roll Up, Roll Up Features and Roll Up Contextual Features commands.
All Parametric Diagrams are shown in the Constraint Blocks pane - expand the ParametricDiagram folder.
The Parametric Diagram is a UML Composite Structure Diagram that is stereotyped by the «ParametricDiagram» stereotype from the SysML profile.
For information about adding Requirements to a Parametric Diagram, see the SysML > Requirements section of this Help.
A Parametric Diagram shows the following items.
Binding Connector
Create a new Binding Connector through the diagram's toolbar: click the Shallow Binding Connector or Shallow Uni-Directional Binding Connector button, click the first item, and then click the second item. You can connect the following items:
A Block Property whose type is a Block to a Block Property whose type is a Block or Interface Block.
A Block Property whose type is an Interface Block to a Block Property whose type is a Block or Interface Block.
A Block Property whose type is a Value Type to a Block Property whose type is a Value Type or a Constraint Parameter.
A Constraint Parameter to a Constraint Parameter or a Block Property whose type is Value Type.
Add an existing Binding Connector to a Parametric Diagram by clicking the Shallow Binding Connector or Shallow Uni-Directional Binding Connector button on the diagram's toolbar, clicking the start item, clicking the end item, and then from the context menu clicking the Binding Connector you want to add.
To populate all Binding Connectors that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Binding Connectors.
To populate Binding Connectors that relate to a Constraint Parameter or Block Property of type Value, right-click the item, point to Populate, point to Links, and then click Binding Connectors - if Modeler needs to add missing items to show the missing Binding Connectors, those items are added to the diagram.
The view options of a Binding Connector are set through the Association entry on the View Options dialog.
Block Property
Block Properties can appear only on Block owned Parametric Diagrams.
Create new Block Properties through the Block Property button on the diagram's toolbar: click the Block Property button, and then click in free space.
Add an existing Block Property to a Parametric Diagram by dragging the Block Property from an appropriate pane to the Parametric Diagram. Alternatively, add a Block Property by clicking the Block Property button, right-clicking in free space, and then selecting a Block Property to add. Note that you can add only Block Properties that are owned by the Block that owns the Parametric Diagram.
To populate the Binding Connectors that relate to a Block Property, right-click the Block Property, point to Populate, point to Links, and then click Binding Connectors.
The view options of a Block Property are set through the Part entry on the View Options dialog.
Constraint Parameter
Create a Constraint Parameter through the Constraint Parameter button on the diagram's toolbar: click the Constraint Parameter button, and then click the appropriate Constraint Property. Alternatively, from an appropriate pane, drag the Value Type that is to type the Constraint Parameter to within the Constraint Property (not to its edge) on the diagram.
When you create a Constraint Parameter on a Constraint Property, the Constraint Parameter is created as a child of the Constraint Property's type.
For Constraint Block owned Parametric Diagrams, you can create Constraint Parameters on the diagram background to create a Constraint Parameter on the Constraint Block that owns the diagram.
To populate Constraint Parameters of a Constraint Property, right-click the Constraint Property, point to Populate, point to Links, and then click Constraint Parameters. To add a selected Constraint Parameter to a Constraint Property, click the Constraint Parameter button, right-click the Constraint Property, and then select Constraint Parameter you want to add.
To change the type of a Constraint Parameter, right-click the Constraint Parameter, point to Set, and then click Type, Type (Redefinition Only) or Type (Top Level Definition).
The view options of a Constraint Parameter are set through the Part entry on the View Options dialog.
Constraint Property
Create a Constraint Property through the Constraint Property button on the diagram's toolbar: click the Constraint Property button, and then click in free space. Alternatively, you can drag the Constraint Block that is to type the Constraint Property from an appropriate pane to free space on the diagram.
You can add existing Constraint Properties to the diagram in the following ways:
Right-click the diagram background, point to Populate, point to Nodes, and then click Constraint Properties. This adds all Constraint Properties that are directly owned by the item that owns the Parametric Diagram.
Right-click the Constraint Property, point to Populate, point to Nodes, and then click Constraint Properties.
Click the Constraint Property button, right-click in free space, and then selecting the Constraint Property you want add. This adds a selected Constraint Property that is directly owned by the item that owns the Parametric Diagram.
Drag the Constraint Property, which can be a nested Constraint Property, from an appropriate pane to the Parametric Diagram. You must use this method for adding nested Constraint Properties to the diagram.
To set up a Constraint Property as an objective function, right-click the Constraint Property, point to Links > Stereotypes, and then click objectiveFunction.
Like all other diagrams, a Parametric Diagram can show Requirements, Problems, Rationales and traceability links.
Allocate
Create new Allocate relationships through the Allocate button on the diagram's toolbar: click the Allocate button, click the item that is allocated to, and then click the item that is allocated from. If a popup menu appears, click New or select an existing Allocate relationship to add.
To populate all Allocate relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Allocates. To populate only those Allocate relationships that relate to an item on the diagram, right-click the item, point to Populate, point to Links, and then click Allocates.
Copy
Create new Copy relationships through the Copy button on the diagram's toolbar: click the Copy button, click the slave Requirement, and then click the master Requirement. If a popup menu appears, click New or select an existing Copy relationship to add.
To populate all Copy relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Copies. To populate only those Copy relationships that relate to a Requirement on the diagram, right-click the item, point to Populate, point to Links, and then click Copies.
Derive Reqt
Create new Derive Reqt relationships through the Derive Reqt button on the diagram's toolbar: click the Derive Reqt button, click the derived Requirement, and then click the Requirement from which the Requirement you first clicked is derived. If a popup menu appears, click New or select an existing Derive Reqt relationship to add.
To populate all Derive Reqt relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Derive Reqts. To populate only those Derive Reqt relationships that relate to a Requirement on the diagram, right-click the Requirement, point to Populate, point to Links, and then click Derive Reqts.
Problem
Create new Problems through the Problem Note button on the diagram's toolbar: click the Problem Note button, and then click in free space.
Rationale
Create new Rationales through the Rationale Note button on the diagram's toolbar: click the Rationale Note button, and then click in free space.
Refine (UML Standard Profile)
Create new Refine relationships through the Refine button on the diagram's toolbar: click the Refine button, click the refining item, and then click the refined item.
To populate all Refine relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Refines. To populate only those Refine relationships that relate to a Requirement on the diagram, right-click the Requirement, point to Populate, point to Links, and then click Refines.
Requirement
Create new Requirements through the Requirement button on the diagram's toolbar: click the Requirement button, and then click in free space.
To add an existing Requirement to the diagram through the Requirement button on the diagram's toolbar: click the Requirement button, right-click in free space, and then select the Requirement you want to add to the diagram.
Requirement Extension
Create new Requirement Extensions through the appropriate Requirement Extension button on the diagram's toolbar: click the appropriate Requirement Extension button, and then click in free space. The following non-normative Requirement Extension buttons are available:
Design Constraint
Extended Requirement
Functional Requirement
Interface Requirement
Performance Requirement
Physical Requirement
To add an existing Requirement Extension to the diagram: click the appropriate Requirement Extension toolbar button, right-click in free space, and then select the Requirement you want to add to the diagram.
Satisfy
Create new Satisfy relationships through the Satisfy button on the diagram's toolbar: click the Satisfy button, click the item that satisfies the Requirement, and then click the satisfied Requirement.
To populate all Satisfy relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Satisfies. To populate only those Satisfy relationships that relate to an item or Requirement on the diagram, right-click the item or Requirement, point to Populate, point to Links, and then click Satisfies.
Trace (UML Standard Profile)
Create new Trace relationships through the Trace button on the diagram's toolbar: click the Trace button, click the tracing item, and then click the traced Requirement.
To populate all Trace relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Traces. To populate only those Trace relationships that relate to an item on the diagram, right-click the item, point to Populate, point to Links, and then click Traces.
Verify
Create new Verify relationships through the Verify button on the diagram's toolbar: click the Verify button, click the item that verifies the Requirement, and then click the verified Requirement.
To populate all Verify relationships that are missing from the diagram: right-click in free space, point to Populate, point to Links, and then click Verifies. To populate only those Verify relationships that relate to an item or Requirement on the diagram, right-click the item or Requirement, point to Populate, point to Links, and then click Verifies.
The following sections provide information about how a Parametric Diagram is used in the model. For more information about a SysML item - click it.
Owned by
Block
Constraint Block
Creates or shows these items
Binding Connector
Block Property
Constraint Parameter
Constraint Property
Like all other diagrams, a Parametric Diagram can show Requirements, Problems, Rationales and traceability links:
Allocate
Copy
Derive Reqt
Problem
Rationale
Refine (UML Standard profile)
Requirement
Requirement Extensions
Satisfy
Trace (UML Standard profile)
Verify