~graphviz.Graph ~graphviz.Digraph ~graphviz.Source graphviz.render graphviz.pipe graphviz.view
Note
The two main classes .Graph
and .Digraph
(for creating undirected vs. directed graphs) have exactly the same API. Their division reflects the fact that both graph types cannot be mixed.
graphviz.Graph
graphviz.Digraph
graphviz.Source
The functions in this section are provided to work directly with existing files and strings instead of using the object-oriented DOT creation methods documented above.
graphviz.render
graphviz.pipe
graphviz.view
graphviz.ExecutableNotFound
graphviz.RequiredArgumentError
graphviz.version
graphviz.nohtml
Manually maintained whitelists (see https://graphviz.gitlab.io/_pages/pdf/dot.1.pdf, http://www.graphviz.org/doc/info/output.html, and dot -T:
output):
graphviz.ENGINES
graphviz.FORMATS
graphviz.RENDERERS
graphviz.FORMATTERS