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
examples.rst
.. _examples:
Examples
========
The following code examples are included in the ``examples/`` directory of the
`source repository/distribution`__. Most of them recreate examples from the
`graphviz.org gallery`__ or the `graphviz.org documentation`__.
.. __: https://github.com/xflr6/graphviz/tree/master/examples/
.. __: http://www.graphviz.org/gallery/
.. __: http://www.graphviz.org/documentation/
hello.py
--------
.. literalinclude:: ../examples/hello.py
:lines: 2-
.. image:: _static/hello.svg
:align: center
process.py
----------
.. literalinclude:: ../examples/process.py
:lines: 2-
.. image:: _static/process.svg
:align: center
fsm.py
------
.. literalinclude:: ../examples/fsm.py
:lines: 2-
.. image:: _static/fsm.svg
:align: center
.. _cluster.py:
cluster.py
----------
.. literalinclude:: ../examples/cluster.py
:lines: 2-
.. image:: _static/cluster.svg
:align: center
er.py
-----
.. literalinclude:: ../examples/er.py
:lines: 2-
.. image:: _static/er.svg
:align: center
unix.py
-------
.. literalinclude:: ../examples/unix.py
:lines: 2-
.. image:: _static/unix.svg
:align: center
structs.py
----------
.. literalinclude:: ../examples/structs.py
:lines: 2-
.. image:: _static/structs.svg
:align: center
structs_revisited.py
--------------------
.. literalinclude:: ../examples/structs_revisited.py
:lines: 2-
.. image:: _static/structs_revisited.svg
:align: center
btree.py
--------
.. literalinclude:: ../examples/btree.py
:lines: 2-
.. image:: _static/btree.svg
:align: center
traffic_lights.py
-----------------
.. literalinclude:: ../examples/traffic_lights.py
:lines: 2-
.. image:: _static/traffic_lights.svg
:align: center
fdpclust.py
-----------
.. literalinclude:: ../examples/fdpclust.py
:lines: 2-
.. image:: _static/fdpclust.svg
:align: center
cluster_edge.py
---------------
.. literalinclude:: ../examples/cluster_edge.py
:lines: 2-
.. image:: _static/cluster_edge.svg
:align: center
g_c_n.py
--------
.. literalinclude:: ../examples/g_c_n.py
:lines: 2-
.. image:: _static/g_c_n.svg
:align: center
angles.py
---------
.. literalinclude:: ../examples/angles.py
:lines: 2-
.. image:: _static/angles.svg
:align: center