Software dependency graph
Definition
A dependency graph shows which software components a project requires directly or through other packages.
A dependency graph represents relationships between software components: one package uses another, which in turn requires additional packages. This makes direct and transitive dependencies visible. Which relationships are captured depends on the evaluated manifests, lock files, and supported package formats.
Simply explained
You see not only your ingredients but also which ingredients are contained in the purchased mixes.
Why it matters in practice
It facilitates assessing which applications might be affected by a faulty package or a planned update.
Example from business
Example: A team discovers that two web applications indirectly use the same library and plans their update together.
Limits and pitfalls
- A graph does not prove a complete runtime inventory. Dependencies are required components; dependent projects, on the other hand, use the considered package.
Origin & history
The concept belongs to the software supply chain. Unlike a pure component list, it also makes relationships between the parts visible.
Use in mid-sized companies
- A medium-sized company can identify critical libraries, assign responsibilities for updates, and better limit the impact of changes in advance.
Frequently asked questions
Is a dependency graph the same as an SBOM?
No. An SBOM documents components; a graph emphasizes their relationships but can be based on the same inventory data.
Sources
- About the dependency graph. · GitHub (o. J.): About the dependency graph.
Editorially reviewed on: