2023-12-12 17:40:07 +01:00
|
|
|
# Baking bread
|
|
|
|
{:.no_toc}
|
2023-12-12 17:22:58 +01:00
|
|
|
|
2023-12-12 17:40:07 +01:00
|
|
|
<nav markdown="1" class="toc-class">
|
|
|
|
* TOC
|
|
|
|
{:toc}
|
|
|
|
</nav>
|
2023-12-12 17:22:58 +01:00
|
|
|
|
2023-12-12 17:40:07 +01:00
|
|
|
## The goal
|
|
|
|
|
|
|
|
Disassembling the process of baking bread as a flow chart.
|
|
|
|
|
|
|
|
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
|
|
|
|
|
|
|
## Baking bread
|
2023-12-12 17:22:58 +01:00
|
|
|
|
|
|
|
{% raw %}
|
|
|
|
|
|
|
|
<pre class="mermaid">
|
|
|
|
graph TD
|
|
|
|
A(["Start"]) --> B{"Ingredients Ready?"}
|
2023-12-12 17:40:07 +01:00
|
|
|
B -->|"Yes"| C("Preheat Oven")
|
2023-12-12 17:25:42 +01:00
|
|
|
B -->|"No"| D[["Gather Ingredients"]]
|
2023-12-12 17:22:58 +01:00
|
|
|
D --> C
|
2023-12-12 17:40:07 +01:00
|
|
|
C --> md[["Make Dough"]] --> E("Knead Dough")
|
2023-12-12 17:22:58 +01:00
|
|
|
E --> F{"First Rise Complete?"}
|
2023-12-12 17:40:07 +01:00
|
|
|
F -->|"Yes"| G("Punch Down Dough")
|
2023-12-12 17:22:58 +01:00
|
|
|
F -->|"No"| E
|
2023-12-12 17:40:07 +01:00
|
|
|
G --> H("Shape Loaf")
|
2023-12-12 17:22:58 +01:00
|
|
|
H --> I{"Second Rise Complete?"}
|
2023-12-12 17:40:07 +01:00
|
|
|
I -->|"Yes"| J("Bake")
|
2023-12-12 17:22:58 +01:00
|
|
|
I -->|"No"| H
|
|
|
|
J --> K(["Stop"])
|
|
|
|
</pre>
|
2023-12-12 17:40:07 +01:00
|
|
|
{% endraw %}
|
|
|
|
|
|
|
|
## Function Gather Ingredients
|
|
|
|
|
|
|
|
{% raw %}
|
2023-12-12 17:22:58 +01:00
|
|
|
<pre class="mermaid">
|
|
|
|
graph TD
|
2023-12-12 17:40:07 +01:00
|
|
|
gi[["Gather Ingredients"]] --> A(["Start"]) --> B("Go to Kitchen")
|
|
|
|
B --> C("Open Pantry")
|
|
|
|
C --> D1("Get Flour")
|
|
|
|
D1 --> D2("Get Sugar")
|
|
|
|
D2 --> D3("Get Salt")
|
|
|
|
D3 --> E("Close Pantry")
|
|
|
|
E --> F("Open Refrigerator")
|
|
|
|
F --> G1("Get Water")
|
|
|
|
G1 --> G2("Get Yeast")
|
|
|
|
G2 --> H("Close Refrigerator")
|
2023-12-12 17:22:58 +01:00
|
|
|
H --> I(["Stop"])
|
|
|
|
</pre>
|
2023-12-12 17:40:07 +01:00
|
|
|
{% endraw %}
|
2023-12-12 17:22:58 +01:00
|
|
|
|
2023-12-12 17:40:07 +01:00
|
|
|
## Function Make Dough
|
|
|
|
|
|
|
|
{% raw %}
|
2023-12-12 17:22:58 +01:00
|
|
|
<pre class="mermaid">
|
|
|
|
graph TD
|
2023-12-12 17:25:42 +01:00
|
|
|
md[["Make Dough"]] --> A(["Start"])
|
2023-12-12 17:34:59 +01:00
|
|
|
A --> C("Create Dough Object")
|
|
|
|
C --> Initialization{{"Initialize spoon = 0"}} --> Condition{"spoon < 10"} --> Action("Add a spoon of flour to dough") --> Increment("spoon = spoon + 1") --> Condition
|
|
|
|
Condition -- "No" --> D2("Add Water to Dough")
|
|
|
|
D2 --> D3("Add Yeast to Dough")
|
|
|
|
D3 --> D4("Add Salt to Dough")
|
|
|
|
D4 --> Initialization2{{"Initialize spoon = 0"}} --> Condition2{"spoon < 3"} --> Action2("Add a spoon of Sugar to dough") --> Increment2("spoon = spoon + 1") --> Condition2
|
|
|
|
Condition2 -- "No" --> E("Mix Ingredients")
|
|
|
|
E --> F1("Stir until Combined")
|
|
|
|
F1 --> F2("Beat until Smooth")
|
|
|
|
F2 --> F3("Stir in Remaining Flour")
|
2023-12-12 17:22:58 +01:00
|
|
|
F3 --> I(["Stop"])
|
|
|
|
</pre>
|
|
|
|
{% endraw %}
|