mindwiki_graph
Get the knowledge graph structure — nodes (pages) and edges (wikilinks) for visualization or analysis.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| depth | number | No | Max link traversal depth (default: 2) |
| root | string | No | Starting page path (omit for full graph) |
Example Request
json
{
"tool": "mindwiki_graph",
"arguments": {
"root": "patterns/feedback-loops.md",
"depth": 1
}
}Example Response
json
{
"nodes": [
{ "id": "patterns/feedback-loops.md", "title": "Feedback Loops", "type": "pattern" },
{ "id": "research/complex-systems.md", "title": "Complex Systems", "type": "research" },
{ "id": "systems/morning-routine.md", "title": "Morning Routine", "type": "system" }
],
"edges": [
{ "source": "patterns/feedback-loops.md", "target": "research/complex-systems.md" },
{ "source": "patterns/feedback-loops.md", "target": "systems/morning-routine.md" }
]
}