get_dependency_diagram
Generate dependency diagrams for code files or directories in Mermaid or DOT format to visualize relationships and analyze impacts within your project.
Instructions
Render dependency diagram for a file/directory path as Mermaid or DOT. Input: a path like "src/tools/" — not a question. Trims to max_nodes most important nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Scope: file path, directory, or "project" | |
| depth | No | Max hops from scope (default 2) | |
| max_nodes | No | Max nodes in diagram (default 30) | |
| format | No | Output format (default mermaid) |