PlantUML — Sequence (full feature set)
Box grouping, autonumber with format, references, lifecycle (create/destroy), parallel '&' messages, dividers, separators, return arrows.
Rendering…
Make it your own.
@startuml
hide footbox
autonumber "<b>[000]"
box "Frontend" #LightBlue
participant Browser
end box
participant Server
database Postgres
== Initialisation ==
Browser -> Server : login()
& Browser -> Server : sendAnalytics()
return token
ref over Browser, Server : See auth specification
autonumber stop
... 5 minutes later ...
autonumber resume 10 "<b>(<u>##</u>)"
create Worker
Server -> Worker ++ : spawn(job)
Server <-- Worker -- : done
destroy Worker
== Cleanup ==
Server -> Postgres : INSERT log
Postgres --> Server : ok
@enduml