#!/usr/bin/env python # -*- coding: utf-8 -*- def demarrer_graphe ( horizontal=False) : print 'digraph G {' if ( horizontal ): print ' graph [ rankdir=LR ];' def ajouter_noeud_mot ( word, id=False, label=False ): print ' ' def lier( id_a, id_b ): print ' ' def clore_graphe () : print '}'