Nodes Example 3 for How to Create Effective Network Data Visualization
This demonstrates some typical node behavior:
When a node is moused over, the network layout stops.
When a node is moused out, the network layout starts again.
When clicked on (whether dragged about or not) a node will remain fixed afterward. This happens by setting the .fixed property of a node to true, which flags it to be ignored by the layout algorithm.
When double-clicked on, a node will become unfixed.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js