Directed Graph Editor
This interactive tool demonstrates a directed graph editor using React and D3 v5, where users can create and manipulate nodes and edges through direct manipulation. The visualization employs `d3.forceSimulation` to handle physics-based layout, with nodes rendered as circles and links as paths whose thickness and dashed styling indicate selection states. The code utilizes D3’s selection API to bind drag behavior, enabling dynamic node repositioning, while the `graph.js` script dynamically sets the SVG dimensions to the window size. Users can also draw new connections via a dragline interaction, though the implementation details for editing actions are partially implicit in the CSS and script structure.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.