export_graph
Generate a self-contained offline HTML report of a symbol's blast radius or a file's imports/dependents, returning the file path for review or PR attachment.
Instructions
Write a self-contained offline HTML view of a symbol's blast radius (mode=symbol) or a file's imports and dependents (mode=module), for a human to open or attach to a PR. Returns the file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | Output path; default: the reports dir. | |
| mode | No | symbol | module. | symbol |
| depth | No | Hops for symbol mode (1-6). | |
| source | No | Source name. Omit when only one source applies. | |
| target | Yes | Symbol (mode=symbol) or file path / fragment (mode=module). |