docs: add sequence diagram for UI protocol
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 4 Feb 2024 14:41:00 +0000 (15:41 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 4 Feb 2024 14:41:00 +0000 (15:41 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
README.md

index e171b3e8bf5ac4fa95a532e7906f85ebaebeb92a..f34f12290b851089e84414a247458b1bd0177add 100644 (file)
--- a/README.md
+++ b/README.md
@@ -500,6 +500,12 @@ All kind of OCPP parameters are supported in charging station configuration or c
 
 Protocol to control the simulator via a Websocket or HTTP server.
 
+```mermaid
+sequenceDiagram
+Client->>UI Server: request
+UI Server->>Client: response
+```
+
 ### HTTP Protocol
 
 To learn how to use the HTTP protocol to pilot the simulator, an [Insomnia](https://insomnia.rest/) HTTP requests collection is available in [src/assets/ui-protocol](./src/assets/ui-protocol) directory.