Open ZanQ opened 3 years ago
@ZanQ thanks for reaching out.
Could you make a reproduceable basic example on https://codesandbox.io/ that can be used to debug this?
HI @vasturiano, my apologies on the tardy reply. I'll recode the entire part again, and if it doesn't work then I'll submit it to a sandbox. Seems to be an issue with the way I've called the Three library.
I just encountered the same error
I have a fairly complex application and hope to have time providing you with a standalone example the next few days @vasturiano . But here is some input for now:
I wrote a script to see if every link is referencing a node that actually exists: They check out!
I wanted to log out, what this emptyObject function is receiving, but no luck. Is there a recommended way to modify the npm package?
The error ocurs after I dynamically changed the input data again and again and reloaded the graph.
Hi there, I'm unable to figure out why this is happening hence I was turning to the community for help in resolving this.
Here is the entire error message
three-forcegraph.module.js:338 Uncaught TypeError: Cannot read property 'id' of undefined at _objectSpread2.objBindAttr (three-forcegraph.module.js:338) at data-joint.module.js:260 at Array.forEach ()
at viewDigest (data-joint.module.js:255)
at threeDigest (three-forcegraph.module.js:335)
at Function.update (three-forcegraph.module.js:1170)
at kapsule.module.js:112
at later (index.js:27)
I basically send in a json with 7 nodes and 6 links, they are all there ... but with one duplicate. I don't know how got there as I'm printing out the node before the call, and there aren't any extra nodes.
Here are some of the screenshots.