bumbu / svg-pan-zoom

JavaScript library that enables panning and zooming of an SVG in an HTML document, with mouse events or custom JavaScript hooks
https://github.com/ariutta/svg-pan-zoom#demos
BSD 2-Clause "Simplified" License
1.76k stars 389 forks source link

Rotate the svg image #432

Open soblanc68 opened 1 year ago

soblanc68 commented 1 year ago

Expected behaviour

I'm using the svgPanZoom package for the development of a R/shiny app. I would like to be able to rotate my svg image, since it's a circle phylogeny.

Actual behaviour

I didn't find any options in the actual package to do. But someone made a JS library that could do the job : https://github.com/bastienmoulia/svg-pan-zoom-rotate. Would it be possible to integrate this function in svgpanzoom? Or would it be a way for me to use it in my R/shiny app?

Thank you very much in advance!

Steps to reproduce the behaviour

1. 2.

Configuration

Feature Request