Free utility which runs in Linux to create a UML class diagram from Java source files

廉价感情. 提交于 2019-12-02 16:42:07

One method that we've experimented with is a combination of UMLGraph and GraphViz. What we were doing at the time was making the UML creation an automatic part of our CruiseControl build: the javadoc would be built with UML diagrams built in. It is pretty slick.

I think you'll find that the UMLGraph documentation answers pretty much all of your questions. Specifically, you should be able to create the class diagram that you want from the command line.

A few monthes ago, I wrote a simple tool named "java2dot". It doesn't handle all you requirements but it might helps.

http://plindenbaum.blogspot.com/2008/10/javadoc-is-not-enough-java2dia.html

doxygen has almost everything you need.

It's not clear if you want to create code from UML or reverse Engineer code into UML. If you want to create code from UML, the Netbeans UML project type is probably the easiest set of tools for Java.

If you want stand alone

StarUML is an older UML modeling tool. It follow most of the UML guidelines pre 2. It can handle generics, but only if you manually type them in. However, I don't think it correctly generates the generics if I remember correctly. You have to adjust the code after generation.

Although not free, I personnaly think that Umodel is worth the money if you do UML regularly.

ArgoUML by tigris.org: see here : it's multi-platform. If you prefer a GNU/linux app and you use KDE, you can use Umbrello.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!