render_dot
render_dot(dot: str, output_format: str)dot rendered by Graphviz to output_format (svg, png, …), as bytes.
Raises
| Name | Type | Description |
|---|---|---|
| GraphvizNotFoundError | if dot is not on the PATH. |
|
| RenderingError | if Graphviz rejected the input; its message carries Graphviz’s own. |