How can I add an SVG into a ScrollView and be able to pan around? The SVG will be bigger than the ScrollView container so I want to be able to pan the SVG around.
This code puts the SVG in the ScrollView but there are no scroll bars:
Unfortunately, there is no ready to use solution. On touch devices it must be possible to disable webix-touch handlers to use native pan and zooming actions. As for desktop and mouse, it must be added through raw HTML events.
here I will share an example I made with d3, maybe it helps someone else too. http://webix.com/snippet/972ea011
The svg graphic is based on a graphviz DOT file, which is rendered with dagreD3 and the zooming is done with d3.