Open wonder-mice opened 6 years ago
Currently getChildren() is used inconsistently. For d3 nodes must use node.children directly - faster and more correct. getChildren() must only be used for hierarchy() calls (maybe there are some other use cases, but mostly it).
getChildren()
node.children
hierarchy()
I'm working on it.
Currently
getChildren()
is used inconsistently. For d3 nodes must usenode.children
directly - faster and more correct.getChildren()
must only be used forhierarchy()
calls (maybe there are some other use cases, but mostly it).