Dynamic Diagram

A supplementary C4 diagram that shows how elements of a C4 model interact at runtime for one scenario, using numbered interactions.

What is Dynamic Diagram?

The dynamic diagram reuses systems, containers or components from the static C4 model and numbers the interactions between them to show the order of events in a single feature, story or use case. It can be drawn in a collaboration style (free layout, numbered arrows) or a sequence style (lifelines, time running down). Each interaction should be an instance of a relationship that already exists in the static model. The C4 model recommends using dynamic diagrams sparingly, for flows with complicated or recurring interactions.

Also known as: c4 dynamic diagram, runtime view, c4 sequence diagram.

Related terms

  • C4 Model — A lightweight architecture visualization approach that describes software systems across four levels: System Context, Container, Component, and Code.
  • Container Diagram — C4 level 2 diagram showing the deployable/executable units (applications, services, databases) that make up a software system.
  • Component Diagram — C4 level 3 diagram decomposing a container into groups of related functionality (components) and their collaborations.

Learn more