molecule-2d-for-react
molecule-2d-for-react copied to clipboard
Replace D3?
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.
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.