Sequence Diagram
Create UML sequence diagrams to visualize interactions between systems, services, and users. Real-time preview, no signup.
sequenceDiagram
actor U as User
participant App
participant Auth as Auth Service
participant DB as Database
U->>App: Submit login form
App->>Auth: POST /authenticate
activate Auth
Auth->>DB: Query user credentials
DB-->>Auth: User record
Auth-->>App: JWT token
deactivate Auth
App-->>U: Redirect to dashboard
Note over App,Auth: Token valid for 24hDocument REST API calls, authentication flows, and service-to-service communication.
Visualize microservice interactions, message passing, and event-driven architectures.
Map out the sequence of events leading to an issue to identify where failures occur.
sequenceDiagramDeclare diagram typeparticipant ADeclare a participantactor U as UserParticipant shown as person iconA->>B: messageSolid arrow with messageA-->>B: replyDashed reply arrowactivate AShow activation barNote over A,B: textAdd note spanning participantsloop Every 5sLoop blockalt/elseConditional blockOpen FlowViz and start with sequenceDiagram on the first line.
Declare your participants: participant Server or actor User for people.
Write messages between participants: A->>B: Request message for solid arrows.
Use A-->>B: Response for dashed reply arrows.
Add activate A and deactivate A to show processing time bars.
Use Note over A,B: text to add annotations.
Export as SVG when your diagram is complete.
Related tools
No signup. No install. Just open the editor and start writing.