generate_dependency_diagram
Generates a Mermaid flowchart showing module and file dependencies within a project directory. Supports configurable granularity, focus prefix, and direction to tailor the diagram.
Instructions
모듈/파일 연결관계를 한 장의 Mermaid flowchart 로 생성한다.
반환된 mermaid 텍스트를 그대로 코드블록으로 보여 주면 된다.
Args: path: 분석할 프로젝트 디렉터리의 절대 경로. granularity: "folder"(폴더 조감도, 기본) 또는 "file"(파일 상세). focus: 특정 폴더 접두사로 확대(드릴다운). 비우면 전체. direction: 방향 — TD/TB/LR/RL/BT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| focus | No | ||
| direction | No | TD | |
| granularity | No | folder |