#d3 error: multiple roots - finding which node is causing the issue

1 messages · Page 1 of 1 (latest)

nocturne ember
#

Hello! I'm using the expand and collapse feature and am getting a "multiple roots" error. Does anyone know of an efficient way to identify which node is causing the error? I have about 100 nodes in the flow and it's taking a lot of time to try to find it manually.

#

d3 error: multiple roots - finding which node is causing the issue

lethal ether
#

i can help you

#

Can you post a copy of your example code?

nocturne ember
#

I found the problem after much manual labour (double checking every single node and edge ID myself). The cause was a duplicate edge ID.
Do you have any ideas for a general/programmatic approach to discover the cause of the "multiple roots" error?