Automatic Dia XML - from Source Code and Data.


Create Dia (or GraphViz, or dot, or VCG) UML Diagrams from Source code, directories of source code or even xml, by using your own or included Handlers.


About AutoDia

AutoDia is a modular application that parses source code, XML or data and produces an XML document in Dia format (or images via graphviz and vcg). Its goal is to be a UML / DB Schema diagram autocreation package. The diagrams its creates are standard UML diagrams showing dependancies, superclasses, packages, classes and inheritances, as well as the methods, etc of each class.

AutoDia supports any language that a Handler has been written for - see below for an up to date list..

** current release is version 2.14 (May 2011)

Autodia now outputs the following formats :

  • Graphviz (using dot to generate jpg, png, etc)
  • dot
  • vcg
  • xvcg (using xvcg to output postscript, etc)
  • dia (using a new custom directed graph algorithm to layout diagrams)
  • HTML/XML/Anything (if you write your own template)
  • Experimental SpringGraph (native perl directed graphs similar to graphviz) now included
  • Experimental Umbrello XML/XMI (requires fixing)

Autodia now parses the following forms of input

  • Perl
  • Python
  • PHP
  • Java (some issues with version 1.4) no longer fully supported (it used to work, Java broke its API's now it doesn't, fixes welcome)
  • C++
  • Torque (XML DB schema)
  • DBI (perl database interface handles)
  • SQL
  • Umbrello (experimental)

Note: you can add your own parser or language handler in under 20 minutes if you have reasonable knowledge of perl and in an evening if you have basic perl skills.
If you can hack perl then you should also be able to create a new output format relatively quickly - I would be very greatful if anybody was able to contribute argouml input/output for example.

cheers, hope you like it,
Ajt. <>


(C) Copyright A Trevena 2001-2011