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:
Or you can click on the back of the state machine diagram and use the following AQL expression in the M2Doc interpreter:
And you will see the name of the deprecated diagram is
Modes & States, the new one is
Mode State Machine.