graphlib
Stdlib — DataPython 3.9+Intermediate
Topological sorting of directed acyclic graphs
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.9+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import graphlib print(f"Module: graphlib") print(f"Contents: {dir(graphlib)[:10]}")
The graphlib module is part of Python's standard library. Topological sorting of directed acyclic graphs.
Try in PlaygroundTags
stdlibdata-structuregraphsorting