We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It could be nice to have access to the camera position. Let say, when user click on one node, the camera pan at a certain distance of that node.
using onNodeClick(fn) we can trigger an event on click, but there is no way (as far as I know) to modify the camera position programmatically.
The text was updated successfully, but these errors were encountered:
Yes, I'd like to have this feature as well. It can get very useful when the graph is getting bigger. Cheers
Sorry, something went wrong.
@mhebrard @AmbroiseCouissin from v1.22.0 this is now supported using .cameraPosition({ x, y, z }).
v1.22.0
.cameraPosition({ x, y, z })
Here's an example of usage.
Let me know if this works for your use case.
vasturiano
No branches or pull requests
It could be nice to have access to the camera position.
Let say, when user click on one node, the camera pan at a certain distance of that node.
using onNodeClick(fn) we can trigger an event on click,
but there is no way (as far as I know) to modify the camera position programmatically.
The text was updated successfully, but these errors were encountered: