An example of a d3-force graph with 536 nodes and 9627 edges. The new canvas-based rendering is significantly faster than the SVG Force-Directed Graph.
To keep nodes on the screen, I tweaked the following forces:
strength
of the charge force and added a distanceMax
forceY
and forceX
Facebook egonet data from Julian McAuley and Jure Leskovec.
https://d3js.org/d3.v4.min.js