Tool guide

Graph Theory Workbench: Shortest Path, MST & Centrality

The graph theory workbench builds a graph on a browser canvas and runs 21 classical algorithms over it. Six panels split the work: Traversal (BFS, DFS), Shortest path (Dijkstra, A*, Bellman–Ford, Floyd–Warshall), Spanning tree (Prim, Kruskal), Order & connectivity (topological sort, components, cut vertices and bridges, cycle detection), Flow & matching (Dinic, Edmonds–Karp, bipartite check, Hungarian matching) and Metrics & centrality (degree / diameter / girth, Brandes centrality, PageRank, Euler trail). Presets cover complete, cycle, bipartite, grid and Petersen graphs, a DAG, a flow network, negative weights and bridges. Each panel has its own URL, and several runs play back step by step.

Updated Reviewed by CalcX Editorial Team5 sources5 min read