I’ve created a force directed graph which I can manipulate using various sliders.
I would also like to use a slider with zoom levels to trigger zooming in and out, centered in the middle of the svg rectangle.
The default zoom works fine, but I would like to disable all event handling like mouse wheel, double click, etc and only a zoom slider can be used.
However, pan should still be allowed.
What’s the best way to do this?