Skip to content

Commit

Permalink
Add simple state machine diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
ziopio committed May 30, 2024
1 parent d521f36 commit 458d920
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/grisp_connect_client.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
```mermaid
stateDiagram-v2
[*] --> init
init --> waiting_ip: connect == true
init --> idle: connect == false
idle --> waiting_ip: connect()
waiting_ip --> connecting: ip == true
connected --> waiting_ip: disconnected()
connected --> connected: request()
connected --> connected: handle_message()
connecting --> connected: ws_is_connected == true
connecting --> waiting_ip: disconnected()
```

0 comments on commit 458d920

Please sign in to comment.