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 RotatingTool | GoJS API and GoJS Tools -- Northwoods Software. 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?