Closed bblanchon closed 1 year ago
Following this
I created a sandbox to illustrate how to do that : https://codesandbox.io/s/sigmajs-issue-1374-8qc4gs
To rotate the graph, you only need to set the state of the camera : renderer.getCamera().setState({ angle: deltaAngle });
The rest of the code is pretty much which gesture you w&nt to use and how to listen it.
Hope it helps.
Excellent! Thanks a lot, Benoît.
Hi,
Thanks a lot for this incredible library!
I noticed I could rotate the view with a touch screen. Is there any way to do so with a mouse?
Best regards, Benoit