Skip to content
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

Example of using d3Force method #5

Closed
Benkevych opened this issue Apr 16, 2018 · 3 comments
Closed

Example of using d3Force method #5

Benkevych opened this issue Apr 16, 2018 · 3 comments
Assignees

Comments

@Benkevych
Copy link

How am i supposed to use method if i have no instance in react?

@vasturiano
Copy link
Owner

@Benkevych you can use refs to call methods on the component.

There's an example here (view source).

@vasturiano vasturiano self-assigned this Apr 17, 2018
@Benkevych
Copy link
Author

Getting this error when disabling link force
screen shot 2018-04-17 at 11 10 13

@vasturiano
Copy link
Owner

Thanks @Benkevych. This was a bug in three-forcegraph that has now been fixed. The latest version of react-force-graph (1.1.17) includes the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants