Quick Answer
A UML sequence diagram shows messages exchanged between participants in time order from top to bottom. This free browser maker loads a complete checkout interaction with lifelines, activation bars, call/return arrows and a loop frame — edit visually and export SVG, PNG, PDF or Visio (.vsdx) with no sign-up or shape limits.
What this template looks like in the editor
![Diagram editor showing a UML sequence diagram for card payment across Customer, Web app and Payment service lifelines inside a loop [until authorised] frame](/screenshots/diagram-editor-sequence-diagram.webp)
What’s inside this starter template
- Three vertical lifelines: Customer, Web app and Payment service, with activation bars marking active processing spans.
- Seven timed messages: checkout(cart), charge(card, total), requires 3-D Secure, redirect to bank, bank callback, complete(auth) and authorised.
- A combined-fragment frame labelled loop [until authorised] grouping the 3-D Secure challenge round-trip.
- A folded-corner note reading "Retries up to 3 times" attached beside the challenge loop.
Documenting API and microservice handshakes cleanly
Sequence diagrams shine when a bug or design question spans three or more participants — browser, API gateway, payment provider, webhook worker — where a static architecture box diagram hides the ordering of calls and failure paths. Put the initiating user or client on the far left and external third-party systems on the far right so normal calls flow left-to-right and replies return right-to-left.
Name arrows after the real RPC method, HTTP verb and path, or event name (not vague labels like "sends data"), and wrap retries, timeouts or fallback branches inside a labelled Frame (loop, alt, opt). When you need to tweak spacing for a design review without wrestling text-only diagram DSL syntax, dragging lifelines and arrows directly and exporting SVG is noticeably faster.
How It Works
Double-click the participant headers (Customer, Web app, Payment service) to name your services, actors or APIs.
Double-click any horizontal message arrow to edit the method call, HTTP route or return payload.
Drag another Lifeline from the UML & software palette to add a participant, and resize the loop Frame box around repeated steps.
Export SVG for a GitHub PR or design doc, or PDF / Visio for an architecture review.
Key Facts
- Lifeline shapes with header boxes and vertical dashed timelines
- Activation bar rectangles sized to each service’s active execution window
- Solid call arrows and dashed return arrows with inline message labels
- Combined-fragment frames for loop, alt and opt blocks plus corner-folded notes
- Export vector SVG for architecture RFCs, plus PNG, PDF, draw.io and Visio (.vsdx)
Frequently Asked Questions
What is the difference between a solid arrow and a dashed arrow in a sequence diagram?
A solid arrow shows a synchronous call or request sent from the caller to the callee (such as charge(card, total)). A dashed arrow shows a return message or asynchronous reply travelling back to the caller.
How do I draw alt, opt or loop fragments in a sequence diagram?
Drag a Frame shape from the UML & software palette over the messages that belong inside the block and label its header tab — for example loop [until authorised] or alt [cache hit].
Can I generate a sequence diagram from a plain-English API flow?
Yes. Open Tools → AI diagram with your own API key and describe the request/response steps between services. The result inserts as editable shapes you can refine on the canvas.
Related diagram types
- UML class diagramShow the static classes and interfaces behind the objects exchanging messages.
- State machineCapture all legal states and guard conditions for a single entity across calls.
- Cloud architectureZoom out to show the load balancers, caches, queues and subnets hosting these services.
Comparing features against paid tools or opening an existing .vsdx file? Read the full Visio & Lucidchart alternative guide.
How this works
This template runs on the same client-side maxGraph diagram engine as the main editor. Every shape, connector and custom Shape Data property stays in your browser tab, autosaves to your device’s IndexedDB, and exports straight to PNG, SVG, PDF, PowerPoint, Word, draw.io or Visio (.vsdx) without uploading your diagram.
What this editor can’t do
- Messages are positioned manually along lifelines rather than auto-re-spaced when you insert a new call in the middle — box-select lower arrows and nudge them down with the arrow keys.
- Text-to-sequence syntax (like PlantUML/Mermaid text parsing) is not built in; use Tools → AI diagram with your own key if you want text-to-diagram drafting.