Graph Visualizer

Choose an algorithm page to view interactive visualizations and animations.

Breadth-first Search (BFS)

Layered traversal animation and queue visualization.

Open BFS

Depth-first Search (DFS)

Recursive exploration with stack-style animation.

Open DFS

Strongly Connected Components (SCC)

Kosaraju's algorithm with component coloring.

Open SCC

Dijkstra's Shortest Paths

Weighted shortest-path visualization with distance updates.

Open Dijkstra

Minimum Spanning Tree (Kruskal)

Edge-sorting and union-find visualization of MST.

Open MST