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

How to reload the graph with new data? #86

Closed rajkumar0143 closed 5 years ago

ErikGartner commented 5 years ago

Call _update(data) on the graph object.

https://github.com/ErikGartner/dTree/blob/976caaa647999a42e8811da6c2c1d0946a2b6b4c/src/builder.js#L61

rajkumar0143 commented 5 years ago

Thanks to replay.... I tried a lot but it's 'graph' not update when i am refresh, How to call _update(data) in your given example