add_canvas_edge
Connect nodes in Obsidian canvas files by creating edges between them, allowing you to build relationships and visualize connections within your knowledge graph.
Instructions
Add an edge between nodes in canvas
Input Schema
Name | Required | Description | Default |
---|---|---|---|
canvasPath | Yes | Path to canvas file | |
color | No | Edge color (1-6) | |
fromNode | Yes | Source node ID | |
label | No | Edge label | |
toNode | Yes | Target node ID | |
vault | Yes | Vault name |
Input Schema (JSON Schema)
{
"properties": {
"canvasPath": {
"description": "Path to canvas file",
"type": "string"
},
"color": {
"description": "Edge color (1-6)",
"type": "string"
},
"fromNode": {
"description": "Source node ID",
"type": "string"
},
"label": {
"description": "Edge label",
"type": "string"
},
"toNode": {
"description": "Target node ID",
"type": "string"
},
"vault": {
"description": "Vault name",
"type": "string"
}
},
"required": [
"vault",
"canvasPath",
"fromNode",
"toNode"
],
"type": "object"
}