create-diagram-using-graphviz
Generate graph diagrams from DOT language input using GraphViz. Choose layouts, formats, and dimensions, then get a URL or save the diagram to a file for visualization needs.
Instructions
Create graph diagrams using GraphViz - get diagram image URL or save diagram image to file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Whether to get graph URL or save as file | |
format | No | Output format (default: svg) | |
graph | Yes | DOT graph description | |
height | No | Image height in pixels | |
layout | No | Graph layout algorithm (default: dot) | |
outputPath | No | Path where to save the file (only used with action=save_file) | |
width | No | Image width in pixels |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Whether to get graph URL or save as file",
"enum": [
"get_url",
"save_file"
],
"type": "string"
},
"format": {
"description": "Output format (default: svg)",
"enum": [
"svg",
"png"
],
"type": "string"
},
"graph": {
"description": "DOT graph description",
"type": "string"
},
"height": {
"description": "Image height in pixels",
"type": "integer"
},
"layout": {
"description": "Graph layout algorithm (default: dot)",
"enum": [
"dot",
"fdp",
"neato",
"circo",
"twopi",
"osage",
"patchwork"
],
"type": "string"
},
"outputPath": {
"description": "Path where to save the file (only used with action=save_file)",
"type": "string"
},
"width": {
"description": "Image width in pixels",
"type": "integer"
}
},
"required": [
"action",
"graph"
],
"type": "object"
}