pub fn architecture_model(
unit_sources: &HashMap<String, Vec<PathBuf>>,
snapshots: &HashMap<PathBuf, String>,
sequence_info: &HashMap<String, ContextSequenceInfo>,
) -> ArchModelExpand description
Build the whole-project architecture model.
unit_sources and snapshots are Analysis/ProjectDiagnostics’s own
fields (project-relative file lists per unit, and each file’s committed
text); sequence_info is the same table bynk/sequenceModel classifies
against. A unit with no sequence_info entry (a commons, or the
toolchain’s synthetic bynk capability surface — excluded from
unit_sources, per its own doc) contributes no node; a consumes edge
that resolves to such a unit is dropped (nothing to draw an arrow to) but
its selected capabilities are still recorded on the consuming node — see
the module doc.