File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020``` mermaid
2121flowchart TB
22- App["Android App"] --> School["學校系統 API"]
22+
23+ %% ===== External Systems =====
24+ subgraph EXT["External Systems"]
25+ API["School System API<br/>(shcloud2.k12ea.gov.tw)"]
26+ end
27+
28+ %% ===== Data Layer =====
29+ subgraph DATA["Data Layer (Natural)"]
30+ CLIENT["SchoolGradeClient<br/>(OkHttp + Jsoup)"]
31+ REPO["GradeRepository"]
32+ CACHE["GradeCacheStore<br/>(DataStore)"]
33+
34+ CLIENT --> REPO
35+ REPO <--> CACHE
36+ end
37+
38+ %% ===== Logic & UI =====
39+ subgraph UI["Logic & UI (Code Entity Space)"]
40+ VM["ScoreViewModel"]
41+ ANALYSIS["GradeAnalysis.kt"]
42+ SCREEN["Compose UI<br/>(GradesScreen)"]
43+
44+ VM <--> ANALYSIS
45+ VM --> SCREEN
46+ end
47+
48+ %% ===== Connections =====
49+ CLIENT <--> |HTTPS/JSON| API
50+ REPO --> VM
2351```
2452
2553## 專案結構
You can’t perform that action at this time.
0 commit comments