Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.14 KB

File metadata and controls

18 lines (12 loc) · 1.14 KB

WebSequenceDiagrams

Structurizr for Java also includes a simple exporter that can create dynamic diagram definitions compatible with WebSequenceDiagrams.

Simply create your software architecture model and views as usual, and use the WebSequenceDiagramsWriter class to export the dynamic views and generate WebSequenceDiagrams diagram definitions. A WebSequenceDiagram version of the Big Bank plc dynamic diagram looks something like this:

title Web Application - Dynamic - SignIn

Customer->Sign In Controller: Requests /signin from
Customer->Sign In Controller: Submits credentials to
Sign In Controller->Security Component: Calls isAuthenticated() on
Security Component->Database: select * from users where username = ?

If you copy/paste this into WebSequenceDiagrams, you will get something like this:

A simple WebSequenceDiagrams diagram