Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ide_model [2020/06/10 18:16] – [Modeling Canvas] admin | ide_model [2024/01/02 19:37] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 35: | Line 35: | ||
The mini buttons in tool pallet are divided into three groups: | The mini buttons in tool pallet are divided into three groups: | ||
* ★ edit / move states/ | * ★ edit / move states/ | ||
- | * ☆ mark / select states/ | ||
* O add states and transitions | * O add states and transitions | ||
+ | * ☆ mark / select states/ | ||
- | You will also notice that the background for the modeling canvas changes for each model: white, blueish and pinkish. | + | You will also notice that the background for the modeling canvas changes for each mode: white, blueish and pinkish. |
=== Creating New States === | === Creating New States === | ||
Line 80: | Line 80: | ||
---- | ---- | ||
==== Context Menus ==== | ==== Context Menus ==== | ||
- | //States and Transitions// | + | //States and Transitions// |
Menu items has hover title describing the action for the menu item. | Menu items has hover title describing the action for the menu item. | ||
Line 90: | Line 90: | ||
* toggle breakpoint, | * toggle breakpoint, | ||
* highlight incoming and outgoing transitions with different color and auto re-route all incoming and outgoing transitions. | * highlight incoming and outgoing transitions with different color and auto re-route all incoming and outgoing transitions. | ||
+ | * open trigger (script) | ||
{{wiki: | {{wiki: | ||
Line 100: | Line 101: | ||
* re-route transition | * re-route transition | ||
* change source and/or target states | * change source and/or target states | ||
+ | * open trigger (script) | ||
{{wiki: | {{wiki: | ||
Line 129: | Line 131: | ||
* State ID - required, a unique identifier assigned to the state in the model | * State ID - required, a unique identifier assigned to the state in the model | ||
* Description - a freetext description | * Description - a freetext description | ||
- | * Sub Model - sub-model attached to the state | + | * Sub Model Name - sub-model attached to this state |
- | * Color* - background color, custom class, or css style in json, e.g. {" | + | * Data Set - data set attached to this state |
- | * Text Color* - state label color, custom class, or css style in json, e.g. {" | + | * State Color/Style: |
+ | * Background* - background color, custom class, or css style in json, e.g. {" | ||
+ | * Label* - state label color, custom class, or css style in json, e.g. {" | ||
* Activate Type - condition when state is activated. Concurrent Model only. | * Activate Type - condition when state is activated. Concurrent Model only. | ||
* Traversal Count - count of incoming transition traversals has reached the threshold | * Traversal Count - count of incoming transition traversals has reached the threshold | ||
Line 152: | Line 156: | ||
* Hide Name - not to display transition name on model and graphs | * Hide Name - not to display transition name on model and graphs | ||
* Description - a freetext description | * Description - a freetext description | ||
- | * Color - transition line segment color, custom class name, or css style in json, {" | + | * Transition |
- | * Text Color* - transition label color, custom class name, or css style in json, e.g. {" | + | * Line - transition line segment color, custom class name, or css style in json, {" |
+ | * Label* - transition label color, custom class name, or css style in json, e.g. {" | ||
* Weight - weight (importance), | * Weight - weight (importance), | ||
+ | * Data Set - data set attached to this state | ||
* Traversal Required - minimum number of times the transitions must be traversed. Default 1. Set it to 0 for transitions are required to be traversed (tested). | * Traversal Required - minimum number of times the transitions must be traversed. Default 1. Set it to 0 for transitions are required to be traversed (tested). | ||
* Guard - boolean expression, transition can not be traversed until this condition evaluates to true | * Guard - boolean expression, transition can not be traversed until this condition evaluates to true | ||
Line 194: | Line 200: | ||
==== Model Execution ==== | ==== Model Execution ==== | ||
There are three ways to execute the models: | There are three ways to execute the models: | ||
- | * run - normal execution of the model | + | |
+ | | ||
* debug - step through the model to debug | * debug - step through the model to debug | ||
* play - visualize model execution synchronized with AUT / target process | * play - visualize model execution synchronized with AUT / target process | ||
- | This can be accomplished with the shortcut buttons: {{wiki: | + | This can be accomplished with the shortcut buttons: |
- | * Run | + | |
- | * Stop | + | * {{wiki:idescreen: |
- | * Pause | + | * {{wiki: |
- | * Step Over | + | * {{wiki: |
- | * Debug - run and pause on initial state | + | * {{wiki: |
- | * Play | + | * {{wiki: |
+ | * {{wiki: | ||
+ | * {{wiki: | ||
Model execution can be monitored with [[ide_monitor | Execution Monitor ]]. | Model execution can be monitored with [[ide_monitor | Execution Monitor ]]. | ||
Line 210: | Line 219: | ||
---- | ---- | ||
====Log Files ==== | ====Log Files ==== | ||
- | There are two types of log files, they can be accessed via {{wiki: | + | There are two types of log files, they can be accessed via {{wiki: |
* Model Log - log messages written out by your script using // | * Model Log - log messages written out by your script using // | ||
* Server Log - System log messages and errors, it only shows the message for the current model execution. Can also be accessed through //Help Menu// on application header next to // | * Server Log - System log messages and errors, it only shows the message for the current model execution. Can also be accessed through //Help Menu// on application header next to // |