This example demonstrates a simple method of hand-tweaking a force-directed layout. Using d3.behavior.drag, the nodes in this network are made draggable; dragging updates the x
and y
properties of each node. The resulting graph could then be saved back to a JSON file using JSON.stringify.
https://d3js.org/d3.v4.min.js