Canvas Node Connections
canvas.connectionsRetrieve incoming and outgoing edges of a single canvas node to walk an Obsidian canvas graph one node at a time without loading the full document.
Instructions
Return the incoming and outgoing edges of a single canvas node. Use this to walk the canvas graph one node at a time without loading the full document. Read-only. For full-graph parsing, use canvas.parse.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Vault-relative path to an Obsidian `.canvas` file. | |
| nodeId | Yes | Id of the node whose edges to return. | |
| vaultPath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| nodeId | Yes | ||
| incoming | Yes | ||
| outgoing | Yes |