update
This commit is contained in:
@@ -88,69 +88,46 @@ NATSBridge enables seamless communication across multiple platforms through NATS
|
|||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart TB
|
flowchart TB
|
||||||
subgraph JuliaApp["Julia Application"]
|
subgraph Applications["Applications"]
|
||||||
JuliaAppCode[App Code]
|
direction TB
|
||||||
JuliaBridge[NATSBridge.jl]
|
subgraph Platform1["Julia"]
|
||||||
JuliaNATS[<b>NATS.jl</b>]
|
App1[App Code] --> Bridge1[NATSBridge.jl]
|
||||||
end
|
Bridge1 --> NATS1[<b>NATS.jl</b>]
|
||||||
|
end
|
||||||
subgraph JSApp["JavaScript Application"]
|
subgraph Platform2["JavaScript"]
|
||||||
JSAppCode[App Code]
|
App2[App Code] --> Bridge2[NATSBridge.js]
|
||||||
JSBridge[NATSBridge.js]
|
Bridge2 --> NATS2[<b>nats.js</b>]
|
||||||
JSNATS[<b>nats.js</b>]
|
end
|
||||||
end
|
subgraph Platform3["Python/MicroPython"]
|
||||||
|
App3[App Code] --> Bridge3[NATSBridge.py/_mpy.py]
|
||||||
subgraph PythonApp["Python Application"]
|
Bridge3 --> NATS3[<b>nats.py</b>]
|
||||||
PythonAppCode[App Code]
|
end
|
||||||
PythonBridge[NATSBridge.py]
|
|
||||||
PythonNATS[<b>nats.py</b>]
|
|
||||||
end
|
|
||||||
|
|
||||||
subgraph MicroPythonApp["MicroPython Application"]
|
|
||||||
MpyAppCode[App Code]
|
|
||||||
MpyBridge[NATSBridge_mpy.py]
|
|
||||||
MpyNATS[<b>NATS</b>]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Infrastructure["Infrastructure"]
|
subgraph Infrastructure["Infrastructure"]
|
||||||
|
direction TB
|
||||||
NATS[<b>NATS Server</b><br/>Message Broker]
|
NATS[<b>NATS Server</b><br/>Message Broker]
|
||||||
FileServer[<b>HTTP File Server</b><br/>Upload/Download]
|
FileServer[<b>HTTP File Server</b><br/>Upload/Download]
|
||||||
end
|
end
|
||||||
|
|
||||||
JuliaAppCode --> JuliaBridge
|
NATS1 --> NATS
|
||||||
JSAppCode --> JSBridge
|
NATS2 --> NATS
|
||||||
PythonAppCode --> PythonBridge
|
NATS3 --> NATS
|
||||||
MpyAppCode --> MpyBridge
|
|
||||||
|
|
||||||
JuliaBridge --> JuliaNATS
|
NATS --> NATS1
|
||||||
JSBridge --> JSNATS
|
NATS --> NATS2
|
||||||
PythonBridge --> PythonNATS
|
NATS --> NATS3
|
||||||
MpyBridge --> MpyNATS
|
|
||||||
|
|
||||||
JuliaNATS --> NATS
|
Bridge1 -.->|HTTP POST| FileServer
|
||||||
JSNATS --> NATS
|
Bridge2 -.->|HTTP POST| FileServer
|
||||||
PythonNATS --> NATS
|
Bridge3 -.->|HTTP POST| FileServer
|
||||||
MpyNATS --> NATS
|
|
||||||
|
|
||||||
NATS --> JuliaNATS
|
FileServer -.->|HTTP GET| Bridge1
|
||||||
NATS --> JSNATS
|
FileServer -.->|HTTP GET| Bridge2
|
||||||
NATS --> PythonNATS
|
FileServer -.->|HTTP GET| Bridge3
|
||||||
NATS --> MpyNATS
|
|
||||||
|
|
||||||
JuliaBridge -.->|HTTP POST upload| FileServer
|
style Applications fill:#f0f0f0
|
||||||
JSBridge -.->|HTTP POST upload| FileServer
|
style Infrastructure fill:#f0f0f0
|
||||||
PythonBridge -.->|HTTP POST upload| FileServer
|
|
||||||
MpyBridge -.->|HTTP POST upload| FileServer
|
|
||||||
|
|
||||||
FileServer -.->|HTTP GET download| JuliaBridge
|
|
||||||
FileServer -.->|HTTP GET download| JSBridge
|
|
||||||
FileServer -.->|HTTP GET download| PythonBridge
|
|
||||||
FileServer -.->|HTTP GET download| MpyBridge
|
|
||||||
|
|
||||||
style JuliaApp fill:#c5e1a5
|
|
||||||
style JSApp fill:#bbdefb
|
|
||||||
style PythonApp fill:#f8bbd0
|
|
||||||
style MicroPythonApp fill:#f0f0f0
|
|
||||||
style NATS fill:#fff3e0
|
style NATS fill:#fff3e0
|
||||||
style FileServer fill:#f3e5f5
|
style FileServer fill:#f3e5f5
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user