update big picture mermaid

This commit is contained in:
2026-03-13 21:04:37 +07:00
parent 824468336d
commit 46f024df4c

View File

@@ -26,11 +26,11 @@ NATSBridge implements the **Claim-Check pattern** for efficient handling of larg
flowchart TD flowchart TD
subgraph "Sender Application" subgraph "Sender Application"
A1[User Code] A1[User Code]
A2[smartsend Function] A2[smartsend]
A3[Serialize Data] A3[_serialize_data]
A4[Transport Selection] A4[Transport Selection]
A5[Publish to NATS] A5[Build Envelope]
A6[File Server Upload] A6[Publish to NATS]
end end
subgraph "NATS Broker" subgraph "NATS Broker"
@@ -39,10 +39,10 @@ flowchart TD
subgraph "Receiver Application" subgraph "Receiver Application"
C1[Subscribe to NATS] C1[Subscribe to NATS]
C2[smartreceive Function] C2[smartreceive]
C3[Deserialize Data] C3[Parse Envelope]
C4[Transport Selection] C4[Process Payloads]
C5[Fetch from File Server] C5[Deserialize Data]
end end
A1 --> A2 A1 --> A2
@@ -50,21 +50,17 @@ flowchart TD
A3 --> A4 A3 --> A4
A4 -->|Direct| A5 A4 -->|Direct| A5
A4 -->|Link| A6 A4 -->|Link| A6
A6 --> A5 A6 --> B1
A5 --> B1
B1 --> C1 B1 --> C1
C1 --> C2 C1 --> C2
C2 --> C3 C2 --> C3
C2 --> C4
C4 -->|Fetch| C5
C5 --> C3
C3 --> C4 C3 --> C4
C4 --> C5
style A1 fill:#e8f5e9,stroke:#4caf50 style A1 fill:#e8f5e9,stroke:#4caf50
style B1 fill:#fff3e0,stroke:#f57c00 style B1 fill:#fff3e0,stroke:#f57c00
style C1 fill:#e3f2fd,stroke:#2196f3 style C1 fill:#e3f2fd,stroke:#2196f3
style A6 fill:#fef3c7,stroke:#f59e0b style A4 fill:#fef3c7,stroke:#f59e0b
style C5 fill:#fef3c7,stroke:#f59e0b
``` ```
### Key Design Principles ### Key Design Principles