# Getting started with sequence diagrams

A [sequence diagram](https://en.wikipedia.org/wiki/Sequence_diagram) is a type of UML (Unified Modeling Language) diagram that shows the interactions between various components or objects in a system. It provides a visual representation of the order of messages or events over time.

How to create and edit sequence diagrams in Whimsical - YouTube

Tap to unmute

[How to create and edit sequence diagrams in Whimsical](https://www.youtube.com/watch?v=d9-qDJas9PM) [Whimsical](https://www.youtube.com/channel/UCpiKdJs1taP6RrHFDk7qJbg)

Whimsical3.97K subscribers

## How to create a sequence diagram [Copied!Link to this section](https://whimsical.com/learn/get-started/sequence-diagrams#how-to-create-a-sequence-diagram)

There are 4 ways you can create a sequence diagram in Whimsical:

**1. Via diagram shapes:** Click **Diagram shapes** (keyboard shortcut `S`) at the top of the toolbar and select the **Sequence diagram actor** object:

**2. Via All tools:** Use the **All tools** menu (➕ icon or keyboard shortcut `/`) from the toolbar to search for the “Sequence diagram actor” object:

**3. Via** **[Whimsical AI](https://whimsical.com/learn/get-started/whimsical-ai):** Use the AI feature from the toolbar (✨ icon or keyboard shortcut `Cmd` + `.` (Mac) or `Ctrl` + `.` (PC)). Once the AI modal pops up, switch to the **Sequence diagram** tab and enter your prompt:

**Note:** It's not currently possible to define the style, color, or layout of generated diagrams directly in your prompt.

**4. Via** **Mermaid:** [Paste your Mermaid code](https://whimsical.com/learn/boards/mermaid) directly onto a Whimsical board to create a sequence diagram:

**Tip:** Click and drag on the vertical line of a Sequence diagram actor to add a message between objects:

Back to top

## Summary

1. [Getting started with sequence diagrams](https://whimsical.com/learn/get-started/sequence-diagrams)
2. [How to create a sequence diagram](https://whimsical.com/learn/get-started/sequence-diagrams#how-to-create-a-sequence-diagram)

Copy Link
