From 78660904012909319f62b36fa7542d72fe060c8d Mon Sep 17 00:00:00 2001 From: tisfeng Date: Fri, 13 Dec 2024 20:34:17 +0800 Subject: [PATCH] docs: change mermaid link format --- docs/select_text_flow.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/select_text_flow.md b/docs/select_text_flow.md index 36bcaf4ba..486d6daa3 100644 --- a/docs/select_text_flow.md +++ b/docs/select_text_flow.md @@ -5,32 +5,32 @@ flowchart TD Start((Start)) --> CheckAX[Use Accessibility API] CheckAX --> CheckFrame{Check Text Frame} - CheckFrame -->|valid| TextFound{Text Found?} - CheckFrame -->|invalid| EndFail((Return nil)) + CheckFrame -- valid --> TextFound{Text Found?} + CheckFrame -- invalid --> EndFail((Return nil)) - TextFound -->|yes| EndSuccess((Return Text)) - TextFound -->|no| FirstTime{First Time Use?} + TextFound -- yes --> EndSuccess((Return Text)) + TextFound -- no --> FirstTime{First Time Use?} - FirstTime -->|yes| RequestPerm[Request Permission] - FirstTime -->|no| CheckBrowser{Is Browser?} + FirstTime -- yes --> RequestPerm[Request Permission] + FirstTime -- no --> CheckBrowser{Is Browser?} RequestPerm --> EndFail - CheckBrowser -->|yes| UseAS[Use AppleScript] - CheckBrowser -->|no| ForceGet[Force Get Text] + CheckBrowser -- yes --> UseAS[Use AppleScript] + CheckBrowser -- no --> ForceGet[Force Get Text] - UseAS -->|success| EndSuccess - UseAS -->|fail| ForceGet + UseAS -- success --> EndSuccess + UseAS -- fail --> ForceGet ForceGet --> CheckForceType{Force Type?} - CheckForceType -->|MenuBarActionCopy| MenuCopy[Menu Bar Action Copy] - CheckForceType -->|SimulatedKey| SimKey[Simulated Key Copy] + CheckForceType -- MenuBarActionCopy --> MenuCopy[Menu Bar Action Copy] + CheckForceType -- SimulatedKey --> SimKey[Simulated Key Copy] - MenuCopy -->|success| EndSuccess - MenuCopy -->|fail| EndFail + MenuCopy -- success --> EndSuccess + MenuCopy -- fail --> EndFail - SimKey -->|success| EndSuccess - SimKey -->|fail| EndFail + SimKey -- success --> EndSuccess + SimKey -- fail --> EndFail classDef default fill:#f5f5f5,stroke:#333,stroke-width:2; classDef success fill:#90EE90,stroke:#006400;