Test QuickGV: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
Line 12: Line 12:


= MMD =
= MMD =
<quickmmd name="testmmd">
<quickmmd name="testmmd">
flowchart TD
flowchart LR
  A[(更新 MAINSYS_DB.md)]@{ shape: doc }
    Root["英文規則動詞<br>(play)"]
  B[(`task mig-create -- xxx`<br>新增一組資料庫版本異動)]
  C[(`assets/migrations/xxx.sql`<br>修訂資料庫異動檔 )]
  D[(`task mig-up`<br>升級資料庫)]
  E[(`task mig-down`<br>降級資料庫)]
  F{{`src/main_be/internal/schema/xxx.go`<br>新增 Ent schema 定義}}
  G{{`task ent-gen`<br>生成 Ent 資料存取碼}}
  H([在 service 層寫業務邏輯])
  I([在 service 層寫單元測試])
  J([在 handler 層寫請求處理])
  K[在 main.go 組裝 client, service, handler]@{ shape: procs }


  A --> B
    Root --> Past["過去"]
    Root --> Pres["現在"]
    Root --> Fut["未來"]


  subgraph database_layer
     Past --> P1["普通<br>played"]
    direction LR
     Past --> P2["進行<br>was/were playing"]
     B --> C
     Past --> P3["完成<br>had played"]
     C --> D
     Past --> P4["被動<br>was/were played"]
     D --Failed--> E
     E --Tunning--> C
  end


  D --Passed--> F
    Pres --> R1["普通<br>play / plays"]
  F --> G
    Pres --> R2["進行<br>am/is/are playing"]
  G --> H
    Pres --> R3["完成<br>have/has played"]
    Pres --> R4["被動<br>am/is/are played"]


  subgraph service_layer
    Fut --> F1["普通<br>will play"]
      direction LR
    Fut --> F2["進行<br>will be playing"]
      H --> I
    Fut --> F3["完成<br>will have played"]
      I --Failed--> H
    Fut --> F4["被動<br>will be played"]
      I --Passed--> J
  end 
 
  J --> K
</quickmmd>
</quickmmd>



Revision as of 18:04, 31 August 2026

See: https://graphviz.gitlab.io/_pages/pdf/dotguide.pdf

Dish

MMD

WebSocket Service

testflow

test

Crawling Flow

GDS

Geomancer

Sandbox