You can use Rational® Rhapsody®, that automatically
creates the Block Definition Diagrams category in
the browser, to add blocks and links to the diagrams to show relationships.
Blocks execute actions that are primitive behaviors.
Examples:
- x=x+1
- y = sin(x)^2 + cos(x)^2
- addTogether(int x, int y)
Actions might be grouped in different ways:
- As a method to start a behavior consisting of a
set of actions
- As a state machine specifying sequences of actions
to be executed when the block receives events
- As an activity diagram specifying sequences of
actions from start to completion
Blocks have three different types of properties:
- Structural properties are parts that refer
to other system elements that are required for the system to exist.
Parts have a context and, therefore, show the usage of the system
elements or blocks.
- Reference properties point to other model
elements that are not parts.
- Value properties provide system information
such as mass, length, or status, but not the target of any reference.
Values can be UML data types (integers) or SysML value types in engineering
units with additional characteristics (unit of measure and dimension).