This example demonstrates how to modify the parameters of a force-directed graph. After modifying the desired parameter (here link.strength), you should reheat the simulation using simulation.alpha and simulation.restart. Alternatively, you can prevent the simulation from cooling by setting simulation.alphaDecay to 0, or by setting simulation.alphaTarget to a positive value.