🌍 Public
Viewing a saved revision (read-only)
83be00c294d24beeb922c83f6abe4df7
Untitled
A force-directed graph renders three nodes connected by three links, with the nodes positioned via a physics simulation and drawn as gray circles with white strokes. The code uses the `d3.layout.force` API and SVG `<line>` and `<circle>` elements, with the node and link positions updated on each `tick` event. Node names are parsed from a hardcoded `links` array.
AI-generated descriptionAn example including some commonly used features of SVG.