Skip to main content
100%

Graph Editor

✓ Published0🌍 Public
CCurran Kelleher
Last edited May 20, 2016
Created on May 19, 2016

This interactive graph editor visualizes small directed graphs using SVG rectangles, text labels, and arrow-tipped lines. Users can drag nodes to fix their positions, and click fixed nodes to release them, allowing free exploration of graph connectivity. The implementation uses D3 v4’s force simulation (`d3.forceSimulation`, `d3.forceLink`, `d3.forceManyBody`, `d3.forceCenter`) and drag behavior (`d3.drag`) to manage node physics. Node and link data are bound to SVG groups and lines, with arrowheads defined via SVG markers. The graph structure is defined in-memory, and the rendering updates dynamically as users interact.

AI-generated description

A tool for making diagrams of small directed graphs. This is a standalone version of an editor that reads graph files from a server - graph-diagrams. So far, this tool has been used to create the diagrams found in graph-data-structure and reactive-function.

Dragging nodes around will cause them to be fixed. Clicking on fixed nodes will unfix them.

Inspired by:

Built with blockbuilder.org

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=2106505&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->
mit Licensed

Similar vizzes