GraphAlchemist / Alchemy

Other
517 stars 232 forks source link

cannot read property _d3 of undefined #552

Closed ghost closed 9 years ago

ghost commented 9 years ago

Using the library with the basic graph example displays correctly in the browser. Changing the datasource to my own throws the following error in the browser:

Uncaught TypeError: Cannot read property '_d3' of undefined

The error does not occur with smaller datasets: <50 nodes and relationships.

ghost commented 9 years ago

Fix: Realised that I had not loaded all nodes in my graph and had edged referencing id's of nodes that did not exist. This also accounts for why the error did not occur with smaller datasets.