Interactive Graph Theory
Graph
Import JSON
Export JSON
Algorithms
Shortest Path via Dijkstra's Algorithm
Breadth First Search
Depth First Search
Select All
Delete
Clear
Toggle Physics
Undo
Redo
History
Edit
Help
Keyboard & Mouse Controls
Left click on blank space to add new nodes.
Left click a node and drag mouse to another node to make an edge connection.
Right click on a node and drag across nodes to delete them.
Right click on blank space and drag across edges to delete them.
Shift + Left click on a node and drag across nodes to select them.
Shift + Left click and drag over the canvas to rectangular select.
Ctrl + Left click and drag to move nodes.
Alt + Left click and drag to move the camera.
Ctrl + A to select / deselect all nodes.
Press delete key to delete selected nodes.
Touch Screen Controls
Tap on blank space to add nodes.
Tap on a node to select / deselect it.
Swipe between nodes to make edge connections.
Double tap on a node and swipe across nodes to delete them.
Tap + Hold on blank space and swipe across edges to delete them.
Tap + Hold on nodes to move them.
Swipe with two fingers to move the camera.
Import JSON
Drag and drop files here or click to select
Export JSON
History
Edit
✕
0.25×
0.5×
1×
1.5×
2×