-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #430 from hendricius/new_starter_flowchart
New starter flowchart
- Loading branch information
Showing
21 changed files
with
144 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
% Common abbreviations | ||
\newcommand{\ie}{\emph{i.e.}\@ifnextchar.{\!\@gobble}{}} | ||
\newcommand{\eg}{\emph{e.g.}\@ifnextchar.{\!\@gobble}{}} | ||
\newcommand{\etc}{etc\@ifnextchar.{}{.\@}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
\begin{tikzpicture}[node distance=1cm] | ||
|
||
% Left Side: Antifungal metabolites | ||
% Bacteria | ||
\draw[thick, fill=gray!20] (-2, 2.5) ellipse (1.2cm and 0.5cm); | ||
\node at (-2, 3.2) {Antifungal metabolites}; | ||
|
||
% Arrows for antifungal metabolites | ||
\foreach \x in {-2.5, -2, -1.5} | ||
\draw[thick, ->] (\x, 2) -- (\x, 1.2); | ||
|
||
% Antifungal metabolites (triangles) | ||
\foreach \x in {-2.5, -2, -1.5} | ||
\node[fill=red!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7] at (\x, 1.2) {}; | ||
|
||
% Fungi (left) | ||
\draw[thick, fill=gray!50] (-2, 0.5) circle (0.5cm); | ||
\node at (-2, -0.2) {Fungi}; | ||
|
||
% Right Side: Nutrient Competition | ||
% Bacteria | ||
\draw[thick, fill=gray!20] (3, 2.5) ellipse (1.2cm and 0.5cm); | ||
\node at (3, 3.2) {Competition for nutrients}; | ||
|
||
% Arrows for nutrients | ||
\foreach \x in {2.5, 3, 3.5} | ||
\draw[thick, <-] (\x, 2) -- (\x, 1.2); | ||
|
||
% Available nutrients (triangles) | ||
\foreach \x in {2.5, 3, 3.5} | ||
\node[fill=green!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7, rotate=180] at (\x, 1.2) {}; | ||
|
||
% Fungi (right) | ||
\draw[thick, fill=gray!50] (3, 0.5) circle (0.5cm); | ||
\node at (3, -0.2) {Fungi}; | ||
|
||
% Legends | ||
% Bacteria legend | ||
\draw[thick, fill=gray!20] (-5.5, -2) ellipse (0.8cm and 0.3cm); | ||
\node[anchor=west] at (-5, -2) {Bacteria}; | ||
|
||
% Fungi legend | ||
\draw[thick, fill=gray!50] (-5.5, -3) circle (0.3cm); | ||
\node[anchor=west] at (-5, -3) {Fungi}; | ||
|
||
% Antifungal metabolites legend | ||
\node[fill=red!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7] at (-5.5, -4) {}; | ||
\node[anchor=west] at (-5, -4) {Antifungal metabolites}; | ||
|
||
% Available nutrients legend | ||
\node[fill=green!80!black, regular polygon, regular polygon sides=3, draw, scale=0.7, rotate=180] at (-5.5, -5) {}; | ||
\node[anchor=west] at (-5, -5) {Available nutrients}; | ||
|
||
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
\begin{tikzpicture}[node distance = 3.5cm, auto] | ||
\node [start] (init) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; | ||
\node [block, right of=init] (wait2) {Wait\\ \qty{24}{\hour}}; | ||
\path [line] (init) -- (wait2); | ||
\node [block, below of=wait2, node distance=3.5cm] (feed) {\qty{10}{\gram} of previous day + \qty{50}{\gram} water + \qty{50}{\gram} flour, stir}; | ||
\path [line] (wait2) -- (feed); | ||
\node [block, below of=feed] (discard) {Discard the rest}; | ||
\path [line] (feed) -- (discard); | ||
\node [decision, right of=feed, node distance=3.5cm] (decide) {Is good?}; | ||
\node [decision, above of=decide, node distance=3.5cm] (timeout) {Less than 10 feeds?}; | ||
\node [fail, right of=timeout, node distance=3.5cm] (discard2) {Batch failed}; | ||
\path [line] (timeout) -- node{no} (discard2); | ||
\path [line] (timeout) -- node{yes} (wait2); | ||
\path [line] (feed) -- (decide); | ||
\node [success, right of=decide, node distance=3.5cm] (use) {Ready to use}; | ||
\path [line] (decide) -- node{no} (timeout); | ||
\path [line] (wait2) -- (feed); | ||
\path [line] (decide) -- node{yes} (use); | ||
\node [start] (start_n) {Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir}; | ||
\node [block, right of=start_n, node distance = 3.5cm] (wait_n) {Wait\\ \qty{24}{\hour}}; | ||
\node [decision, right of=wait_n, node distance = 3.5cm] (readycheck_n) {Ready?}; | ||
\node [block, below of=wait_n, node distance = 3.2cm] (feed_n) {Feed the mixture }; | ||
\node [decision, right of=feed_n, node distance = 3.5cm] (limitcheck_n) {>10 feeds?}; | ||
\node [fail, right of=limitcheck_n, node distance = 3.5cm] (abort_n) {Discard all. Start over}; | ||
\node [success, right of=readycheck_n, node distance = 3.5cm] (final_n) {Ready to use}; | ||
|
||
\draw [line] (start_n) -- (wait_n); | ||
\draw [line] (wait_n) -- (readycheck_n); | ||
\draw [line] (feed_n) -- (wait_n); | ||
\draw [line] (readycheck_n) -- node {No} (limitcheck_n); | ||
\draw [line] (limitcheck_n) -- node (feedok_n) {No} (feed_n) ; | ||
\draw [line] (limitcheck_n) -- node {Yes} (abort_n); | ||
\draw [line] (readycheck_n) -- node {Yes} (final_n); | ||
|
||
\node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle, draw, fill=maingray]{% | ||
\textbf{Ready}: Mixture has \emph{grown}, has \emph{bubbles}, and \emph{smells} vinegary/yoghurty. \\ | ||
\textbf{Feed the mixture}: Discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water. | ||
}; | ||
\end{tikzpicture} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
\documentclass[tikz]{standalone} | ||
\usepackage{tikz} | ||
\usepackage{pgfplots} | ||
\usepackage{chemfig} | ||
\usepackage[mode=match, reset-text-family=false]{siunitx} | ||
\DeclareSIUnit\degF{\text{°}F} | ||
\input{flowcharts_tikz.tex} | ||
\input{../colors.tex} | ||
\input{../abbreviations.tex} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.