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
fitView improvements #3821
base: next
Are you sure you want to change the base?
fitView improvements #3821
Conversation
…fitViewOnInit, fitViewOnInitOptions, fitViewDone from store
Hi, is this PR aimed to render the nodes already fitted instead of seeing the transition on page load? |
@ogroppo This PR is about making it possible to call If you use the |
Apologies if I am polluting this conversation with this issue, so redirect me in case, I am seeing this behaviour with minimal setup using version 12.0.0-next.17 with nextjs, in a client component page ("use client") Untitled.mov
When removing fitView the zoom does not adjust but the edges are rendered later Screen.Recording.2024-05-07.at.22.25.48.mov |
How do your nodes look like? |
This is what is fed into useNodesState and useEdgesState
|
Changes
Questions