Skip to content

Commit 9e65022

Browse files
authored
docs: improvements to WIP mermaid diagram
1 parent d51cb07 commit 9e65022

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,22 @@ We have a plan to address all of these and we're well on our way. See the table
179179
For a complete list of the things ActivityWatch can track, [see the page on *watchers* in the documentation](https://docs.activitywatch.net/en/latest/watchers.html).
180180

181181

182-
## Architectore
182+
## Architecture
183183

184184
```mermaid
185185
graph TD;
186-
W[Watchers] -- Capture and send events --> S[Server];
187-
S --> aw-sync --> SF[Sync folder];
188-
SF --> aw-sync --> S;
189-
UI[Web UI] -- Fetches data --> S;
186+
aw-qt -- Manages --> S;
187+
aw-qt -- Manages --> aw-notify -- Queries --> S;
188+
aw-qt -- Manages --> W1[aw-watcher-window] -- Watches --> S1[Active window] -- Heartbeats --> S[aw-server];
189+
aw-qt -- Manages --> W2[aw-watcher-afk] -- Watches --> S2[AFK status] -- Heartbeats --> S[aw-server];
190+
Browser -- Manages --> aw-watcher-web -- Watches --> S3[Active tab] -- Heartbeats --> S;
191+
SF -- Dropbox/Syncthing/etc --> SF;
192+
S <-- aw-sync --> SF[Sync folder];
193+
S -- Serves --> UI[aw-webui];
194+
195+
%% User -- Interacts --> UI;
196+
%% User -- Observes --> aw-notify;
197+
%% User -- Interacts --> aw-qt;
190198
191199
classDef lightMode fill:#FFFFFF, stroke:#333333, color:#333333;
192200
classDef darkMode fill:#333333, stroke:#FFFFFF, color:#FFFFFF;
@@ -197,8 +205,8 @@ classDef darkModeLinks stroke:#FFFFFF;
197205
class A,B,C,D,E,G lightMode;
198206
class A,B,C,D,E,G darkMode;
199207
200-
linkStyle 0 stroke:#FF4136, stroke-width:2px;
201-
linkStyle 1 stroke:#1ABC9C, stroke-width:2px;
208+
%% linkStyle 0 stroke:#FF4136, stroke-width:2px;
209+
%% linkStyle 1 stroke:#1ABC9C, stroke-width:2px;
202210
```
203211

204212
## About this repository

0 commit comments

Comments
 (0)