Graph (cyclic kind, not pretty picture kind) rendering algorithm?

s713221 at student.gu.edu.au s713221 at student.gu.edu.au
Mon Feb 12 03:38:04 EST 2001


Phlip wrote:
> 
> Python for Pyros:
> 
> Click here, then scoot down about 2 pages:
> 
>         http://www.tomsawyer.com/glt/index.html
> 
> On the left we see a Graph (a math object describing vertices connected by
> edges), and on the right's the same graph drawn with all the lengths of the
> lines balanced.
> 
> Is there a Python library out there that can draw a graph like that? Or
> which can take a graph as an input and return XY coordinates telling where
> to place each vertice and each line?

I don't know of any, but I'd be interested if anyone else could direct
us to one, I need exactly this for a chem editor I'm building at the
moment.

Joal Heagney/AncientHart



More information about the Python-list mailing list