Hi, Did you try packages dedicated to graphs, like NetworkX ?
Matthieu 2008/4/10, Sanhita Mallick <[EMAIL PROTECTED]>: > > Hi. > > I am a newbie to Python. I am trying to implement a > Python code for graph manipulation. My graphs are > about 200-500 nodes big. Excepting for the short basic > graph implementation info on Python.org, where can I > find more in depth info about how to express graphs in > python, and how to use them in a code? > > Also, does anyone know of a easy way of creating the > dictionary for python for a 500-node graph, without > typing each and every node? I found some application > that recognize dot file Graphviz - but I am looking > for a program that can let me "draw" a graph and then > generate the lists automatically from the drawing. > > Thanks. > -SM > > -- > http://mail.python.org/mailman/listinfo/python-list > -- French PhD student Website : http://matthieu-brucher.developpez.com/ Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92 LinkedIn : http://www.linkedin.com/in/matthieubrucher
-- http://mail.python.org/mailman/listinfo/python-list