You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great library! This helps tremendously with my project and I would love to sponsor / contribute back sometime.
Have you planned to implement a "fit view to all nodes" function (button) in v2? The function should adjust the panning and scaling such that it shows all nodes in the editor viewport.
I am currently trying to implement this myself, but I don't even have idea how to calculate the panning (given scaling) such that a node (or a coordinate in the node's coordinate system) shows at the center of the viewport.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
Hi there,
First of all, great library! This helps tremendously with my project and I would love to sponsor / contribute back sometime.
Have you planned to implement a "fit view to all nodes" function (button) in v2? The function should adjust the panning and scaling such that it shows all nodes in the editor viewport.
I am currently trying to implement this myself, but I don't even have idea how to calculate the panning (given scaling) such that a node (or a coordinate in the node's coordinate system) shows at the center of the viewport.
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: