-
Notifications
You must be signed in to change notification settings - Fork 261
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
Can't remove force with TypeScript interface for d3Force #516
Comments
Thanks for flagging this @julianZeitler. 👍 Indeed the types weren't allowing for the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to remove the centering force like shown below using TypeScript:
The interface exposed for the d3Force method does not allow the second argument to be null.
Interface exposed in src/packages/react-force-graph-2d/index.d.ts (lines 136-138):
Thank you very much!
The text was updated successfully, but these errors were encountered: