prog/lib to draw graphs

Will Henney w.henney at astrosmo.unam.mx
Fri Jan 23 09:43:37 EST 2004


Florian Lindner <Florian.Lindner at xgm.de> wrote in message news:<buofpq$1ra$06$1 at news.t-online.com>...
> Hello,
> I'm looking for a program or python library to draw graphs.
> They should look like the that:
> 
> 
> /--------\                         /--------\
> | Node A | ------ belongs to ----> | Node B |
> \--------/                         \--------/
> 
> Which is a result of the function call like that:
> 
> connectNodes(firstNode, secondNode, description, lineStyle)
> connectNodes("Node A", "Node B", "belongs to", dashed)
> 
> It should have a open scalable vector format as output (DVI, SVG, PDF, ...)
> and should be able to make automatic optimal placement of the items.

Since you mention DVI you probably know about LaTeX. You might
want to try its `psfrag' package, which can do all you want and
more. Learning curve is a bit steep, but the results are _very_
high quality. Nothing to do with Python though......



More information about the Python-list mailing list