ErikGartner / dTree

A library for visualizing data trees with multiple parents, such as family trees. Built on top of D3.
https://treehouse.gartner.io/ErikGartner/58e58be650453b6d49d7
MIT License
521 stars 139 forks source link

Problem displaying very large trees #63

Closed Spiruel closed 6 years ago

Spiruel commented 6 years ago

I have a moderately large tree successfully working at https://jsfiddle.net/039520ra/

However when I try to increase the tree further, I get the error 'e.sort is not a function' https://jsfiddle.net/q0Ldsxb9/

Is there a maximum tree size that dTree can support?

ErikGartner commented 6 years ago

This is not a bug with displaying large trees. Your data is simply incorrect. Your node for Joanna Lees is not in a an array as it should be.

Tip: Use the non-minimized version of dTree when debuging, that makes it a lot easier to find any errors. Cheers!

/Erik