Skip to main content
100%

Force Editor

✓ Published0🌍 Public
SSohojoe
Last edited Mar 27, 2017
Created on Mar 27, 2017

An interactive force-directed graph editor demonstrates node-link diagram manipulation. Users drag from existing nodes to create new nodes or links, click to select elements, and use the DELETE key to remove them. The visualization supports panning and zooming through D3’s zoom behavior. The code uses d3.layout.force for physics simulation and d3.scale.category20 for node coloring. The graph redraws incrementally during simulation ticks, with elastic transitions on node creation.

AI-generated description

Drag from an existing node to add a new node or link. Click to select/deselect nodes/links. Hit the DELETE key to remove the selected node or link. Drag to pan. Scroll to zoom.

Built with D3.js.

forked from <a href='http://bl.ocks.org/benzguo/'>benzguo</a>'s block: <a href='http://bl.ocks.org/benzguo/4370043'>Force Editor + Pan/Zoom</a>

mit Licensed

Similar vizzes