Tested tool guide
Tested browser tools
Checked August 16, 2026
What Graph Theory Playground does, with a checked example
Graph Theory Playground lets you arrange vertices, connect them with edges, assign weights where needed, and watch graph algorithms advance one step at a time. It supports breadth-first search, depth-first search, Dijkstra shortest paths, and tests for Eulerian and Hamiltonian paths. The animation helps distinguish visited vertices, the current route, and remaining choices. A common surprise is that BFS or DFS may produce a different valid visitation order when several neighboring vertices are equally eligible.
Worked example
A concrete input and expected output from the current implementation.
Input
Create weighted edges A-B with weight 2, B-C with weight 3, and A-C with weight 10. Run Dijkstra from A to C.
->
Expected output
Shortest path: A -> B -> C. Total weight: 5.
The route through B has weight 2 + 3 = 5, which is less than the direct A-C edge weight of 10.