How to Generate a Sequence Diagram from Java Source Code

AFF picture AFF · Jun 26, 2013 · Viewed 91.1k times · Source

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?

Answer

julien picture julien · Apr 27, 2016

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