From 18da1df71e538cd98032937c542154f0efcb6fbb Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 1 May 2023 15:18:40 +0200 Subject: Docs: Move state machine to API --- docs/src/gettingstarted/debugging/fsm.md | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 docs/src/gettingstarted/debugging/fsm.md (limited to 'docs/src/gettingstarted/debugging/fsm.md') diff --git a/docs/src/gettingstarted/debugging/fsm.md b/docs/src/gettingstarted/debugging/fsm.md deleted file mode 100644 index 45ed281..0000000 --- a/docs/src/gettingstarted/debugging/fsm.md +++ /dev/null @@ -1,21 +0,0 @@ -# Finite state machine - -The eduvpn-common library uses a finite state machine internally to keep track of which state the client is in and to communicate data callbacks (e.g. to communicate the Authorization URL in the OAuth process to the client). - -## Viewing the FSM -To view the FSM in an image, set the debug variable to `True`. This -outputs the graph with a `.graph` extension in the client-specified -config directory (See [API](../../api/index.html)). The format of this -graph is from [Mermaid](https://mermaid-js.github.io/mermaid/#/). You -can convert this to an image using the [Mermaid command-line client](https://github.com/mermaid-js/mermaid-cli) installed or from the Mermaid web site, the [Mermaid Live Editor](https://mermaid.live) - -## FSM example -The following is an example of the FSM when the client has obtained a Wireguard/OpenVPN configuration from an eduVPN server - -![](./fsm_example.svg) - -The current state is highlighted in the cyan color. - -## State explanation - -For the explanation of what all the different states mean, see the [API documentation](/api/overview/index.md#states) -- cgit v1.2.3