To simulate mouse events the buttons below use the Robot class that is defined in Robot.ts.

Click these buttons in order from top to bottom:





Clicking operations:


Panning operation:

The UndoManager has been enabled in the main Diagram. Give focus to the Diagram and you can undo everything and then redo everything to confirm what was executed by the Robot.