From 69e072bd43830bb7c34cb478365a6cf9795f5072 Mon Sep 17 00:00:00 2001 From: Tobias Huste <t.huste@hzdr.de> Date: Wed, 26 May 2021 11:23:03 +0200 Subject: [PATCH] Add Gantt diagram using PlantUML --- ...-26-diagrams-from-textual-descriptions.md} | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) rename _posts/2021/05/{2021-05-21-diagrams-from-textual-descriptions.md => 2021-05-26-diagrams-from-textual-descriptions.md} (94%) diff --git a/_posts/2021/05/2021-05-21-diagrams-from-textual-descriptions.md b/_posts/2021/05/2021-05-26-diagrams-from-textual-descriptions.md similarity index 94% rename from _posts/2021/05/2021-05-21-diagrams-from-textual-descriptions.md rename to _posts/2021/05/2021-05-26-diagrams-from-textual-descriptions.md index 4f74b8f70..e19b3f2c9 100644 --- a/_posts/2021/05/2021-05-21-diagrams-from-textual-descriptions.md +++ b/_posts/2021/05/2021-05-26-diagrams-from-textual-descriptions.md @@ -1,7 +1,7 @@ --- title: "GitLab - Create Diagrams From Textual Descriptions" title_image: clark-tibbs-oqStl2L5oxI-unsplash.jpg -data: 2021-05-21 +data: 2021-05-26 authors: - huste layout: blogpost @@ -159,6 +159,35 @@ It supports, among others, [Vega](https://github.com/vega/vega), For a complete list please refer to the official [list of supported diagram types and formats](https://kroki.io/#support). +### Gantt Diagram with PlantUML + +<details> + <summary>Show code</summary> + <div markdown=1> + ```plantuml + @startgantt + printscale weekly + + Project starts the 1st of July 2021 + [Literature Review] lasts 4 weeks + [Literature Review] is 100% completed + then [Run Experiments] lasts 12 weeks + [Run Experiments] is 70% completed + -- Phase Two -- + then [Data Analysis] lasts 8 weeks + [Data Analysis] is 0% completed + then [Write Publication] lasts 6 weeks + [Write Publication] is 0% completed + @endgantt + ``` + </div> +</details> + + + +More in-depth information on the Gantt diagram syntax is available in the +official [PlantUML documentation](https://plantuml.com/de/gantt-diagram). + ### Vega <details> @@ -466,10 +495,6 @@ As usual, the deployment can be reproduced via the corresponding [project](https://gitlab.hzdr.de/hifis-software-deployment/kroki) - only accessible for employees within Helmhholtz. -## More Examples -More examples can be found in the -[GitLab example project](https://gitlab.hzdr.de/examples/kroki). - ## Comments and Suggestions If you have suggestions, questions, or queries, please don't hesitate to write us. -- GitLab