generate_diagram
Create Mermaid diagrams for file trees in a codebase, visualizing directory structures, dependencies, and file importance. Customize layout, depth, and style for clear code architecture insights.
Instructions
Generate a Mermaid diagram for the current file tree
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | ||
| maxDepth | No | Maximum depth for directory trees (1-10) | |
| minImportance | No | Only show files above this importance (0-10) | |
| outputFile | No | Optional output file name for the diagram | |
| outputFormat | No | Output format (mmd or png) | |
| showDependencies | No | Whether to show dependency relationships | |
| style | Yes | Diagram style |