[pypy-dev] Dotviewer capabilities
gherman at darwin.in-berlin.de
Thu Jun 26 11:19:39 CEST 2008
Carl Friedrich Bolz:
Sorry, as you probably found out, the last link must be:
> The PyPy dot viewer isn't working well for records, since PyPy hasn't
> used them so far. I guess adding support would maybe be easy. Apart
> the fact that the borders of the record boxes are missing, what else
> you think is wrong with the jpg above? It looks very similar to the
I understand and I didn't expect records to work, but I thought
that rectangles were common enough to support them. ;-) A quick
code review shows that GraphRenderer.draw_node_commands() in
drawgraph.py ignores the "rect" node shape, hmm... Funny, but
the GraphViz docs don't mention a "rect" shape although it seems
to work with dot/neato etc. But ok, after changing my stuff to
use "box" instead of "rect" dotviewer renders them happily as
> There's http://code.google.com/p/jrfonseca/wiki/XDot, which barfed
> on my
> .dot files that tried to use HSV colours. It also links to
> http://zvtm.sourceforge.net/zgrviewer.html which I've never tried.
The first is too heavy to install for me on OS X now (PyGTK) and
the seconds looks promising (although very javaish) and very capa-
ble of zooming, but not of folding/unfolding.
> My introduction to PyGame was hacking PyPy's dot viewer during the
> Vilnius sprint... Ahh, those were the times.
Be prepared for a few questions in Vilnius, then! ;-) I think this
folding would be a great feature to have, also for PyPy. Does that
look like a sprint topic?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pypy-dev