Fork!! Learning FC with grouping.
Example of a force-directed graph with an extra layer for grouping nodes.
Nodes and groups can be dragged indepedently. The type of curve and the scale of the shape can be tuned in order to define the contour of the group shapes
https://d3js.org/d3.v4.min.js