Arrow icon
See all demos

Touch Gestures

Have you been wondering how to implement touch gestures such as pan and pinch in your JointJS application? Explore this demo that shows how to use the Interact.js library to support panning and pinching gestures on touch devices, while keeping all other functionality intact. To see it in action, open the demo on a mobile device and experience it for yourself!
Demo instructions
Open the demo on your mobile phone, click on the preview image of the demo and try out the pan and pinch gestures. To use this demo to its full potential, follow the instructions in the diagram itself.

Made with JointJS+

The source code of this demo is available as part of the JointJS+ commercial license. Don't have a license yet? Start a trial and use the source code of this and many other demos for free, with no obligations, for 30 days.

Compatible with:

ReactAngularVueSvelteHTML5Salesforce Lightning

Made with JointJS+

All features required to build this demo are included in the commercial JointJS+ package. Don't have a license yet? Start a trial and build professional applications with ease.

Compatible with:

ReactAngularVueSvelteHTML5Salesforce Lightning

Made with JointJS

The source code of this demo is available in the JointJS open-source library which helps developers create simple visual applications in less time.

Compatible with:

ReactAngularVueSvelteHTML5Salesforce Lightning

Made with JointJS

All features required to build this demo application are included in our open-source library, JointJS. Download the package and create basic visual applications in no time.

Compatible with:

ReactAngularVueSvelteHTML5Salesforce Lightning

Speed up your development with a powerful library