Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-12 17:40:07 +01:00 committed by GitHub
parent ceff3533bf
commit a922e5b6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,40 +1,61 @@
# Baking bread
{:.no_toc}
<nav markdown="1" class="toc-class">
* TOC
{:toc}
</nav>
## The goal
Disassembling the process of baking bread as a flow chart.
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
## Baking bread
{% raw %} {% raw %}
<pre class="mermaid"> <pre class="mermaid">
graph TD graph TD
A(["Start"]) --> B{"Ingredients Ready?"} A(["Start"]) --> B{"Ingredients Ready?"}
B -->|"Yes"| C["Preheat Oven"] B -->|"Yes"| C("Preheat Oven")
B -->|"No"| D[["Gather Ingredients"]] B -->|"No"| D[["Gather Ingredients"]]
D --> C D --> C
C --> md[["Make Dough"]] --> E["Knead Dough"] C --> md[["Make Dough"]] --> E("Knead Dough")
E --> F{"First Rise Complete?"} E --> F{"First Rise Complete?"}
F -->|"Yes"| G["Punch Down Dough"] F -->|"Yes"| G("Punch Down Dough")
F -->|"No"| E F -->|"No"| E
G --> H["Shape Loaf"] G --> H("Shape Loaf")
H --> I{"Second Rise Complete?"} H --> I{"Second Rise Complete?"}
I -->|"Yes"| J["Bake"] I -->|"Yes"| J("Bake")
I -->|"No"| H I -->|"No"| H
J --> K(["Stop"]) J --> K(["Stop"])
</pre> </pre>
{% endraw %}
## Function Gather Ingredients
{% raw %}
<pre class="mermaid"> <pre class="mermaid">
graph TD graph TD
gi[["Gather Ingredients"]] --> A(["Start"]) --> B["Go to Kitchen"] gi[["Gather Ingredients"]] --> A(["Start"]) --> B("Go to Kitchen")
B --> C["Open Pantry"] B --> C("Open Pantry")
C --> D1["Get Flour"] C --> D1("Get Flour")
D1 --> D2["Get Sugar"] D1 --> D2("Get Sugar")
D2 --> D3["Get Salt"] D2 --> D3("Get Salt")
D3 --> E["Close Pantry"] D3 --> E("Close Pantry")
E --> F["Open Refrigerator"] E --> F("Open Refrigerator")
F --> G1["Get Water"] F --> G1("Get Water")
G1 --> G2["Get Yeast"] G1 --> G2("Get Yeast")
G2 --> H["Close Refrigerator"] G2 --> H("Close Refrigerator")
H --> I(["Stop"]) H --> I(["Stop"])
</pre> </pre>
{% endraw %}
## Function Make Dough
{% raw %}
<pre class="mermaid"> <pre class="mermaid">
graph TD graph TD
md[["Make Dough"]] --> A(["Start"]) md[["Make Dough"]] --> A(["Start"])