Skip to main content
100%

Directed Graph Editor

✓ Published2🌍 Public
00-1CxH
Last edited Feb 14, 2020
Created on Feb 14, 2020

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes