Hello! How to generate M&S diagram?
I tried this but failed.
You need to use the diagram description name. To get it you can use the availableRepresentations() that will return a table with all representations and their information:
''.availableRepresentations()
Or you can click on the back of the state machine diagram and use the following AQL expression in the M2Doc interpreter:
selection.description.name
And you will see the name of the deprecated diagram is Modes & States
, the new one is Mode State Machine
.
1 Like