-
Notifications
You must be signed in to change notification settings - Fork 177
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
Better implementation of zoom/panning in the next version (0.6.0) #78
Comments
A pan-zoom was exactly what I needed for the project I'm using this with! So excited to hear it's already been being worked on, and look forward to the release :) . Thank you for the hard work. Thought I might have to figure out how to do it myself hahaha. |
Yes a way better pan and zoom functionality will be release in the next version, the If you need to have a look on how it look so far, be please pull the code from the About the hard work, I appreciate your comment, thank you... I must say, we worked on this as a company but some important improvements come from the community and the help of splendid contributors like @9renpoto, @genbs and @joancc |
Thanks to you and the team for this awesome resource, question. When would ETA for Zoom be possibly released? I am approaching a project start and would like to know if I can use this library |
Just started playing with the lib for an hour and i just want to say thank you for your work. The DX is 💯 and it's super easy to hit the ground running building Diagrams. Looking forward to the zoom/pan feature as I believe this is a key feature missing at the moment. |
Thank you! |
Describe the bug
Hello everyone,
we have recently published the version 0.5.0 of 'beautiful-react-diagrams', this version introduces the new pan/zoom functionality.
Unfortunately, we also introduced a bug that causes to miscalculate the position of nodes with ports and links between them, some nodes are thrown out of the visibile screen and in some other cases it makes the Diagram rather unusable.
We apologise for this inconvenience.
Today we will try to release a new version (presumably the 0.5.1) that will roll back to the previous one, so that the bug will not be on NPM and possibly on other projects
This will also give us more time to work on the 0.6.0.
The 0.6.0 will have a better implementation of the zoom/panning provided by a new brand new component, called
Canvas
, to wrap the Diagram(s).This next version will also have a
useCanvasState
hook to help with theCanvas
component states and a component for the zoom controls calledCanvasController
.The new API will look like this:
Furthermore, the next version will solve the following bug:
#69
The text was updated successfully, but these errors were encountered: