https://github.com/xflr6/graphviz
Tip revision: 2b6d2196b2dea5fdddc140998c7845328980187b authored by Sebastian Bank on 22 January 2016, 11:37:57 UTC
release 0.4.9
release 0.4.9
Tip revision: 2b6d219
api.rst
.. _api:
API Reference
=============
.. 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.
Graph
-----
.. autoclass:: graphviz.Graph
:members:
source,
node, edge, edges, attr, subgraph,
format, engine, encoding,
pipe, save, render, view
Digraph
-------
.. autoclass:: graphviz.Digraph
:members:
source,
node, edge, edges, attr, subgraph,
format, engine, encoding,
pipe, save, render, view
Source
------
.. autoclass:: graphviz.Source
:members:
format, engine, encoding,
pipe, save, render, view