block by mbostock ad70335eeef6d167bc36fd3c04378048

Force Dragging III

Full Screen

This example demonstrates applying d3-drag to a force-directed graph computed using d3-force. When the drag gesture starts, the targeted node is fixed to the pointer; it is released when the gesture ends. In addition, the simulation is temporarily “heated” during interaction by setting the target alpha to a non-zero value.

Compare to the SVG version.

index.html

miserables.json