new approach for forceGraph.js