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

Dynamic Particles do not appear for fixed Nodes #650

Open
matt7ds opened this issue Oct 25, 2023 · 1 comment
Open

Dynamic Particles do not appear for fixed Nodes #650

matt7ds opened this issue Oct 25, 2023 · 1 comment

Comments

@matt7ds
Copy link

matt7ds commented Oct 25, 2023

Thanks for such an excellent project! I have run into this issue....

When I create nodes and links and specify

.linkDirectionalParticles(10)
.linkDirectionalParticleSpeed(d => d.value * 0.001)

as per the example, everything works fine.

However, if during the creation of the nodes, I specify values for fx, fy, and fz like this:

{id: "1", name: "Test Node 1", fx: "1", fy: "1", fz: 0 }

The Directional Particles are not present until the source node is dragged and dropped. At that point, the particles appear and animate correctly.

@vasturiano
Copy link
Owner

@matt7ds would you mind making a simple reproducing example of the issue, on https://codesandbox.io/ for instance?

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