style: enhance README diagrams with improved subgraph labels and node styling for clarity

This commit is contained in:
Firman Ramdhani
2026-05-28 12:33:40 +07:00
parent c510feadbb
commit b4af762baa
4 changed files with 96 additions and 26 deletions
+19 -5
View File
@@ -27,7 +27,7 @@ graph TD
COMMON[Common Vocabulary]
end
subgraph Backend ["Backend API"]
subgraph Backend ["Backend API (External)"]
SYNC[Language Sync Endpoint]
TENANT[Tenant Config Endpoint]
end
@@ -41,10 +41,24 @@ graph TD
SYNC -.->|fails? rollback| I18N
TENANT -.->|applyTenantOverrides| I18N
style I18N fill:#4263eb,color:#fff,stroke:#fff
style Apps fill:#f8f9fa,stroke:#ced4da
style Core fill:#f8f9fa,stroke:#ced4da
%% Styling Subgraphs (Backgrounds)
style Apps fill:#e7f5ff,stroke:#74c0fc,stroke-width:2px,color:#1864ab
style Core fill:#f8f9fa,stroke:#ced4da,stroke-width:2px,color:#495057
style Backend fill:#fff4e6,stroke:#ffd8a8,stroke-width:2px,color:#d9480f
%% Styling App Nodes (Blue)
style UI fill:#339af0,stroke:#1864ab,color:#fff
style DICT fill:#339af0,stroke:#1864ab,color:#fff
%% Styling Core Nodes (Purple Engine, Green Storage/Data)
style I18N fill:#845ef7,stroke:#5f3dc4,color:#fff
style STORE fill:#20c997,stroke:#089981,color:#fff
style COMMON fill:#20c997,stroke:#089981,color:#fff
%% Styling Backend Nodes (Orange/Network)
style SYNC fill:#fd7e14,stroke:#d9480f,color:#fff
style TENANT fill:#fd7e14,stroke:#d9480f,color:#fff
```
---