2.10. UML Sequence Diagram
2.10.1. Connections
->- Solid line without arrow-->- Dotted line without arrow->>- Solid line with arrowhead-->>- Dotted line with arrowhead-x- Solid line with a cross at the end (async)--x- Dotted line with a cross at the end (async)
2.10.2. Sync
@startuml
autonumber
actor User
participant Server
database Database
activate User
User -> Server: HTTP Request
activate Server
Server -> Database: SQL Query
activate Database
Database --> Server: SQL Result
deactivate Database
Server --> User: HTTP Response
deactivate Server
deactivate User
@enduml
2.10.3. Async
@startuml
autonumber
actor User
participant Server
activate User
User -x Server: HTTP Request
activate Server
User -x Server: HTTP Request
Server --x User: HTTP Response
User -x Server: HTTP Request
Server --x User: HTTP Response
Server --x User: HTTP Response
deactivate Server
deactivate User
@enduml