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