Graph algorithms visualizer
Draw a graph or use the sample, then watch BFS, DFS, Dijkstra's shortest path, Prim's and Kruskal's minimum spanning tree run step by step.
+ Node: tap empty space. + Edge: tap two nodes. Delete: tap a node or an edge's number. Move: drag nodes.
How to use it
- Use the sample graph or draw your own.
- Pick the algorithm and the start node.
- Play or step through it.
Common questions
Is Graph algorithms visualizer free?
Yes. Every tool on CampusBox is free, with no sign-up.
Is anything I enter or open uploaded?
No. The tool runs inside your browser, so your files and entries stay on your device.
Does it work without internet?
Yes. After your first visit to CampusBox, the tool opens without a connection.