Build the undirected wikilink graph from the vault. Each edge = a
resolved wikilink (we ignore broken ones — they wouldn't be part of
the graph anyway). Bidirectional links contribute weight 2 (one per
direction); unidirectional contribute weight 1.
Resolution: we use case-insensitive basename match (matches the
existing tools' behavior). A wikilink [[Foo]] resolves to a note
named Foo.md if exactly one such note exists; otherwise to the
first match in deterministic path order.
Build the undirected wikilink graph from the vault. Each edge = a resolved wikilink (we ignore broken ones — they wouldn't be part of the graph anyway). Bidirectional links contribute weight 2 (one per direction); unidirectional contribute weight 1.
Resolution: we use case-insensitive basename match (matches the existing tools' behavior). A wikilink
[[Foo]]resolves to a note namedFoo.mdif exactly one such note exists; otherwise to the first match in deterministic path order.