Hi, > Mine is a project of tracing a program flow. I'd like to be able > to create a > graph with X number of related boxes (representing function calls), > with > vertexes between them (representing calls from one to another). > > Basically, I would like to be able to create objects of arbitrary type > (possibly just a string, but I'd like to have some flexibility if > possible), > create relationships between the objects, and have a graph > automagically > space them out on the given canvas so they are as clear as possible.
You can look into NetworkX: https://networkx.lanl.gov/wiki It's probably not exactly what you're after, but it's a (rather well done) general purpose graph library for Python and has some canned facilities to draw resulting graphs to the screen (via matplotlib). You can also save graphs in graphviz format for external processing via dot/graphviz, which is handy ... Hope that helps, -steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users