Force-Directed Layout with Convex Hull
✓ Published0🌍 Public
CCtuauden
Last edited Feb 9, 2018
Created on Feb 9, 2018
A force-directed network graph shows 100 colored nodes grouped into 30 clusters, linked by sparse connections and enclosed by a Voronoi partition that updates as nodes settle into position. The code runs 120 ticks of `d3.forceSimulation` with forces for links, charge, X/Y positioning, collision, and centering. Hovering a Voronoi cell highlights the enclosed node and its incident links. Rendering uses SVG circles, lines, and paths, with `d3.voronoi` computing the polygon boundaries over the simulated node coordinates.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed