Skip to content

Commit

Permalink
entity_relations: add chart for flow of data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreddow committed Nov 12, 2024
1 parent 05616dd commit 6fb4e2f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions entity_relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,29 @@ erDiagram
Service-Worker }|--|{ iframe: "intercepts requests"
Service-Worker }|--|{ Frame-Component: "relays requests"
```

### Flow of data
```mermaid
flowchart
subgraph Browser
ServiceWorker -- Request --> HTTPClient
Webinterface -- Request --> ServiceWorker
subgraph WebWorker
subgraph WireGuardClient
HTTPClient -- Stream --> SmolTCP
SmolTCP -- Packet --> Boringtun
end
end
Boringtun -- Packet --> Websocket
end
subgraph Server
Websocket -- Packet --> Websocket-Endpoint
Websocket-Endpoint -- Packet --> UDP
end
subgraph ESP
UDP -- Packet --> Arduino-WireGuard
Arduino-WireGuard --> LWIP
end
```

0 comments on commit 6fb4e2f

Please sign in to comment.