value); simulation.alpha(0.5).restart(); // Re-heat the simulation }, false); d3.select('#distanceElem') .on('click', function(evt) { // Set the slider's value.
確定! 回上一頁