From ed8b77c2f23ee0ab363eac50534c02bff7968af6 Mon Sep 17 00:00:00 2001 From: Lostecho Date: Thu, 24 Oct 2024 10:12:51 +0800 Subject: [PATCH] [logseq-plugin-git:commit] 2024-10-24T02:12:51.265Z --- journals/2024_10_24.md | 6 ++++- pages/流程图.md | 51 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/journals/2024_10_24.md b/journals/2024_10_24.md index b80f45c..da549b3 100644 --- a/journals/2024_10_24.md +++ b/journals/2024_10_24.md @@ -1 +1,5 @@ -- 是否要泡咖啡? #流程图 \ No newline at end of file +- 是否要泡咖啡? #流程图 + - ```mermaid + flowchart TD + A([准备泡咖啡]) --> B<> + ``` \ No newline at end of file diff --git a/pages/流程图.md b/pages/流程图.md index 6cc94d9..d8d58a2 100644 --- a/pages/流程图.md +++ b/pages/流程图.md @@ -28,4 +28,55 @@ style E color:#FFFFFF, fill:#AA00FF, stroke:#AA00FF style G color:#FFFFFF, stroke:#00C853, fill:#00C853 style I color:#FFFFFF, stroke:#2962FF, fill:#2962FF + ``` +- ```mermaid + flowchart TD + A(("You have decided to play a game tonight")) --> n8(["Great!!!"]) + ny{{"Are you going to play alone?"}} -- Yes --> nq{{"Singleplayer games"}} + n8 --> np("Start your computer") + np --> ny + n7("Are your friends online?") -- Yes --> nw("Do they wanna play?") + nq --> nc{{"Time to pick the game"}} + n7 -- No --> nq + nw -- No --> nq + nw -- Yes --> n2("time to pick the game") + n2 --> n1("World of Warcraft") & n9("StarCraft") & nj("League of legends") & ns("DOTA 2") & nu("Minecraft") + nc --> ni{{"DOOM"}} & nk{{"Baldurs Gate 3"}} & nb{{"Fallout new vegas"}} & n0{{"Witcher"}} & nl{{"Sims"}} + nl --> nf[["Now that you have picked a game"]] + n0 --> nf + nb --> nf + nk --> nf + ni --> nf + n1 --> no[["Now that you have picked a game"]] + n9 --> no + nj --> no + ns --> no + nu --> no + nf --> nd{"Great have fun!"} + no --> nd + ny -- No --> n7 + np --> n7 + style A fill:#C8E6C9,stroke-width:4px,stroke-dasharray: 0,stroke:#00C853 + style n8 stroke-width:4px,stroke-dasharray: 0,fill:#C8E6C9,stroke:#00C853 + style ny stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style nq stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style np stroke:#00C853,stroke-width:4px,stroke-dasharray: 0 + style n7 stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style nw stroke-width:4px,stroke-dasharray: 0,stroke:#2962FF,fill:#BBDEFB + style nc stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style n2 stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style n1 stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style n9 stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style nj stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style ns stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style nu stroke-width:4px,stroke-dasharray: 0,fill:#BBDEFB,stroke:#2962FF + style ni stroke-width:4px,stroke-dasharray: 0,fill:#FFE0B2,stroke:#FF6D00 + style nk stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style nb stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style n0 stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style nl stroke-width:4px,stroke-dasharray: 0,stroke:#FF6D00,fill:#FFE0B2 + style nf stroke:#AA00FF,stroke-width:4px,stroke-dasharray: 0,fill:#E1BEE7 + style no stroke-width:4px,stroke-dasharray: 0,fill:#E1BEE7,stroke:#AA00FF + style nd stroke-width:4px,stroke-dasharray: 0,stroke:#AA00FF,fill:#C8E6C9 + ``` \ No newline at end of file