Skip to content

Commit a7bef0f

Browse files
committed
ci(diagrams): pin plantuml, fix output naming, re-render all
* Pin PlantUML jar to 1.2026.0 so CI and local renders agree * Install graphviz — plantuml -version exits 16 without dot * Add -failfast2: render errors were being written into the SVG and committed while CI stayed green * Add -nometadata to stop timestamp churn on every run * Fix @startuml name collision — two sources both wrote overview.svg * Redraw node overview and FSM horizontally for slide aspect ratio * Watch the workflow file itself in paths:
1 parent d4f1b23 commit a7bef0f

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

docs/architecture/fsm-simple.puml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
@startuml fsm-simple
2+
!pragma layout smetana
3+
4+
skinparam {
5+
BackgroundColor #1a1a2e
6+
ArrowColor #7EC8E3
7+
ArrowFontColor #CCCCCC
8+
ArrowFontSize 13
9+
DefaultFontName Arial
10+
DefaultFontColor #E0E0E0
11+
DefaultFontSize 14
12+
StateBorderColor #4A90D9
13+
StateBorderThickness 2
14+
StateBackgroundColor #0f3460
15+
StateFontColor #FFFFFF
16+
StateFontSize 16
17+
NoteBackgroundColor #0D2818
18+
NoteBorderColor #27AE60
19+
NoteFontColor #27AE60
20+
NoteFontSize 13
21+
nodesep 36
22+
ranksep 38
23+
}
24+
25+
state "BOOT" as boot #1a3060
26+
state "CALIBRATING" as cal #2a1a0a
27+
state "ARMED" as armed #0D3320
28+
state "SLEEP" as sleep #0a1a3a
29+
state "EVENT\nDETECTED" as evt #2a1a4a
30+
state "SIGN" as sign #3a1a2a
31+
state "ENCRYPT" as enc #3a1a2a
32+
state "TX" as tx #0f3460
33+
34+
[*] -right-> boot
35+
boot -right-> cal : self-test\npass
36+
cal -right-> armed : baseline\nestablished
37+
armed -right-> sleep : idle
38+
sleep -right-> evt : sensor IRQ
39+
evt -right-> enc
40+
enc -right-> sign
41+
sign -left-> tx
42+
tx -up-> armed : re-arm
43+
44+
note bottom of cal
45+
Baseline is captured once.
46+
Drift after this point is signal.
47+
end note
48+
49+
@enduml

0 commit comments

Comments
 (0)