[Chicago] Drawing DAG in networkx
Oren Livne
livne at uchicago.edu
Thu May 31 22:35:03 CEST 2012
Unfortunately, networkx.pygraphviz_layout(graph) is also extremely slow.
Why is a such small DAG taxing on those layout programs? One
topologically-sort nodes and place them accordingly fairly quickly. Can
I supply an initial guess (=guide) for node positions to the layout
calls? Doesn't seem like it from the docs.
Thanks,
Oren
On 05/31/2012 02:04 PM, Joshua Herman wrote:
> Pygraphviz can output SVG
> http://networkx.lanl.gov/pygraphviz/pygraphviz.pdf the thing I
> suggested before.
> ---Profile:---
> http://www.google.com/profiles/zitterbewegung
>
>
>
>
> On Thu, May 31, 2012 at 1:55 PM, Brian Ray <brianhray at gmail.com
> <mailto:brianhray at gmail.com>> wrote:
>
> I am not sure about networkx. But I presume it is something that spits
> out SVG no?
>
> If your ok with pushing (blitting) pixels yourself, I do know is that
> matplotlib uses AGG http://www.antigrain.com/ for one drawing backend.
> The author is probably still on this list and presents from time to
> time.
>
> Likewise, I believe you can go to Postscript or SVG with your own
> tools and let whatever rendering that needs done to be done on case by
> case basis.
>
> --
> Brian Ray
> @brianray
> _______________________________________________
> Chicago mailing list
> Chicago at python.org <mailto:Chicago at python.org>
> http://mail.python.org/mailman/listinfo/chicago
>
>
>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20120531/eb95646b/attachment.html>
More information about the Chicago
mailing list