This example demonstrates applying d3-drag to a force-directed graph computed using d3-force. When the drag gesture starts, the targetted node is fixed to the pointer; it is released when the gesture ends.
Double-click to select a neighborhood, which will react to the dragged node.
forked from mbostock's block: Force Dragging I
forked from akollegger's block: Force Dragging I
forked from akollegger's block: Cold Force Dragging
https://d3js.org/d3.v4.min.js