Visualize graph slice
visualize_graphGenerate a Mermaid or Graphviz diagram for a code graph slice to visualize component hierarchy or frontend-to-backend flow.
Instructions
Return a Mermaid (default) or Graphviz DOT diagram for a slice of the graph: kind 'component-tree' (render hierarchy under a component) or 'fe-to-be' (frontend-to-backend flow). Paste the Mermaid block directly into chat to render it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | root component/route/endpoint for the slice | |
| format | No | ||
| max_nodes | No | ||
| max_tokens | No | response token budget (default 2000) |