visualization.graphviz

graphviz

Rendering DOT through the local Graphviz dot executable.

Graphviz is a system dependency, never bundled: DOT generation (GraphRenderer.to_dot) needs nothing installed, and only rendering to an image needs dot on the PATH.

Attributes

Name Description
DOT_EXECUTABLE
NOT_FOUND_MESSAGE

Functions

Name Description
find_dot The path of the dot executable, or None if there is none on the PATH.
render_dot dot rendered by Graphviz to output_format (svg, png, …), as bytes.