vasturiano / force-graph

Force-directed graph rendered on HTML5 canvas
https://vasturiano.github.io/force-graph/example/directional-links-particles/
MIT License
1.57k stars 248 forks source link

LinkParticles turns off linkCanvasObjects #356

Open gottliebtj opened 3 months ago

gottliebtj commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Have LinkCanvasObject be rendered
  2. Enable LinkParticles
  3. LinkCanvasObject No longer shows

Expected behavior Should be able to have link particles and canvas objects on at the same time.

gottliebtj commented 3 months ago

@vasturiano

vasturiano commented 3 months ago

@gottliebtj thanks for reaching out.

That should not be the case, linkCanvasObject and linkDirectionalParticles are independent functionalities of the graph and should be able to co-exist without interference. I'm unable to reproduce your issue. Could you make a simple example of your issue on https://codesandbox.io/ ?