fix(readme): fix mermaid diagram syntax for Gitea ELK renderer
This commit is contained in:
1 parent
7374c1f1fc
commit
4047074395
1 file changed
+32
-20
@@ -55,36 +55,48 @@ Built with **Go**, **Wails v3**, **React 19**, and **Tailwind CSS v4**.
|
|||||||
```mermaid
|
```mermaid
|
||||||
flowchart TD
|
flowchart TD
|
||||||
subgraph Frontend["Frontend (React 19 + TypeScript + Vite)"]
|
subgraph Frontend["Frontend (React 19 + TypeScript + Vite)"]
|
||||||
UI["UI Pages & Modals<br>(Launcher, Diff, Language, Analysis, Tools)"]
|
UI["UI Pages & Modals"]
|
||||||
Router["TanStack Router"]
|
Router["TanStack Router"]
|
||||||
Store["Zustand Stores<br>(Launcher, Settings, Modal, Diff)"]
|
Store["Zustand Stores"]
|
||||||
I18n["i18next (EN, TH, JA, KO, VI, ZH)"]
|
I18n["i18next Locales"]
|
||||||
Bindings["@bindings/g-launcher/*"]
|
Bindings["TypeScript Bindings (@bindings/*)"]
|
||||||
UI --> Router --> Store --> Bindings
|
UI --> Router
|
||||||
|
Router --> Store
|
||||||
|
Store --> Bindings
|
||||||
UI --> I18n
|
UI --> I18n
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph IPC["Wails v3 IPC & Event Gateway"]
|
subgraph IPC["Wails v3 IPC Gateway"]
|
||||||
IPCBridge["Bidirectional Events & Go Service Bindings"]
|
IPCBridge["Bidirectional Events & RPC Bindings"]
|
||||||
Bindings <--> IPCBridge
|
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph Backend["Backend (Go 1.24+)"]
|
subgraph Backend["Backend (Go 1.24+)"]
|
||||||
AppSvc["AppService<br>(Window Controls & App Version)"]
|
AppSvc["AppService (Window Controls)"]
|
||||||
FSSvc["FSService<br>(Process Management & Persistent Storage)"]
|
FSSvc["FSService (Process & Storage)"]
|
||||||
GitSvc["GitService<br>(Self-Update, Proxy/Server, MinGit)"]
|
GitSvc["GitService (Update & MinGit)"]
|
||||||
DiffSvc["DiffService<br>(HDiffPatch, Zift, Chunk Protobuf)"]
|
DiffSvc["DiffService (HDiff & Zift)"]
|
||||||
LangSvc["LanguageService<br>(ExcelData Binary & Thai Mod)"]
|
LangSvc["LanguageService (Excel & Mod)"]
|
||||||
IPCBridge <--> AppSvc & FSSvc & GitSvc & DiffSvc & LangSvc
|
|
||||||
end
|
end
|
||||||
|
|
||||||
subgraph OS["Windows System / Game Files"]
|
subgraph System["Windows OS & Game Files"]
|
||||||
GameExe["StarRail.exe / Game Process"]
|
GameExe["Game Process (StarRail.exe)"]
|
||||||
GameFiles["Game Assets / .backup / .zon"]
|
GameFiles["Game Assets & Backup Files"]
|
||||||
Config["%APPDATA%/g-launcher"]
|
Config["User Config (%APPDATA%/g-launcher)"]
|
||||||
Tools["bin/ (7za, hpatchz, zift, MinGit)"]
|
Tools["Tools (MinGit, 7za, Zift)"]
|
||||||
FSSvc & GitSvc & DiffSvc & LangSvc --> OS
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Bindings <--> IPCBridge
|
||||||
|
IPCBridge <--> AppSvc
|
||||||
|
IPCBridge <--> FSSvc
|
||||||
|
IPCBridge <--> GitSvc
|
||||||
|
IPCBridge <--> DiffSvc
|
||||||
|
IPCBridge <--> LangSvc
|
||||||
|
|
||||||
|
FSSvc --> GameExe
|
||||||
|
FSSvc --> Config
|
||||||
|
GitSvc --> Tools
|
||||||
|
DiffSvc --> GameFiles
|
||||||
|
LangSvc --> GameFiles
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in new issue
Block a user