Three views of the same system
Choose the question before choosing the shapes. The difference is the information you emphasize, not which diagram looks more technical.
| View | Main question | What to show |
|---|---|---|
| Flowchart | What happens next, and under which condition? | Actions, decisions, branches and loops |
| Sequence diagram | Who sends which message, and when? | Participants, lifelines, ordered calls and responses |
| Architecture diagram | What are the parts, and how do they connect? | Components, boundaries, dependencies and data stores |
Example: describe order validation with a flowchart
Suppose a customer submits an order. The system validates the basket, checks stock and either accepts the order or asks the customer to update it. A flowchart is a good fit because the main explanation is a decision path.
Draw Validate basket, then Items available? The Yes path can lead to Create order. The No path can lead to Show unavailable items. This makes the business rule visible without introducing every service that implements it.
If you need to explain who owns each step, add that information deliberately or create a separate view. Do not assume that every process box corresponds to a different service.
Example: describe the API request with a sequence diagram
Now consider the successful create-order request. The Client calls Orders API, the API writes to Database, the database returns an identifier, and the API sends a response. A sequence diagram is useful because message order is the focus.
This view can expose a different question from the flowchart: does the response arrive before or after persistence? Does an event publish happen synchronously? If a write fails, who receives the error?
Keep each diagram tied to a scenario. A successful request and a retry after a timeout may deserve separate views when combining them would obscure the sequence.
Example: describe service boundaries with architecture
A new teammate may first need a component map: Web app connects to Orders API; Orders API connects to Database and Queue. This architecture view explains the structure without claiming a specific execution order.
Use it to discuss ownership, dependencies and external systems. Then link to a sequence diagram for a particular request and a flowchart for the validation rules. These focused views stay easier to read as the system grows.
A quick way to choose
Ask your reader to finish the sentence “I need to understand…” If the answer is a decision rule, start with a flowchart. If it is an interaction or API contract, start with a sequence diagram. If it is the shape of the system, start with architecture.
When using AI, put that choice at the beginning of your prompt. Name the view and its boundary instead of asking for a generic system diagram. Review the output against the same question you started with.
Common questions
- Can a flowchart replace a sequence diagram?
- It can explain the overall process, but it usually does not show participant lifelines and message order as clearly. Use a sequence diagram when the interaction between participants is the main question.
- Do I need all three diagrams?
- Only if they answer distinct questions for your audience. A small process may need one flowchart; a technical design review may benefit from structure, sequence and decision views.
Put your next diagram in context.
Tell us what your team, class or lab needs to explain. Join the early access list to explore Nensea’s editable AI diagrams.
Get early access to Nensea