-
Notifications
You must be signed in to change notification settings - Fork 231
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
Nodes are not loading in correct position #550
Comments
Could you give an example on Sandbox? |
when the data changes it is loading in different positions. It is not loading like clusters instead it is appearing very far |
Does the shape look like a circle? |
no it looks scattered .Each time when it is loading it takes different position. |
Could you show me your code? Maybe it's a better way to find problems |
I wont be able to share the code. |
You can open this sandbox link. https://codesandbox.io/s/react-d3-graph-nodes-position-reset-forked-u85zuu?file=/src/App.js |
ok still the same behavior. if we assign the data to a state is that causing issue? |
Maybe it is because of useState. You can check my new node below the link. |
@danielcaldas I am trying the load the graph but each time the animation is lost .
I am using this https://danielcaldas.github.io/react-d3-graph/sandbox/index.html?data=marvel
It doesnt appear as cluster instead the nodes are appearing in different places
The text was updated successfully, but these errors were encountered: