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

Link directional particle on-demand emission #51

Closed
sdgandhi opened this issue Oct 25, 2018 · 2 comments
Closed

Link directional particle on-demand emission #51

sdgandhi opened this issue Oct 25, 2018 · 2 comments

Comments

@sdgandhi
Copy link

Feature request:

Would be awesome to have a function to emit particles on-demand.

this.graph.emitDirectionalParticle(linkId)
// or
this.graph.emitDirectionalParticle(linkSrc, linkDest)
@sdgandhi
Copy link
Author

no?

@vasturiano
Copy link
Owner

@sdgandhi that functionality is already supported, via the method .emitParticle(link).
See example: https://vasturiano.github.io/react-force-graph/example/emit-particles/

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