# Sequence Diagrams: Loops, Choices and Waiting

Real calls repeat, branch and sometimes don't wait for an answer; a sequence diagram shows each with a loop frame, an alt frame, an object created partway down, and an open arrowhead, and Mermaid writes the whole diagram as a few lines of text.

![Cheat sheet: Sequence Diagrams: Loops, Choices and Waiting](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d5b684c969f24441b664a688bdd082eb.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Combined Fragment, OOP, Sequence Diagram, software-development
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-sequence-diagram-frames-cheat-sheet
