6 ms·
Ah. You are exactly right... Thank you! I guess I got confused with the "link strength" terminology. I need to change this then. Re. gravity: I was using this
by cam_pj 11y ago
Ah. You are exactly right... Thank you! I guess I got confused with the "link strength" terminology. I need to change this then.
Re. gravity: I was using this answer from mbostock to try and control the size of the graph.
http://stackoverflow.com/questions/9901565/charge-based-on-size-d3-force-layout http://stackoverflow.com/questions/9901565/charge-based-on-s...
But I have found it quite difficult to be honest, especially when you need to accommodate both desktop and mobile (I ended up using two sets of params).