Skip to content

Diagrams ​

A diagram slide: a request hitting a cache, with hit and miss branches
docs.scrimba.com

When the topic is how things connect, the slide is a diagram. Explain picks the kind that fits:

  • Flowcharts for branching logic and architecture: the check that can fail, the cache hit versus the miss, the loop back
  • Sequence diagrams for parties exchanging messages: browser to server to database, request and response, handshakes
  • State diagrams for one thing moving through named states: a connection, a request lifecycle, a UI mode
  • Class and entity-relationship diagrams for data models: what each type or table holds and how they relate

The narration walks the diagram in order, with the pointer landing on each node, and on each arrow's label, as it's mentioned.

New explainers show these structures as moving diagrams instead. Explainers made earlier keep their diagram slides, and editing one still draws diagrams.

Diagrams show structure that stands still. For parts that pass things between them, the lesson uses a moving diagram, for maths or geometry in motion an animation, and for a topic that splits into four parts worth seeing side by side, an infographic.

Getting good diagram slides ​

Mention the flow you care about: with a diagram of the request flow or show the states a connection goes through steers the explainer toward the right picture.