Visio like library for Python?

Duncan Booth duncan at NOSPAMrcp.co.uk
Wed Apr 9 12:20:01 CEST 2003


skywalkerpackage at hotmail.com (Johannes Eble) wrote in
news:3e93e50f.676072541 at news.online.de: 

> is there a library available for Python that behaves similar to MS
> Visio? For example, I would like to create vector graphic objects and
> connect the with a line. If I move, flip or rotate a connected object,
> the line should follow the connection.
> 
> I would like to draw UML diagrams.

Maybe not quite what you asked but you might want to look at
ObjectDomain which is a UML diagram editor that is fully scriptable in
Python (or rather Jython). 

> But the program is in c and it is tightly coupled with GTK+.
> It seems to be an impossible mission to control dia from
> another program, at least in Windows.

A quick look at the Dia website seems to indicate that DiaPython exists.

-- 
Duncan Booth                                            
duncan at rcp.co.uk int month(char
*p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3" 
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure? 




More information about the Python-list mailing list