mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-13 22:51:12 -06:00
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:
@@ -1,5 +1,5 @@
|
||||
\begin{tikzpicture}[node distance = 3cm, auto]
|
||||
\node [block] (init) {\footnotesize Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir};
|
||||
\node [start] (init) {\footnotesize Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir};
|
||||
\node [block, right of=init, node distance=3cm] (wait1) {\footnotesize Wait \qty{24}{\hour}};
|
||||
\path [line] (init) -- (wait1);
|
||||
\node [block, right of=wait1, node distance=3cm] (feed) {\footnotesize \qty{10}{\gram} of previous day + \qty{50}{\gram} water + \qty{50}{\gram} flour, stir};
|
||||
@@ -9,11 +9,11 @@
|
||||
\node [decision, right of=feed, node distance=3.5cm] (decide) {\footnotesize Is good?};
|
||||
\node [decision, above of=decide, node distance=3cm] (timeout) {\footnotesize Less than 10 feeds?};
|
||||
\node [block, above of=feed, node distance=3cm] (wait2) {\footnotesize Wait \qty{24}{\hour}};
|
||||
\node [block, right of=timeout, node distance=3cm] (discard2) {\footnotesize Batch failed};
|
||||
\node [fail, right of=timeout, node distance=3cm] (discard2) {\footnotesize Batch failed};
|
||||
\path [line] (timeout) -- node{no} (discard2);
|
||||
\path [line] (timeout) -- node{yes} (wait2);
|
||||
\path [line] (feed) -- (decide);
|
||||
\node [block, right of=decide, node distance=3cm] (use) {\footnotesize Ready to use};
|
||||
\node [success, right of=decide, node distance=3cm] (use) {\footnotesize Ready to use};
|
||||
\path [line] (decide) -- node{no} (timeout);
|
||||
\path [line] (wait2) -- (feed);
|
||||
\path [line] (decide) -- node{yes} (use);
|
||||
|
||||
Reference in New Issue
Block a user