How do I generate dia diagrams from python source code?

Vesa Köppä vesa.koppa at
Mon Jul 27 10:51:51 CEST 2009

Qauzzix wrote:
> Greetings.
> Since I have been using dia to make my UML diagrams. I also found an
> util named dia2code that generates python code from dia diagram. Now
> that I have that option I really want to find a way to generate dia
> diagram from existing code and/or maintain my diagrams.
> I have been googling  like crazy trying to find a way but with no
> luck. Anyone here know how to do this?
> Peace,
>  - Jakob Sv. Bjarnason


There is this utility called autodia.
I think it does what you want. It is written in perl.
It can read several languages and outputs dia diagrams.

BTW, I found it by going to dia2code homepage and then to
its links page. It is listed in there.


More information about the Python-list mailing list