The AppMap team is excited to announce that automatic, interactive sequence diagrams for Java applications in the IntelliJ IDE is live!
(Also available in VS Code)
Sequence diagrams are incredibly powerful for visualizing and understanding runtime behaviors. Their inherent structure - objects flowing across the page, time flowing down the page - is intuitive and easy to learn. And they are one of the best tools for developers and technical non-developers (like engineering managers and product managers) to use when discussing code design.
AppMap can now generate sequence diagrams automatically from any running Java application.
Before, sequence diagrams can only be created by manually inspecting code listings or debugging a system. With AppMap, you simply run your application and accurate sequence diagrams are generated instantly.
They're interactive π±!
Once you install AppMap into IntelliJ and generate your own sequence diagrams, you can click on any function call in the sequence to inspect the code.
Each vertical "lifeline" in the diagram floats as you scroll down long interactions, making it easy to keep track of which lifeline is involved in any function call.
Lifelines can also be hidden to make the sequence diagram even more readable. This is especially useful if you want to hide calls to things which are less important (for example, a logging class).
Examine loops and call timings β°
Loops are automatically detected and rendered in a summarized fashion to prevent the sequence diagram from becoming too long. All function call durations are shown, so you can quickly see where your code is spending the most time doing its processing.
Always accurate sequence diagrams β
The biggest challenge with manually-created sequence diagrams is that they quickly go out of date compared to the current behavior of the system. Because AppMap records the runtime behavior of your application, the sequence diagrams it creates are always guaranteed to be accurate and complete.
Easily view database queries - even auto-generated ones π
AppMap captures all SQL queries made to a database while your application runs, even if your database queries are automatically generated by an ORM/JPA framework like Hibernate.
3 simple steps
- Install the AppMap plugin into JetBrains
- Run your application (or your tests) with the AppMap library loaded
- Open the generated AppMap to view the sequence diagram
Available now for IntelliJ and JetBrains
AppMap with sequence diagram support is now available for installation from the JetBrains marketplace, and it is free for personal use and for open source projects. Get it now!
(Also available in VS Code)
Top comments (2)
Awesome!
ππ