improved interface of ForceGraph.js