networkx-alternative
Graphs and everyday algorithms (BFS/DFS, Dijkstra, components, topological sort, cycles, SCC) in pure Python. Zero dependencies.