Directed Graph Editor
This interactive directed graph editor displays nodes and edges that users can drag, select, and modify. The visualization uses d3.forceSimulation for physics-based layout, with SVG circles for nodes and paths for links. Clicking nodes toggles reflexive edges, dragging between nodes creates new links, and dragging on empty space adds nodes. The React framework manages the component structure, while D3 handles the simulation, rendering, and event handling through d3.drag and pointer coordinates.