🌍 Public
Viewing a saved revision (read-only)
15a0ab0936ce41ed954e2968fede6237
Unislink Network
This example demonstrates a minimal force-directed network layout with three named nodes and two links, showing how nodes naturally position themselves under simulated physical forces. Using the D3.js library, it initializes a `d3.forceSimulation` object with the node and link data, then applies three forces: `d3.forceManyBody()` for repulsion between all nodes, `d3.forceLink()` to pull connected nodes together, and `d3.forceCenter()` to keep the group anchored. The setup code defines the simulation but does not render the result to the screen.
AI-generated description