Page History
Panel | ||||
---|---|---|---|---|
| ||||
Responsible: Formerly Responsible / Previous Projects:
Related Theses: |
...
Pattern | Usage | Description | Example | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Sets the synthesis option identified by <key> to the given value. The available synthesis options for a diagram are displayed in the sidebar of the diagram view. The values from the sidebar will be ignored if a corresponding annotation is present. |
| ||||||||||||||||||||||||||||||
|
| Sets the layout property identified by <key> to the given value on the annotated element. The available layout options are documented here. Layout options will only affect the annotated element and no underlying hierarchy levels. If a layout direction is specified with this annotation it overrides the layout direction set by HV-/VH-Layout in any parent element for this element. Special case: If the direction is set on the scchart element (top level) it overrides the default alternating layout.
|
| ||||||||||||||||||||||||||||||
|
| Defines the order of the alternating layout directions. The annotation can be mixed and nested in the SCChart and will only affect succeeding hierarchy levels. The default is an implicit HVLayout starting at the top level state. |
| ||||||||||||||||||||||||||||||
|
| The annotated region will be initially collapse or expanded. |
| ||||||||||||||||||||||||||||||
|
| The annotated element will be excluded from the diagram. Transitions with a hidden source or target state will be hidden as well. |
|
Arithmetic Operators
The following briefly describes the operators for expressions.
Assignment Operator | Description | Example |
---|---|---|
= | Assignment operator | x = 42 |
Arithmetic Operators | Description | Example |
---|---|---|
+ | Addition | 2 + 1 |
- | Subtraction | 2 - 1 |
* | Multiplication | 3 * 2 |
: | Division | 6 / 2 |
Unary Operator | Description | Example |
---|---|---|
+ | Indicate a positive number | +2 |
- | Negate a number | -2 |
++ | Increment | x++ |
-- | Decrement | -- |
Boolean Operator | Description | Example |
---|---|---|
! | Negate a boolean value | ! (x == 2) |
== | Equal to | x == 2 |
!= | Not equal to | x != 2 |
> | Greater than | x > 2 |
>= | Greather than or equal to | x >= 2 |
< | Less than | x < 2 |
<= | Less than or equal to | x <= 2 |
&& | Conditional-AND | x > 0 && x < 9 |
|| | Conditional-OR | x < 0 || x > 9 |