Drawing Behavior

Drawing Behavior: Sequence Diagrams: Who Calls Whom, in Order, Sequence Diagrams: Loops, Choices and Waiting.

Updated

  1. Sequence Diagrams: Who Calls Whom, in Order (Apprentice): From this pass on, the design problems are about calls: who asks whom, in what order, and what comes back; a sequence diagram draws exactly that, as lifelines read from top to bottom, starting with a package scanned at the depot.
  2. Sequence Diagrams: Loops, Choices and Waiting (Journeyman): 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.