🌍 Public
Viewing a saved revision (read-only)
49d908f57c1e45e8a86a6d3a9c5cebe6
Untitled
This example demonstrates an interactive graph editor built with D3.js and SVG. Clicking on the canvas creates nodes, and links automatically form between nodes within 100 pixels of the new node. Clicking an existing node deletes it and its connections. The simulation uses `d3.layout.force` with a charge of 1, a moving cursor circle indicates the mouse position, and nodes and links are rendered as SVG circles and lines. Data is generated entirely through user interaction.
AI-generated description