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.
https://d3js.org/d3.v4.0.0-alpha.44.min.js