In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi, > > has anybody thought of / already used graphviz to convert the output of > trace.py into a graph? I looked at PyUMLGraph, but 1. PyUMLGraph does > not successfully create a dot file, and 2. I don't really want a UML > representation but a compact representation of program execution. > > Maybe there is some other tool that I am not aware of which can create > this kind of trace. I use eclipse with pydev plugin on MacOS 10.3.9 > > Regards, > Svenn >
Take a look at: http://dkbza.org/pydot.html It's a python interface which can produce dot format files (based on its internal graph API) and run graphviz for you. I'm not sure which trace.py you're referring to, but I assume it dumps some output file. You have a couple of obvious ways to get what you want: 1) modify trace.py to create a pydot graph structure then write to file 2) make a script that parses the trace.py output to create a pydot graph structure then write to file Dave -- http://mail.python.org/mailman/listinfo/python-list