Skip to content
  • Mike Bostock's avatar
    Don’t store temporary variables on tree nodes. · 082c9593
    Mike Bostock authored
    Rather than creating a temporary _tree hash on the tree nodes to store temporary
    variables needed to compute the tree layout, the tree is wrapped. This
    eliminates the risk of a namespace collision, and eliminates the need to
    subsequently delete temporary variables. (They will be garbage collected.)
    082c9593