berkmancenter / dotplot

Telling a story through dots
GNU General Public License v3.0
51 stars 27 forks source link

Migration to D3 version 4. #66

Closed chaitanyya closed 7 years ago

jdcc commented 7 years ago

Check out the d3v4 branch. I also made the force layout calculation manual and decoupled from node rendering, which should dramatically improve performance.

chaitanyya commented 7 years ago

Thanks @jdcc the force layout works fine, the labels are not showing for some reason.

chaitanyya commented 7 years ago

Okay, I've fixed it.

jdcc commented 7 years ago

This wasn't clean to merge. I hadn't tested much of anything. It was just an example of getting the force layout to work. If you tested everything else and there were no side effects, great, but just letting you know I didn't review it for other issues.

chaitanyya commented 7 years ago

Fixing some of the issues right now.

jdcc commented 7 years ago

Done in the refactor.