mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 12:41:12 -06:00
Add examples of left alignment and spaces
This commit is contained in:
@@ -17,13 +17,42 @@
|
||||
\path [line] (wait2) -- (feed);
|
||||
\path [line] (decide) -- node{yes} (use);
|
||||
|
||||
\node [right of=discard2, node distance=3.5cm] (details1) [shape=rectangle,draw]{
|
||||
\begin{tabular}{c c c}
|
||||
\multicolumn{3}{c}{{Stuff in details 1}} \\
|
||||
foo & bar & thing \\
|
||||
and yet & another
|
||||
\end{tabular}
|
||||
|
||||
};
|
||||
\node [start, below of=discard, left of=discard] (start_n) { Start with Initial Mixture };
|
||||
\node [block, right of=start_n, node distance = 3.2cm] (wait_n) { Wait\\ \qty{24}{\hour} };
|
||||
\node [decision, right of=wait_n, node distance = 3.2cm] (readycheck_n) { Ready? };
|
||||
\node [block, below of=wait_n, node distance = 3cm] (feed_n) { Feed the Mixture };
|
||||
\node [decision, right of=feed_n, node distance = 3.2cm] (limitcheck_n) { Failed? };
|
||||
\node [fail, right of=limitcheck_n, node distance = 3.2cm] (abort_n) { Discard All, Start Over };
|
||||
\node [success, right of=readycheck_n, node distance = 3.2cm] (final_n) { Done };
|
||||
|
||||
\draw [thick, -{Latex}] (start_n) -- (wait_n);
|
||||
\draw [thick, -{Latex}] (wait_n) -- (readycheck_n);
|
||||
\draw [thick, -{Latex}] (feed_n) -- (wait_n);
|
||||
\draw [thick, -{Latex}] (readycheck_n) -- node { No } (limitcheck_n);
|
||||
\draw [thick, -{Latex}] (limitcheck_n) -- node (feedok_n) { No } (feed_n) ;
|
||||
\draw [thick, -{Latex}] (limitcheck_n) -- node { Yes } (abort_n);
|
||||
\draw [thick, -{Latex}] (readycheck_n) -- node { Yes } (final_n);
|
||||
|
||||
\node [below of=feedok_n, node distance=4.5cm] (details1) [shape=rectangle,draw,fill=white!90!black]{
|
||||
\begin{tabular}{l}
|
||||
\fontsize{7}{9}\selectfont For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water. \\
|
||||
\fontsize{7}{9}\selectfont The Mixture is \emph{Ready} when it has \emph{grown}, has \emph{bubbles}, and \emph{smells} vinegary/yoghurty. \\
|
||||
\fontsize{7}{9}\selectfont The Mixture has \emph{Failed} when you have fed it too many (eg 10) times without success. \\
|
||||
\fontsize{7}{9}\selectfont To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water.
|
||||
\end{tabular}
|
||||
};
|
||||
|
||||
\node [below of=details1, node distance=4.5cm, align=left] (details2) [shape=rectangle,draw,fill=white!90!black]{
|
||||
\fontsize{7}{9}\selectfont For the \emph{Initial Mixture}, mix
|
||||
\qty{50}{\gram} flour/\qty{50}{\gram} water.\\
|
||||
\fontsize{7}{9}\selectfont The Mixture is \emph{Ready} when it has
|
||||
\emph{grown}, has \emph{bubbles}, and \emph{smells}
|
||||
vinegary/yoghurty. \\
|
||||
|
||||
\fontsize{7}{9}\selectfont The Mixture has \emph{Failed} when you
|
||||
have fed it too many (eg 10) times without success.\\
|
||||
|
||||
\fontsize{7}{9}\selectfont To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water.
|
||||
|
||||
};
|
||||
\end{tikzpicture}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
\tikzstyle{every picture}+=[font=\footnotesize\sffamily]
|
||||
\usetikzlibrary{calc, shapes, arrows, decorations.pathreplacing, calligraphy,
|
||||
positioning}
|
||||
positioning, arrows.meta}
|
||||
\tikzstyle{decision} = [diamond, draw=codeblack, fill=codeblack, text=white,
|
||||
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt,
|
||||
line width=2mm]
|
||||
|
||||
Reference in New Issue
Block a user