CPKit
v1.6.1

Graph Laboratory (GR)

Explore topological properties, run Kahn's topological sorts, compute Kruskal MST paths, find cut vertices, and trace single-source shortest paths on weighted layouts.

All Graph Utilities (14)

Traversal

BFS Traversal

Explore unweighted graph vertices layer-by-layer using FIFO queues.

EasyO(V + E)Open Tool
Traversal

DFS Traversal

Visualize recursive depth-first graph traversals tracing parent paths.

EasyO(V + E)Open Tool
Shortest Path

Dijkstra Solver

Compute single-source shortest paths on weighted graphs with non-negative edge costs.

MediumO(E log V)Open Tool
Shortest Path

Bellman-Ford Solver

Compute single-source shortest paths and detect negative cycle structures.

MediumO(V * E)Open Tool
Shortest Path

Floyd-Warshall Matrix

Calculate all-pairs shortest paths on weighted graphs using intermediate sweeps.

MediumO(V^3)Open Tool
Traversal

Topological Sort

Linear dependency ordering of Directed Acyclic Graphs (DAGs) using Kahn's algorithm.

MediumO(V + E)Open Tool
Spanning Tree

Prim's MST

Construct a Minimum Spanning Tree greedily connecting closest neighbors.

MediumO(E log V)Open Tool
Spanning Tree

Kruskal's MST

Construct a Minimum Spanning Tree by sorting edges and joining components with DSU.

MediumO(E log V)Open Tool
Set Structures

DSU / Union-Find

Maintain partition of sets dynamically using union-by-rank and trace representatives.

EasyO(α(N))Open Tool
Properties

Bipartite Checker

Verify bipartite properties by trying to two-color the graph nodes.

EasyO(V + E)Open Tool
Properties

Critical Bridges

Detect critical bridge edges whose deletion disconnects the undirected graph.

MediumO(V + E)Open Tool
Properties

Articulation Points

Identify critical cut-nodes whose deletion disconnects the undirected graph.

MediumO(V + E)Open Tool
Traversal

Kosaraju SCC

Extract strongly connected components (SCC) on directed graphs using dual DFS.

MediumO(V + E)Open Tool
Properties

Graph Properties

Analyze graph statistics including degrees, density, connected components, cycles, DAG, and tree indicators.

EasyO(V + E)Open Tool