
17 Jan
2011
17 Jan
'11
4:20 p.m.
Hi Matt,
I'd say go for it, but could you describe a bit more what's going on? Does your new code (pydot based) communicate directly with graphviz? Does it do this via named pipes, is it pure python, does it use a shared library, etc etc?
The code does not communicate directly with graphviz. It makes a temporary file on disk using tempfile.mkstemp(), and then calls the chosen executable (dot, neato, etc...) using subprocess to make the final image. It is pure python, and is self-contained in one file under a MIT license, so we can add it to yt with no problems, I think. Does that explain what you're curious about?
Stephen Skory stephenskory@yahoo.com http://stephenskory.com/ 510.621.3687 (google voice)