New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create <PanZoom> #244
Comments
I believe I've improved on the code that was inside your sandbox. It seems extending Having Access to You can check it out here: https://codesandbox.io/s/20mw1079zy |
Eventually I removed Ultimatelly I would preffer the drag/drop events to be used rather than click, but I couldn't make it work. |
should be fixed in: #418 |
Just throwing this here so I don't forget about it (and document some ideas). It would be useful to have a
<PanZoom>
component to handle panning and zooming an SVG canvas for large visuals.@vx/brush
?rAF
?)There is already a nice component that does a lot of this, but also includes it's own UI. I think we should provide the foundation to build something similar, but allow the user to build their own UI.
I currently have some progress here (see
PanZoom2
which uses the new@vx/drag
)Additional zoom examples:
The text was updated successfully, but these errors were encountered: