Create sequence diagrams online

Example from A Smart Bear: How to sell to large companies

sequence diagram

See link

That's nice, but check out the PlantUML extension to @code Similar syntax but supports more and no service dependency.

I've installed PlantUML. The docs for it are here:

I created this file:

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response

And then used Alt-D to preview the current file. (This relied on having restarted VS Code after installing the PlantUML extension.

Looks like you can style the diagrams with a wsd file (which stands for 'websequencediagram':

    !include ../includes/defines.wsd
    !include ../includes/myStyles.wsd
    'contents goes here...
Now, you can just replace them with a placehold 'autoinclude,

    'contents goes here...

More details about sequence-diagram syntax here:


results matching ""

    No results matching ""