https://github.com/xflr6/graphviz
Tip revision: 521bb746585784efc5c4f362c2a2aa12425deb8c authored by Sebastian Bank on 28 April 2018, 20:36:47 UTC
release 0.8.3
release 0.8.3
Tip revision: 521bb74
api.rst
.. _api:
API Reference
=============
.. autosummary::
:nosignatures:
~graphviz.Graph
~graphviz.Digraph
~graphviz.Source
graphviz.render
graphviz.pipe
graphviz.view
.. note::
The two main classes :class:`.Graph` and :class:`.Digraph` (for creating
`undirected` vs. `directed` graphs) have exactly the same API.
Their division reflects the fact that both graph types cannot be mixed.
Graph
-----
.. autoclass:: graphviz.Graph
:members:
source,
node, edge, edges, attr, subgraph,
format, engine, encoding,
clear, copy, pipe, save, render, view,
directed
Digraph
-------
.. autoclass:: graphviz.Digraph
:members:
source,
node, edge, edges, attr, subgraph,
format, engine, encoding,
clear, copy, pipe, save, render, view,
directed
Source
------
.. autoclass:: graphviz.Source
:members:
format, engine, encoding,
copy, pipe, save, render, view,
from_file, source
Low-level functions
-------------------
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.
.. autofunction:: graphviz.render
.. autofunction:: graphviz.pipe
.. autofunction:: graphviz.view
Other
-----
.. autodata:: graphviz.ENGINES
:annotation:
.. autodata:: graphviz.FORMATS
:annotation:
.. autodata:: graphviz.ExecutableNotFound
:annotation:
.. autofunction:: graphviz.version
.. autofunction:: graphviz.nohtml