Sequence diagrams show how objects or components interact over time by depicting the messages exchanged between them in chronological order. They use vertical lifelines for participants and horizontal arrows for messages, making them ideal for documenting API interactions, authentication flows, and microservice communication. viz42 generates sequence diagrams with proper activation bars, return messages, and loop/alt fragments.
User authentication with OAuth 2.0: User clicks login, App redirects to Auth Provider, user enters credentials, Auth Provider returns authorization code, App exchanges code for access token, App fetches user profile with token, App creates session and redirects user to dashboard
Yes. Use keywords like 'repeat', 'loop', 'if/else', or 'optionally' in your prompt. viz42 will generate proper loop, alt, and opt combined fragments.
Mention whether calls are synchronous (request/response) or asynchronous (fire-and-forget, queue). viz42 uses solid arrows for sync and dashed arrows for async messages.
Absolutely. Include database participants in your description and viz42 will show queries and results as messages on the database lifeline.
AI Sequence Diagram Generator — Read practical guides — Try it free