forceLink(links).distance(200)) .force("charge",d3. ... .attr("text-anchor", "middle")//在圓圈中加上數據.text(function(d){return d.name;}); ...
確定! 回上一頁