var force = d3.layout.force() .nodes(nodes) .size([width, height]) .gravity(0) ... (или simulation.alpha() ), в функции tick в v4/v5: d3.
確定! 回上一頁