Interactive graph explorer ยท force-directed layout ยท jQuery Arrows
drag nodes ยท toggle categories ยท re-layout with spring physics
๐ Graph Sparrow โ Guide
What it is
Graph Sparrow is an interactive graph editor and visualizer: build
networks of nodes and edges, let a force-directed physics simulation lay them
out, group them by category, and share them as JSON. Connectors are drawn by the
jQuery Arrows
plugin and follow the nodes as you drag them.
How it works
Force-directed layout โ the Springy physics engine simulates springs (edges)
and repulsion (nodes); Stiffness, Repulsion, and Damping sliders
tune the feel, and ๐ฏ Re-layout runs 400 deterministic ticks.
Live SVG arrows โ colored, labeled connectors updated at 60 FPS and instantly
during drags.
Category system โ nodes and edges carry color classes; the right panel toggles
entire categories with one click (live count badges).
JSON serialization โ export/import the whole graph for sharing or backup.
Node lifecycle โ hide/show moves nodes to a hidden pool; removing a node
cascades to its incident edges.
Cockpit UI โ 100vh locked layout with system-aware theme, no page scrollbars.
How to use this demo
Drag nodes โ arrows follow in real time.
๐ฏ Re-layout โ re-run the physics simulation; tune the sliders first for
different spreads.
โ Add Node / ๐ Add Edge โ extend the graph through the left sidebar forms.
๐๏ธ Node / Edge Categories โ the right panel hides or shows whole categories.
โฌ Export / โฌ Import โ save the graph as JSON and reload it later.
๐/โ๏ธ Theme โ follows your system preference by default.