Drag the blob to deform it. Press the shift key to show the underlying force simulation’s nodes and links.
Uses d3-shape‘s line()
and curveBasisClosed()
functions to draw a blob from a graph.
Inspired by Mike Bostock’s Force Dragging III example.