doMouseDown() rotation example?

Is there an example for a rotation trigert by a mousedown event ?
And how do I handle a swipe action on a tablet ?

cheers

Rotation is implemented by RotatingTool. Read about it at http://gojs.net/latest/api/symbols/RotatingTool.html and http://gojs.net/latest/intro/tools.html. In particular, implement a “PartRotated” DiagramEvent listener.

What do you mean about “a swipe action on a tablet”? GoJS already implements all of the standard behavior on touch devices. Is there something custom that you want to implement?