enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Function buildWikilinkGraph

    • 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.

      Parameters

      • vault: Vault

        Vault whose visible Markdown notes form the graph.

      • overrides: Partial<WikilinkGraphBudgets> = {}

        Optional stricter resource ceilings. Values may not exceed the production defaults.

      Returns Promise<WikilinkGraph>

      A complete, resource-admitted graph snapshot.

      If discovery, source, link, or edge admission is incomplete or exceeds a configured ceiling.