How can I generate class diagrams, including associations between classes, from a Java project with 60+ classes?
-
-
Answer:
You may use Doxygen. This software will process your source code and produce different sorts of diagrams, including class diagrams, from it. Doxygen allows you to adjust different settings for chart generation, you can experiment with until you find a configuration that suits your needs. http://www.stack.nl/~dimitri/doxygen/
Jose Carlos Marquez at Quora Visit the source
Other answers
Use eUML2 plugin in Eclipse. It's free and pretty efficient in generating UML diagrams, given the source code. However, I would like to add here that what you are trying to do is Reverse Engineering of sorts. One doesn't usually go this way. You always prepare the Design Diagrams first, before writing any bit of code. Generating Class Diagrams using existing code defies the whole idea of Software Design.
Ritwik Dey
Related Q & A:
- How can I mount a network drive in Mac OS X in Java?Best solution by Stack Overflow
- HOW CAN I CHANGE MY NAME FROM MY ACCOUNT I MADE A MISTAKE?Best solution by Yahoo! Answers
- How can I connect a printer wirelessly to my laptop without a router? Which printer would be the best?Best solution by Yahoo! Answers
- How can I become a part time academic whilst already in a career?Best solution by Yahoo! Answers
- How Can i turn a black and white picture back into a colored picture?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.