Contents
1 General............................................................................................................................................. 4
1.1 Overview...................................................................................................................................4
1.2 License...................................................................................................................................... 4
1.3 Versions.....................................................................................................................................4
1.4 Contact...................................................................................................................................... 4
2 Basics................................................................................................................................................5
2.1 States.........................................................................................................................................5
2.2 Pseudo states............................................................................................................................. 5
2.3 Transitions.................................................................................................................................5
2.3.1 Regular transitions............................................................................................................ 5
2.3.2 Internal transitions.............................................................................................................6
2.3.3 Trigger text........................................................................................................................ 6
2.4 Activities and actions................................................................................................................ 7
2.4.1 General.............................................................................................................................. 7
2.4.2 Transition behavior........................................................................................................... 7
2.5 States.........................................................................................................................................8
2.5.1 Naming rules..................................................................................................................... 8
2.5.2 Regions..............................................................................................................................8
2.6 Entry and exit points................................................................................................................. 9
2.7 Model modularization and reuse.............................................................................................10
3 Editor.............................................................................................................................................. 12
3.1 Overview.................................................................................................................................12
3.2 Using the editor.......................................................................................................................13
3.2.1 Context menus.................................................................................................................13
3.2.2 Creating objects...............................................................................................................13
3.2.3 Resizing objects.............................................................................................................. 13
3.2.4 Moving objects................................................................................................................14
3.2.5 Editing text......................................................................................................................14
3.2.6 Importing models............................................................................................................14
3.2.7 Complex states................................................................................................................ 15
3.2.8 Transitions.......................................................................................................................15
3.2.8.1 Create transitions.....................................................................................................15
3.2.8.2 Edit transitions.........................................................................................................17
3.2.9 Deleting objects...............................................................................................................18
3.2.10 Copy and paste.............................................................................................................. 19
3.2.11 Making changes undone................................................................................................21
3.2.12 Comments..................................................................................................................... 21
3.3 Expressions............................................................................................................................. 21
3.3.1 General............................................................................................................................ 21
3.3.2 Operators.........................................................................................................................22
3.3.3 Data types........................................................................................................................22
3.4 Error recognition.....................................................................................................................22
3.4.1 Syntax errors...................................................................................................................22
3.4.2 Logical errors.................................................................................................................. 23
3.5 Localization............................................................................................................................ 24
4 Code-generator............................................................................................................................... 25
4.1 Overview.................................................................................................................................25
4.2 Example model....................................................................................................................... 25
SU-statemodeler 3.0/2.2.0
Christian Pauli
2