Guest
Sign in to keep your graphs and progress.
Browse all 90 interactive algorithm visualizers, grouped by topic. Open any one to build a graph and watch the algorithm run step by step.
Explore a graph from a start vertex: BFS, DFS and their variants, uniform cost and greedy best-first search, topological order, cycles and Floyd's tortoise and hare.
The cheapest route between vertices: from one source, between all pairs, or the k best.
Minimum spanning trees and arborescences, Steiner trees, tree diameters, trees as codes (Prüfer sequences, Huffman coding) and ancestor queries.
How a graph holds together: components, reachability, cut vertices, bridges, bipartite and degree tests.
Walks through every edge or every vertex: Euler tours, de Bruijn genome assembly, the Chinese postman, Hamiltonian paths, the knight's tour and the TSP.
Give neighbours different colours, colour edges, find cliques and vertex covers, and recognise chordal and planar graphs.
Push flow through a network, find its weakest cut and pair up two groups.
Rank pages and people, measure clustering, peel k-cores, split and group a network, and watch something spread through it.
Where to open facilities, how to pack goods and how to route a fleet of trucks.
Critical paths, PERT estimates, schedules with limited resources, and intervals packed into the fewest rooms.
Step-by-step calculators for linear programming, assignment, transportation and scheduling.
Browse the graph theory lessons · Read the in-depth articles