A graph algorithm library for compiler development.
- directed and undirected graphs
- custom weights for nodes and edges
- depth-first search (DFS)
- breadth-first search (BFS)
- topological algorithm
- LCA algorithm
- disjoint-set algorithm
- lengauer-tarjan algorithm
- export/import graphs to/from DOT format for visualization with Graphviz
Issues and pull requests are welcome. Please make sure to run all tests before submitting.
If you have questions, feel free to open an issue in the repository. For other inquiries, contact me via email: [chaijie@mail.ustc.edu.cn].