FilWisher / www-simulate

interactive simulation of caching algorithm
http://filwisher.github.io/www-simulate/
MIT License
0 stars 2 forks source link

Creating second visualization breaks #7

Closed FilWisher closed 8 years ago

FilWisher commented 8 years ago

Once one visualization has been created, the second created is buggy (all nodes are squished into the top corner). I suspect this is because of how d3 targets element being messed up by DOM-diffing with yo-yo.

Most likely related to #6

FilWisher commented 8 years ago

Try cloning nodes and edges: possibly shared references to same data is causing this?