Change flowchart color (#185)

* Change BG color to white

* Fix flowcharts where graphics overlap with text

* Increase border size

* change arrow style

* Allow standalone building of TikZ flowcharts

Useful for reference or website etc..

* Prevent manual hyphenation in TikZ diagrams

A Bit of a manual tweak.. but worth it to look nicer :D

* Add missing file for flowcharts

---------

Co-authored-by: Cedric <ced@awase.ostal>
This commit is contained in:
Hendrik Kleinwaechter
2023-08-19 16:35:02 +02:00
committed by GitHub
parent fad30fa1db
commit a8dc6dc210
13 changed files with 73 additions and 63 deletions

View File

@@ -1,6 +1,6 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\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}};
\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};
\path [line] (wait1) -- (feed);
@@ -8,7 +8,7 @@
\path [line] (feed) -- (discard);
\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, above of=feed, node distance=3cm] (wait2) {\footnotesize Wait\\ \qty{24}{\hour}};
\node [fail, right of=timeout, node distance=3cm] (discard2) {\footnotesize Batch failed};
\path [line] (timeout) -- node{no} (discard2);
\path [line] (timeout) -- node{yes} (wait2);