pub fn build_dependency_graph(records: &[FeatureRecord]) -> DependencyGraphExpand description
Builds a DependencyGraph from a slice of FeatureRecords.
Import strings are resolved against the set of known file paths; unresolvable
imports (external packages, missing files) are dropped at DEBUG level.
Go module-path imports are not resolved because the module prefix requires
explicit supply — use build_dependency_graph_with_go_module from the
pipeline layer when go.mod is available.
§Examples
use sdivi_graph::dependency_graph::build_dependency_graph;
use sdivi_parsing::feature_record::FeatureRecord;
use std::path::PathBuf;
let records: Vec<FeatureRecord> = vec![];
let dg = build_dependency_graph(&records);
assert_eq!(dg.node_count(), 0);