memory_graph
Export a subgraph of memory connections for visualization. Center on a memory ID or search query, set depth up to 3 hops, and limit nodes to focus the analysis.
Instructions
Subgraph export for visualization. Input: center_id or query, depth (1-3), max_nodes. Returns nodes with force-directed layout positions and edges with weights. Powers memory graph visualization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many hops from center to include (1-3, default: 2) | |
| query | No | Search query to find center node. Used if center_id not provided. | |
| center_id | No | Memory ID to center the graph on. Required if no query. | |
| max_nodes | No | Maximum number of nodes to include (default: 50) |