From 43a8b6526b2864e2952a6783149088a68d883034 Mon Sep 17 00:00:00 2001 From: ARNik Date: Sun, 20 Oct 2024 19:31:45 +0300 Subject: [PATCH] Gantt diagram --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e261fb..e611181 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ ## Mermaid Markdown examples https://mermaid.js.org/ - --- # Flowchart + ```mermaid graph TD; A-->B; @@ -15,6 +15,7 @@ graph TD; ``` # sequenceDiagram + ```mermaid sequenceDiagram participant Alice @@ -27,5 +28,25 @@ sequenceDiagram John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good! +``` + +# Gantt diagram + +```mermaid +gantt +dateFormat YYYY-MM-DD +title Adding GANTT diagram to mermaid +excludes weekdays 2014-01-10 + +section A section +Completed task :done, des1, 2014-01-06,2014-01-08 +Active task :active, des2, 2014-01-09, 3d +Future task : des3, after des2, 5d +Future task2 : des4, after des3, 5d +``` + + + + + -``` \ No newline at end of file