pub fn link_edges(source: &str, links: &[Link]) -> Vec<Edge>Expand description
Resolve a parser’s discovered links into edges, one per (source, target).
Multiple links to the same target collapse to a single edge: compose dedups
by (source, target) and overwrites per-namespace metadata, so aggregation
must happen here. Source lines are unioned into a sorted, deduped lines
array (omitted entirely when no link carried a line); the first occurrence’s
link (fragment) metadata wins.