Update docs

- Add uml fork/join
- Add uml initial action
- Relates to #270
This commit is contained in:
Janne Valkealahti
2016-11-24 07:38:11 +00:00
parent 5fefff4418
commit d3de91dfc2
2 changed files with 14 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@@ -2128,10 +2128,24 @@ never been active as its history has never been recorded. If state
image::images/papyrus-gs-20.png[scaledwidth="100%"]
=== Define Fork/Join
Both _Fork_ and _Join_ are represented as bars in _Papyrus_. As shown
below you need to draw one outgoing transition from `FORK` into state
`S2` which have orthogonal regions. `JOIN` is then reverse where
joined states are collected together via incoming transitions.
image::images/papyrus-gs-21.png[scaledwidth="100%"]
=== Define Actions
State entry and exit actions can be associated by using a behaviour,
more about this in <<sm-papyrus-beanref>>.
==== Initial Action
Initial action as shown in <<statemachine-config-actions>> is defined
in uml by adding action in transition leading from _Initial State_
marker into actual state. This _Action_ is then executed when state
machine is started.
=== Define Guards
Guard can be defined by first adding _Constraint_ and then defining
its _Specification_ as _OpaqueExpression_ which works in a same way