molecule-2d-for-react icon indicating copy to clipboard operation
molecule-2d-for-react copied to clipboard

Replace D3?

Open justinmc opened this issue 9 years ago • 1 comments

D3 is really working against the idea of data binding that is core to this project. The only useful thing that D3 brings us is its force layout, which can be gotten from elsewhere.

justinmc avatar Sep 13 '16 20:09 justinmc

Another bug related to D3 is the slight jumping that happens whenever a selection is made, referenced in this nbmolviz issue: https://github.com/Autodesk/notebook-molecular-visualization/issues/32

This is due to pain messing with rerendering via D3 when data changes. It's probably fixable by keeping our current setup with D3, but I've already spent a ton of time tweaking that specific thing, and moving off of D3 would definitely get rid of that bug altogether.

justinmc avatar Nov 03 '16 00:11 justinmc