开发者

Generating UML Class Diagram [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question 开发者_C百科

Is there any specific tool to generate UML class diagram for the whole java project. i tried with ObjectAid UML plugin and generated a UML class diagram. I need to generate class diagram for all the classes by selecting the project src folder. Is there anyway to generate it?

Thanks.


I'm biased but you should also check out the Code Understanding Tool from Architexa. It will generate a layered diagram for you of your whole code base. You can create class diagrams for individual packages or classes.


Not sure about Eclipse or its plug-ins, but you can surely do it in Netbeans. Here is how.

Official page of Netbeans UML Plugin.


The best reverse engineering that I have ever seen is EclipseUML Omondo.

You can use the Eclipse 3.3 and test during 30 days the EclipseUML build: See dowload page at: http://www.ejb3.org/download_studio_eclipse_3.3.html This is Plenty of time enough to create class and sequence diagrams from existing code.


See this article: http://java.dzone.com/articles/reverse-engineer-source-code-u

I think it describes exactly what you need.


Try the MoDisco Eclipse plugin


You can try Sparx EA tool: http://www.sparxsystems.com.au/

But if there is too many classses in a package you may get very "ugly" class diagram


You can use UMLgraph: http://www.umlgraph.org/

It creates output for graphviz, which will layout the different clases. It is written as a plugin (doclet) for javadoc.


You can try tags2uml, which takes in a tags file produced by ctags, and produces a DOT file which can be transformed by GraphViz into a UML class diagram: https://github.com/ruben2020/tags2uml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜