输出C/C++工程中所有源文件,头文件之间的依赖关系,参考test.py,会生成一个gv文件,然后使用下面的命令生成dot图
dot -Tpng -o <目标>.png <源>.gv
- python列表如何依次取2个元素?
- Python Patterns - Implementing Graphs
- Directed Acyclic Graph (DAG) Scheduler library
- pydags - A lightweight DAG framework for Python
- ‘hierarchical’ (or layered) drawings of directed graphs.
- Distance between edges and nodes in graphviz
- [] color for key node, for example the file contains main()
- [] matched header and source files use same color, for example, A.h and A.cpp use same color