pub fn build_reference_graph(view: &TrustedGraphView<'_>) -> Vec<ReferenceEdge>Expand description
Normalize existing trusted relationships into reference edges. Never invents new relationships: every edge traces to one trusted fact.
Mapping (actual predicates from scc_core::predicates):
calls/invokes/handles_callback→ Callreads→ Read;writes→ Writeowns(state/reactive entity) → Writeimplements/implemented_by→ Implementinherits→ Extendregisters/publishes/subscribes→ Registerimports→ Import;exports→ Exportdecorates/annotates→ Decorate
Confidence passes through from the relationship (default 1.0); locations are the evidence file/line when available. Deterministic: the trusted view returns relationships sorted by id.