Skip to main content

Module graph

Module graph 

Source

Structs§

LinkGraph
The full directed link graph plus the inverted backlinks map.

Functions§

build_link_graph
Build a LinkGraph from per-doc resolved outbound targets. docs: (slug, title, description) for every doc. outbound: slug -> resolved target slugs. Self-links are dropped. Edges are sorted (from, to); backlink lists sorted by linking slug. The backlink card carries the linking doc’s description (for the rail’s <small> line). Deterministic.