Créer un graphe à partir d’un graphe