.. _examples:

Examples
========

See the ``examples`` directory in the `source repository/distribution`__.

.. __: http://github.com/xflr6/graphviz/tree/master/examples/


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
----------

.. 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
