{"category":"generate","description":"Runs the Graphviz layout program on your DOT source and returns the drawing as a file. The source is checked first, and the program runs with file loading switched off.","endpoint":"https://setget.net/v1/tools/graphviz","examples":[{"input":{"source":"digraph { rankdir=LR; Plan -> Build -> Test -> Ship; Test -> Build [label=\"fix\"]; }"},"title":"A small flowchart as SVG"},{"input":{"dpi":120,"engine":"circo","format":"png","source":"graph { a -- b -- c -- d -- a; a -- c; node [shape=circle]; }"},"title":"A circular layout as PNG"}],"input_schema":{"additionalProperties":false,"properties":{"dpi":{"default":96,"description":"Resolution of a PNG, in dots per inch. Ignored for SVG.","maximum":300,"minimum":48,"type":"integer"},"engine":{"default":"dot","description":"Layout style: dot for layered flowcharts and trees, neato and fdp for networks, circo for circles, twopi for rings around a centre.","enum":["dot","neato","fdp","circo","twopi"],"type":"string"},"format":{"default":"svg","description":"svg stays sharp at any size; png is a fixed-size picture.","enum":["svg","png"],"type":"string"},"source":{"description":"The graph in the DOT language.","examples":["digraph { rankdir=LR; Plan -> Build -> Test -> Ship; Test -> Build [label=\"fix\"]; }"],"maxLength":50000,"type":"string"}},"required":["source"],"type":"object"},"keywords":["graphviz","dot to svg","dot to png","diagram","flowchart","graph drawing","dot language","dependency graph","render dot","network diagram","tree diagram","graphviz online"],"related":["chart","table-image","svg-to-png","svg-optimize","image-convert"],"slug":"graphviz","summary":"Draw a diagram from Graphviz DOT source as SVG or PNG: flowcharts, trees, networks and dependency graphs.","tier":"job","timeout_seconds":60,"title":"Graphviz diagram renderer","url":"https://setget.net/tools/graphviz"}
