Java – How to Generate a Sequence Diagram from Java Source Code

javareverse-engineeringsequence-diagramuml

I have a question about generating sequence diagram from Java source code. When I googled I saw someone told to use visual paradigm (VP), but it does not generate sequence diagram for me. Some steps in my VP are different from manual. The manual says to choose method but my VP does not allow to select method in a special class. Reverse Engineering Sequence Diagram from Java Source Code

Does anyone have a new idea to generate sequence diagram from Java source code?

Best Answer

With Intellij 2019 there are two plugins can do this job:

  1. SequenceDiagram (currently 1.3). Go in your in Class method that you want to analyse and Tool>SequenceDiagram : enter image description here

  2. ZenUML support (currently 2019.1.2) enter image description here