How do I generate dia diagrams from python source code?

Q

Qauzzix

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
 
G

Gabriel Genellina

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?

SPE does that: http://pythonide.stani.be/
 
Q

Qauzzix


I think You are misunderstanding my question. I downloaded SPE and I
have been trying it out. It has an UML featus but in no way I can see
can I export it to be used by DIA the diagram editor. I could export
it as an image, nothing more. There exists many apps for extracting
UML diagrams from Python source but I need it to conform with DIA.
 
V

Vesa Köppä

Qauzzix said:
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

Hi.

There is this utility called autodia.
http://www.aarontrevena.co.uk/opensource/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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top