Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
annotationeditor [2020/04/26 03:33] – external edit 127.0.0.1 | annotationeditor [2020/05/04 18:48] (current) – removed admin |
---|
===== Annotation Editor ===== | |
//Context Menu: State Annotation, Transition Annotation// | |
| |
//Annotation// is used to annotate and visualize the state and transition during model execution (Rel 5.1.0). Use //Annotation Editor// to create and edit state/transition annotation. | |
| |
{{http://testoptimal.com/img/AnnotEditor.png?400x500}} | |
| |
---- | |
==== Annotation Format==== | |
[[https://help.github.com/articles/markdown-basics/|Markdown]] syntax is used to create the annotation for the state and transition. You may also embed //html// tags within //markdown// scripts. | |
| |
You may also embed mscript expression inside annotation, e.g. $getVar('myVar'), [myVar], $getSysVar('curStateID'), [curStateID], $date('today','yyyy-MM-dd'), as well as your custom mscript functions to dynamically change the content of the annotation. | |
| |
=== Editing Annotation ==== | |
//Annotation Editor// automatically renders the //markdown// script in the preview section right below the editor work area. Any updates to the annotation script are automatically reflected in the preview. | |
| |
You can style annotation script manually by typing the //markdown// tokens directly into the editor. Alternatively, you can use the mini icons above the editor work area to change the text style for the select annotation script/text. | |
| |
Be sure to click "OK" to save the changes. | |
| |
=== Annotation View === | |
| |
The annotation can be viewed in the [[AnnotationView | Annotation View]] during model execution. Be sure to enable [[BAPlugin | BA Plugin]] as the annotation is generated from //markdown// scripts that you have entered for the state and transition by [[BAPlugin | BA Plugin]] as model executes. | |
| |
| |