graphviz_render_source
Render DOT source into SVG, PNG, or PDF diagrams, automatically partitioning oversized graphs into manageable 5x5 encapsulated clusters.
Instructions
Write DOT and render it with automatic parent/inner 5x5 encapsulation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_dir": "<project_dir>",
"dot_source": "<dot_source>"
},
"name": "graphviz_render_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | dot | |
| format | No | svg | |
| dot_path | No | diagram.dot | |
| dot_source | Yes | ||
| output_path | No | ||
| project_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||