🌍 Public
Viewing a saved revision (read-only)
0092d7dd894443e0b5c9daba0e3b89d9
Force Directed Graph Starter
This example shows a small, three-node force-directed graph as a dynamic network layout. Nodes (circles) and links (lines) start in a default position and are continuously re-positioned by a simulated physical system. It uses the D3.js library, specifically the `d3.forceSimulation` API with `forceManyBody` and `forceLink` forces, plus a `forceCenter` to keep the layout centered. The graph is rendered to SVG, with positions updated on each simulation tick.
AI-generated description