-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I have been reading the different types of dependencies graphs, and some tools that we can use for each of them.
So far, I've identified two types of dependency graphs:
-
Modules (and packages) dependency graph: Shows the dependencies among modules. Example of tools:
1.1. Pydeps tool -- It seems that is the current standard. It gives us all the modules and packages.
1.2 Modulegraph2: Modulegraph2 is a library for creating and introspecting the dependency graph between Python modules. The graph is created using static analisys from source and byte code. -
Call Graphs: dependency graph that just shows which functions within a program are calling other functions (although it can also show other relationships such as definitions and file groupings). Example of tools:
2.1 Pyan: static analysis, and constructs a directed graph of the objects in the combined source, and how they define or use each other. The graph can be output for rendering by GraphViz or yEd.