COMPARE

C4 and UML

An architectural zoom model and a broader modeling language answer overlapping but different questions.

How these approaches differ and work together
QuestionC4 modelUML
Primary jobChoose architectural abstractions and levelsDescribe structure and behavior through multiple diagram types
Useful first viewSystem context or containerSequence, class, activity, or state view according to the question
Useful combinationShow the application and its neighborsTrace one interaction through those participants

Try the distinction

You have a good system context view but cannot see whether authorization occurs before a data read. What should you add?

Open the reasoning

Add an interaction view, such as a UML sequence diagram, using consistent participant names. More structural boxes will not establish call order.

Go deeper

Architecture & structure · Model

C4 model

Explain a software architecture through a small set of consistent levels of detail.

Introductory
Architecture & structure · Modeling language

UML

Choose a defined notation for structure, interactions, activities, or state changes.

Intermediate