On 17.03.2007 12:30, Dimitri Mallis wrote:
> hi,
> 
> i has anybody tried to use autodia or any other tool that makes dia
> diagrams from java or c++?
> 
Yes. The tool is even included with recent Dia, but in an early state:

2007-02-18  Hans Breuer  <[EMAIL PROTECTED]>

        * plug-ins/python/doxrev.py : an import filter for XML generated by
        doxygen. One step further to do reverse engineering with Dia.

Having tried multiple approaches including gccxml and a homegrown C++
parser, this is currently the most promising one. [Usually I'm not
interested if it is completely valid C++ (less if it is valid for GCC;))
when generating a diagram.]

Currently lacking in the plug-in is the step to call doxygen on some given
source (should be simple to add) or a list of files (would require some
addtion to Dia's core). But the diagram creation part is quite complete. No
automatic layout though.

BTW: the diagram to source code part is also included with dia as:

2005-05-16  Hans Breuer  <[EMAIL PROTECTED]>

        * plug-ins/python/codegen.py : prove it once more with the
        generation of C++ or Python code from an UML Diagram.
        Simply save as .py or .cxx ...

updated with:

2006-06-12  Hans Breuer  <[EMAIL PROTECTED]>

        * plug-ins/python/codegen.py : applied patch from Thomas D Ahle
        which adds support for Java and inheritance. Closes bug #344187

Full roundtrip engineering is not one my of goals, but patches are accepted ;-)

        Hanss

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert
_______________________________________________
Dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to