Skip to content

Graphviz (DOT)

Graphviz renders DOT graphs. UML-MCP sends DOT to Kroki with diagram_type set to graphviz.

Example (source)

digraph G {
  rankdir=LR;
  Browser -> CDN -> Origin;
  Origin -> Database;
  Origin -> Cache;
}

Example (rendered SVG)

The SVG below was produced with generate_uml (diagram_type: graphviz, output_format: svg) against the snippet above, then committed under docs/assets/diagrams/.

Graphviz browser CDN origin example

Parameters

Property Value
diagram_type graphviz
Backend Graphviz (via Kroki)
Output formats png, svg, pdf, jpeg

See also