SpiderStrategies / kalpa-tree

A tree implementation backed by D3
http://spiderstrategies.github.io/kalpa-tree/
ISC License
4 stars 2 forks source link

Incoming nodes drawing #438

Closed nathanbowser closed 5 years ago

nathanbowser commented 5 years ago

Given the following incoming stream of nodes:

root
  c1
     gc1
     gc2
     gc3
     gc4
  c2
     gc5
     gc6
     gc7
     gc8

We'd show root immediately and it would be set so it's not collapsed. When we receive c1 and c2 they won't be drawn until the stream ends (or a initialSelection triggers a redraw). This is incorrect, we should show them immediately.