Files
upstream-aw-watcher-afk/docs/transitions.dot
upstream-mirror 87aaa2add8
Some checks failed
Build / Test on macos-latest (py-3.9) (push) Has been cancelled
Build / Test on ubuntu-24.04 (py-3.9) (push) Has been cancelled
Build / Test on windows-latest (py-3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1m36s
snapshot of https://github.com/ActivityWatch/aw-watcher-afk.git (master, 2026-09-16; blobs > 131072B omitted)
2026-09-16 00:21:02 +05:00

32 lines
668 B
Plaintext

digraph transitions {
"afk" [
label="Inactive user\n(afk)",
shape="box",
width="1.5",
style=filled,
fillcolor="1.0 .8 1.0"
];
"not-afk" [
label="Active user\n(not-afk)",
shape="box",
width="1.5",
style=filled,
fillcolor=".33 .8 1.0"
];
"sleeping" [
label="Computer asleep\n(afk)",
shape="box",
style=filled,
fillcolor=".5 .9 .9"
];
{rank=same afk "not-afk"}
"afk":e -> "not-afk":w -> "afk":e [minlen=2];
// Sleeping state
"not-afk":s -> "sleeping":n;
"afk" -> "sleeping":w;
"sleeping":n -> "not-afk":s;
}