How to generate UML diagrams programmatically in Java?

How can I generate sequence diagrams from Java source code?

  • Is there any command line tool which takes Java source and generates sequence diagrams? Or are there any tools that convert Java code to XML and convert the XML to sequence diagrams in any of the standard image format using open api ? i know some tools which generate sequence diagrams from text description such as uml graph. is there any way to convert java code to text description format.so that i can use the available tools.

  • Answer:

    You can use a plugin in Eclipse. Kindly use http://maintainj.com/ plugin and it will generate class and sequence diagrams from YOUR source code.

pavan at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

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.