Parse a single .canvas file into typed nodes + edges.
Returns a graph representation the agent can reason about: which notes
are pinned where, what's textual vs file-embed vs URL, what edges
connect what. File-node references (file: kind) are resolved against
the live vault — file_resolved carries the post-findBestMatch
path or null on a broken reference. Forward-compatible: unknown
type values become kind: "unknown" rather than throwing.
Parameters
vault: Vault
The vault.
args: {path:string}
path is the vault-relative path to the canvas
(with or without .canvas extension).
Parse a single
.canvasfile into typed nodes + edges.Returns a graph representation the agent can reason about: which notes are pinned where, what's textual vs file-embed vs URL, what edges connect what. File-node references (
file:kind) are resolved against the live vault —file_resolvedcarries the post-findBestMatchpath or null on a broken reference. Forward-compatible: unknowntypevalues becomekind: "unknown"rather than throwing.