Test QuickGV: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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("過去普通: played")
    direction LR
     Past --> P2("過去進行: was/were playing")
     B --> C
     Past --> P3("過去完成: had played")
     C --> D
     Past --> P4("過去被動: was/were played")
     D --Failed--> E
     E --Tunning--> C
  end


  D --Passed--> F
    Pres --> R1("現在普通: play / plays")
  F --> G
    Pres --> R2("現在進行: am/is/are playing")
  G --> H
    Pres --> R3("現在完成: have/has played")
    Pres --> R4("現在被動: am/is/are played")


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



Latest revision as of 18:09, 31 August 2026

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

Dish

MMD

WebSocket Service

testflow

test

Crawling Flow

GDS

Geomancer

Sandbox