python, gven et graphivz ************************ gvgen http://software.inl.fr/trac/wiki/GvGen graphivz http://www.graphviz.org/ exemple d’utilisation .. code-block:: python % python Python 2.4.4 (#2, Aug 16 2007, 00:34:54) [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from gvgen import * >>> graph = GvGen() >>> parents = graph.newItem("Parents") >>> father = graph.newItem("Bob", parents) >>> mother = graph.newItem("Alice", parents) >>> children = graph.newItem("Children") >>> child1 = graph.newItem("Carol", children) >>> child2 = graph.newItem("Eve", children) >>> child3 = graph.newItem("Isaac", children) >>> >>> graph.dot() result: .. figure:: data/20100811_3.png