Skip to main content

Module graph_builder

Module graph_builder 

Source
Expand description

Dependency graph construction with petgraph.

Builds a directed graph (DiGraph<String, ()>) from parsed dependency edges. Nodes are module/package names; edges represent import relationships. Self-edges and duplicate edges are automatically filtered.

Functionsยง

build_graph
Builds a directed dependency graph from node and edge lists.