Graph Editor — Interactive Node & Edge Graph Visualizer
Visualizes graphs and trees from text/edge lists with drag-and-drop nodes and physics force layout. Create graph online and use big amount of algorithms: find the shortest path, find adjacency matrix, find minimum spanning tree and others — plus whiteboard Pen, Highlighter, fading Laser beams, and borderless Canvas Text. Graph-editor is a free desktop application to quickly create, import, edit, and automatically arrange diagrams. It runs on Windows, macOS, and Unix/Linux.
Core Capabilities
Smart Competitive Programming Input
Auto-detects headerless edge lists, N/M headers, LeetCode 2D arrays, AtCoder tree parent arrays, isolated vertices, primed IDs (1', 2'), and multi-testcase inputs.String & Numeric Weights
Edges and nodes support integers, decimals, negatives, characters, booleans, and custom strings with live bidirectional sync and C++/Python code export.Overlap-Free Layouts & Weight Badges
Collision avoidance steers weight badges clear of edge crossings, vertices, and Canvas Notes across Force Physics, Tree, DAG, Bipartite, Circular, and Grid layouts.17+ Step-by-Step Algorithms
Live step playback with queues, priority queues, stacks, DSU, and distance traces for BFS & DFS, Dijkstra, Topological Sort & Tarjan SCC, and Tree DP & LCA.Freehand Lasso & Batch Editing
Draw a lasso loop or multi-select vertices and edges to reposition subgraphs together, color components, or batch-edit weights in a single step.Whiteboard Pen, Highlighter & Eraser
Switch to the Pen (P) or Highlighter beside Lasso to sketch smooth vector annotations across graphs, sweep-erase strokes (X) with Undo/Redo, and export drawings cleanly.
Laser Pointer & Floating Canvas Text
Present live walkthroughs with a fading glowing Laser Pointer (K) plus borderless Floating Canvas Text (T) and collapsible Notes isolated per tab.
Offline Desktop, PWA & Export
Bundled JetBrains Mono typography, Canvas Notes, Floating Text, Ink strokes, high-resolution 2x PNG/SVG export, compressed URL sharing, and Windows/macOS/Linux installers.Interactive Deep-Link Demos
Dijkstra & Bellman-Ford
Visualize priority queue relaxations and negative-cycle detection on directed weighted graphs.
TraversalsBFS & DFS Playback
Trace FIFO queue levels, recursion stacks, discovery/exit timestamps, and cycle back-edges.
Trees & DPTree Diameter, LCA & Centroid
Visualizes rooted trees, subtree sizes, max independent set DP, and Binary Lifting LCA.
Directed GraphsKahn's Topo Sort & Tarjan SCC
Condense strongly connected components, find cut bridges, and order DAG dependencies.
Example Supported Input
# Directed or undirected edges with numeric or string weights SRC 1 0 1 2' cost 2' DEST 6 1 [10] IsolatedNode