visualise
Generate a Mermaid flowchart of the knowledge graph for any domain, showing most-connected nodes first. Handles up to 100 nodes, truncating when needed for clarity.
Instructions
Generate a Mermaid.js flowchart of the knowledge graph for a domain. Nodes are sorted by connectivity (most-connected first) and capped at limit (default 40, max 100). Returns a JSON object with mermaid (the diagram source), node_count, edge_count, and truncated (true when the domain has more nodes than the limit). When responding to the user, output the mermaid string inside a ```mermaid code block. If truncated is true, note that only the most-connected nodes are shown. Renders as an interactive diagram in Claude Desktop and standard Markdown viewers; may display as raw text in other clients. Best used on focused domains with fewer than 60 nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to visualise | |
| limit | No | Max nodes to include (default 40, max 100). Most-connected nodes are prioritised when truncating. |