[pypy-dev] Dotviewer capabilities

Dinu Gherman gherman at darwin.in-berlin.de
Thu Jun 26 00:05:04 CEST 2008


Hi all,

while preparing a talk for EuroPython.org and chatting with
Christian Tismer I remembered that PyPy had a nice PyGame GUI
for browsing GraphViz .dot files.

So I wanted to play with it and made a new SVN checkout (very
funky Mandelbrot sets during compilation, BTW... ;-) Then it
occured to me that I don't need PyPy to run dotviewer (great,
because it's still compiling). So I throwed a few of my .dot
files at dotviewer and got slightly surprised to see a few ra-
ther basic things not quite working as I'd expect (like rec-
tangular and record-like node shapes. I've created the follow-
ing sample files to illustrate my findings:

   http://python.net/~gherman/tmp/sample.dot
   http://python.net/~gherman/tmp/sample.pdf
   http://python.net/~gherman/tmp/sample.sample-dotviewer.jpg

I'm running PyGame 1.8.0rc5 on Mac OS X 10.5.3, BTW.

So, am I running dotviewer in some wrong fashion? Do I need
to run it on a different PyGame version or another OS? Or is
there some documentation for docviewer and its capabilities,
that I haven't found yet?

In fact, what I hoped to find in dotviewer is a browser for
dot files in which I can fold individual parts of a graph in
and out (while GraphViz is, perhaps, recalculating the layout).
If dotviewer cannot do that, maybe somebody knows of another
browser which can?

Thanks and regards,

Dinu




More information about the Pypy-dev mailing list