Add color coding to flow charts (#180)

This will hopefully allow easier reading by identifying start and end
point more easily
This commit is contained in:
cedounet
2023-08-18 10:31:33 +01:00
committed by GitHub
parent 38ac7c6b11
commit 104cbcf6ac
18 changed files with 53 additions and 41 deletions

View File

@@ -1,5 +1,5 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Make your bread dough};
\node [start] (init) {\footnotesize Make your bread dough};
\node [decision, below of=init, node distance=3.5cm] (all_starter_used) {\footnotesize All starter used?};
\path [line] (init) -- (all_starter_used);
\node [block, right of=init, node distance=3cm] (use_dough) {\footnotesize Take \qty{10}{\gram} of your bread dough};
@@ -11,13 +11,13 @@
\path [line] (use_starter) -- (feed_starter);
\node [decision, right of=feed_starter, node distance=3cm] (bake_next_day_check) {\footnotesize Bake next day?};
\path [line] (feed_starter) -- (bake_next_day_check);
\node [block, right of=bake_next_day_check, node distance=3.5cm]
\node [success, right of=bake_next_day_check, node distance=3.5cm]
(make_bread_dough) {\footnotesize Make bread dough again after \qtyrange{8}{12}{\hour}};
\path [line] (bake_next_day_check) -- node{yes} (make_bread_dough);
\node [decision, right of=use_starter, node distance=3cm] (bake_next_week_check) {\footnotesize Baking in next 2 weeks?};
\node [block, right of=bake_next_week_check, node distance=3.5cm] (store_fridge) {\footnotesize Store starter in fridge at \qty{4}{\degreeCelsius}(\qty{40}{\degF})};
\path [line] (bake_next_week_check) -- node{yes} (store_fridge);
\node [block, right of=store_fridge, node distance=3cm] (feed_after_fridge) {\footnotesize Feed again using 1:5:5 ratio \qtyrange{8}{12}{\hour} before making dough};
\node [success, right of=store_fridge, node distance=3cm] (feed_after_fridge) {\footnotesize Feed again using 1:5:5 ratio \qtyrange{8}{12}{\hour} before making dough};
\path [line] (store_fridge) -- (feed_after_fridge);
\path [line] (bake_next_day_check) -- node{no} (bake_next_week_check);
\node [decision, below of=use_starter, node distance=3cm] (freezer_check) {\footnotesize Have a freezer?};
@@ -27,7 +27,7 @@
\node [block, below of=dry_starter, node distance=3cm] (freeze_starter) {\footnotesize Freeze your starter};
\path [line] (freezer_check) -- node{no} (dry_starter);
\path [line] (freezer_check) -- node{yes} (freeze_starter);
\node [block, right of=dry_starter, node distance=3.5cm] (reactivate_freezer) {\footnotesize Reactivate starter for 3 days with daily 1:5:5 feedings};
\node [success, right of=dry_starter, node distance=3.5cm] (reactivate_freezer) {\footnotesize Reactivate starter for 3 days with daily 1:5:5 feedings};
\path [line] (dry_starter) -- (reactivate_freezer);
\path [line] (freeze_starter) -- (reactivate_freezer);
\end{tikzpicture}