Templates / flowchart
Load-balanced network topology
A standard three-tier topology: load balancer, app tier, and a primary/replica database pair.
Preview
Mermaid 11 renderer
Rendering preview...
Mermaid source
flowchart
flowchart TD
internet((Internet)) --> lb[Load balancer]
lb --> app1[App server 1]
lb --> app2[App server 2]
lb --> app3[App server 3]
app1 --> primary[(Primary DB)]
app2 --> primary
app3 --> primary
primary -.replication.-> replica[(Read replica)]
app1 -.reads.-> replicaMore templates
flowchartArchitecture
Microservices architecture
A service map with an API gateway, core services, and shared infrastructure. A solid starting point for README architecture sections.
sequenceDiagramProcess
User login sequence
A login flow with token issuance and a failure branch. Useful for documenting auth endpoints and session behavior.
stateDiagram-v2Process
Order state machine
Lifecycle states for an e-commerce order, from creation to fulfillment, with cancellation and refund paths.