visualize_graph
Export a knowledge subgraph as a Mermaid diagram to reveal its structure. Use after querying to visualize relationships between objects.
Instructions
Export a subgraph as a Mermaid diagram. Many MCP clients render Mermaid natively; if yours doesn't, the raw Mermaid text is still useful as structured output. Use this after query_subgraph to show the structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many hops to expand. Default 1. | |
| seed_ids | No | Optional. Object IDs to start from. Defaults to all objects. | |
| session_id | Yes | The session to visualize. | |
| max_objects | No | Max objects to include. Default 20. |