Test QuickGV: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
See: https://graphviz.gitlab.io/_pages/pdf/dotguide.pdf
See: https://graphviz.gitlab.io/_pages/pdf/dotguide.pdf
= Test =
<quickmmd name="main" dump-env="true">
flowchart TD
  A --> B2
</quickmmd>
= 認知負荷 =
<quickmmd name="cognitive-load">
mindmap
  ((認知負荷))
    ((熟能生巧<br>有效認知負荷<br>germane))
      --> 數學解題突破盲腸
      --> 游泳換氣成功了
      --> 繞口令不吃螺絲
    ((錯綜複雜<br>內在認知負荷<br>intrinsic))
      --> 教材太難, 越級打怪
      --> 基礎知識沒學好
    ((莫名其妙<br>外在認知負荷<br>extraneous))
      --> 教材太多雜訊
      --> 光罰寫就寫不完
</quickmmd>
= Colored Edge =
<quickmmd name="colored-edge" dump-env="true">
flowchart TD
  A1(["👩🏻‍💻 Human"])
  A2(["🤖 Agent"])
  B1("HTTP<br>(Fiber v3)")
  subgraph backend handlers 
    B2("API handler")
    B3("MCP HTTP")
    B4("Streamable Handler")
    B5("SSE handler")
    B6("MCP Server")
  end
  subgraph backend services
    C1(Mermaid to SVG)
    C2(Mermaid to PNG)
    C3(XML Formatter)
  end
  subgraph frontend
    B7("Nuxt.js")
  end
  subgraph resources
    D1(Mermaid Container<br>yuzutech/kroki-mermaid)
  end
  %% human path
  A1 --> B1
  B1 --> |the rest URI| B7
  linkStyle 0,1 stroke:#0000ff,stroke-width:2px
  %% agent path
  A2 --> B1
  B1 --> |/mcp or /sse| B3
  linkStyle 2,3 stroke:#00aa00,stroke-width:2px
  %% api path
  B7 --> |axios| B1
  B1 --> |/api| B2
  linkStyle 4,5 stroke:#9900cc,stroke-width:2px
  B3 --> |/mcp| B4
  B3 --> |/sse| B5
  B4 & B5 --> B6
  B6 --> C1 & C2 & C3
  B2 --> D1
  C1 & C2 --> D1
</quickmmd>


= Dish =
= Dish =
Line 12: Line 89:


= 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 07:12, 6 October 2026

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

Test

File Path/images/quickmmd/Test_QuickGV-main.svg
File Size10.54 KB
Last modified13:27:29
Time of SVG loading0.00 second(s)
Time of SVG convertion0.00 second(s)
Cache DetectedYes
SVG EngineKroki API
Kroki API URLhttp://kroki:8000
Mermaid syntax Referencehttps://mermaid.js.org/intro/syntax-reference.html
QuickMMD Version1.0.0 - About QuickMMD

認知負荷

Colored Edge

File Path/images/quickmmd/Test_QuickGV-colored-edge.svg
File Size116.61 KB
Last modified13:27:38
Time of SVG loading5.95 second(s)
Time of SVG convertion0.00 second(s)
Cache DetectedNo
MD5 of incoming syntax408505206076f708bfed45012d89f430
⧼md5-existed⧽be7fe075fd54968460a56c82eec64aad
SVG EngineKroki API
Kroki API URLhttp://kroki:8000
Mermaid syntax Referencehttps://mermaid.js.org/intro/syntax-reference.html
QuickMMD Version1.0.0 - About QuickMMD

Dish

MMD

WebSocket Service

testflow

test

Crawling Flow

GDS

Geomancer

Sandbox