ishanpm / chemlambda-editor

Javascript implementation of Chemlambda
MIT License
3 stars 0 forks source link

Upgrade to D3 v5 #13

Closed ishanpm closed 4 years ago

ishanpm commented 5 years ago

I had to upgrade from v3 to v4 when adding the ability to pan and zoom the background. That was a bit of a pain...

Hopefully going from v4 to v5 won't be as much trouble.

mbuliga commented 5 years ago

I use a v5 version https://github.com/mbuliga/mbuliga.github.io/blob/master/d3.v5.9.4.min.js and it works perfectly. A problem is that we should not use the whole d3.min.js because it has 237 kb, but only the parts needed for force graphs (and selections, etc).