Documentation
¶
Overview ¶
Package link builds deterministic note-level forward links and backlinks from pass-2 resolved outlinks, excluding self-links so backlinks only represent relationships from other public notes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGraph ¶
func BuildGraph(idx *model.VaultIndex, resolvedOutLinks map[string][]model.LinkRef) *model.LinkGraph
BuildGraph derives a deterministic public note link graph from pass-2 resolved outlinks.
The resolvedOutLinks map must be keyed by public source note path and contain the render-local outlinks produced during pass 2, including links merged onto the host page from embedded content. Link diagnostics are owned by resolver/render phases, so unresolved, self-referential, or non-public targets are ignored here.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.