Member-only story
Painting In UML
Date With The Mermaid
5 min readFeb 21, 2025
There are many versions of UML. Previously, we have been depicting how to draw various diagrams. Now, comes mermaid.
We may want to start from the user (client) interfacing services via API and/or SDK → gateway (API) → …
The gateway may need some routing before it hits a curating cordon of load-balancers.
… → route → load-balancers → compute (lamda pods) → …
the computes have to store the results somewhere …
… → database /storage
graph LR
%% Client Layer
subgraph Clients["Client Layer"]
U1["Web Client"]
U2["Mobile Client"]
U3["SDK Client"]
end
%% API Gateway Layer
subgraph Gateway["API Gateway Layer"]
AG["API Gateway"]
CR["Cache Redis"]
end
%% Routing Layer
subgraph Router["Routing Layer"]
RT["Router"]
LB["Load Balancer"]
end
%% Compute Layer
subgraph Compute["Compute Layer (Zone A)"]
P1["Pod 1"]
P2["Pod 2"]
L1["Lambda"]
end
subgraph…