Prev | Next |
Block Element Compartments
SysML elements such as Blocks and Constraint Blocks can use compartments to display child or related elements. These compartments can assist in easily identifying different types of properties owned by a Block, to see what Requirements a Block satisfies, or to see how different types are related to each other.
You can show or hide these compartments using the
- 'Compartment Visibility' dialog (press on the parent element on a diagram) or
- 'Compartments' tab of the docked Properties window for diagrams ( ) or
- 'Diagram Properties' dialog, 'Element' page ('Design > Diagram > Edit > Properties > Elements' ribbon option)
Compartments that display child elements will be visible by default, whereas compartments that display related elements (elements linked by connectors) are hidden by default.
Elements will only appear in compartments if they do not also appear as elements on the diagram. Also, a compartment will only be displayed if at least one matching element exists for it. So, for example, the 'flowport' compartment will not be displayed unless the parent owns at least one Port that has a «flowPort» stereotype and is not on the diagram. If a compartment is not listed, it may be necessary to locate and remove from the diagram any related or child elements, save the diagram, and reload the diagram to refresh the compartment list.
The table SysML Block Child Element Compartments provides a list of compartments, including which element/connector types are required for them to be displayed.
SysML Block child element compartments
These compartments are displayed according to the child elements of the Block.
Compartment Name |
Child Element Types Listed |
---|---|
adjunct |
Parts with the «AdjunctProperty» stereotype. |
bound reference |
Parts with the «BoundReference» stereotype. |
classifier behavior |
The behavioral classifier (Interaction, StateMachine or Activity) if set. |
constraints |
Parts with the «constraintProperty» stereotype. |
flow ports |
Ports with the «flowPort» stereotype. |
flow properties |
Parts with the «flowProperty» stereotype. |
full ports |
Ports with the «fullPort» stereotype. |
owned behaviors |
Behavioral elements (Interactions, StateMachines and Activities) owned by this block. |
participants |
Parts with the «participantProperty» stereotype. |
parts |
Properties created by adding a Part Association connector between blocks. |
ports |
Any other Ports not listed in the previous compartments. |
properties |
Parts without a stereotype. |
proxy ports |
Ports with the «proxyPort» stereotype. |
references |
Parts for which the isReference Tagged Value is set to true. |
values |
Parts that are typed by a «valueType» element. |
«stereotype» |
Parts with stereotypes other than those identified above. |
directed features |
Parts with the «DirectedFeature» stereotype. |
SysML Block related element compartments
These compartments are displayed based on the relationships between a Block and other elements.
Compartment Name |
Object Displayed |
---|---|
allocatedFrom |
Source of a connector with the «allocate» stereotype. |
allocatedTo |
Target of a connector with the «allocate» stereotype. |
refines |
Target of a connector with the «refines» stereotype. |
satisfies |
The target of a connector with the «satisfy» stereotype. |
tracedFrom |
Target of a connector with the «trace» stereotype. |
verifies |
The target of a connector with the «verify» stereotype. |
SysML Constraint Block element compartments
In addition to the compartments that a Block element can display, a Constraint Block can also display:
Compartment Name |
Child Element Types Listed |
---|---|
parameters |
Any Part that does not have the «constraintProperty» stereotype. |
Learn more