summaryrefslogtreecommitdiff
path: root/docs/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/api')
-rw-r--r--docs/src/api/statemachine.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/api/statemachine.md b/docs/src/api/statemachine.md
index 260266c..60a76ba 100644
--- a/docs/src/api/statemachine.md
+++ b/docs/src/api/statemachine.md
@@ -12,6 +12,8 @@ can convert this to an image using the [Mermaid command-line client](https://git
## FSM example
The following is an example of the FSM when the client has obtained a Wireguard/OpenVPN configuration from an eduVPN server
+<div class="statemachine">
+
```mermaid
graph TD
@@ -94,6 +96,8 @@ style Got_Config fill:cyan
Got_Config(Got_Config) -->|Get a new configuration| Loading_Server
```
+</div>
+
The current state is highlighted in the <span style="color:cyan">cyan</span> color.
## State explanation