A complete C4 Context diagram using Mermaid syntax. Person, System, System_Ext, and Rel elements — the industry standard for architecture documentation.
Copy this Mermaid C4 code into Cybewave Studio or any Mermaid-compatible editor.
C4Context
title System Context Diagram - Online Banking
Person(customer, "Banking Customer", "A customer of the bank with personal accounts.")
Person(admin, "Bank Admin", "Internal staff managing customer accounts.")
System(bankingSystem, "Online Banking System", "Allows customers to view balances, make transfers, and pay bills.")
System_Ext(emailSystem, "Email System", "SendGrid - sends transactional emails.")
System_Ext(paymentGateway, "Payment Gateway", "Stripe - processes card payments.")
System_Ext(creditBureau, "Credit Bureau", "Provides credit score checks.")
Rel(customer, bankingSystem, "Views balances, transfers money")
Rel(admin, bankingSystem, "Manages accounts, reviews transactions")
Rel(bankingSystem, emailSystem, "Sends emails using")
Rel(bankingSystem, paymentGateway, "Processes payments via")
Rel(bankingSystem, creditBureau, "Checks credit scores")The C4 model is the standard for architecture documentation.
Uses official C4 model elements: Person, System, System_Ext, and Rel for standardized architecture docs.
Shows the big picture — who uses the system and what external systems it depends on.
Drill down from Context to Container and Component diagrams using the same C4 syntax.
C4 diagrams are the industry standard for software architecture documentation and ADRs.
C4 is a model for visualizing software architecture at four levels: Context (who uses the system), Container (high-level tech choices), Component (internal structure), and Code (class-level). This template starts at the Context level.
Yes. Open this template in Cybewave Studio and ask the AI to generate a Container diagram for the Banking System, or a Component diagram for any specific container. The AI uses Mermaid C4 syntax.
Yes. Mermaid supports C4Context, C4Container, C4Component, and C4Deployment diagram types natively. Cybewave Studio renders them with proper C4 styling.
Full C4 diagramming guide
All four C4 levels
C4 for architecture docs
Generate diagrams with AI
Multi-tenant platform
Service mesh & API gateway
Interview-ready examples
Version-controlled diagrams
Free to start. 50 AI credits/month. No credit card required.
Get started for free →Or explore pricing plans for teams.