Change Arrows from right-angled to star connected

As I could not really find a way not to have diagonal arrows... I
decided to embrace it instead.  YMMV
This commit is contained in:
Ced
2023-09-09 18:47:56 +01:00
parent 8cc5ee30e1
commit c59a3ecbd5

View File

@@ -1,9 +1,9 @@
\begin{tikzpicture}[node distance = 3cm, auto] \begin{tikzpicture}[node distance = 3cm, auto]
\node [start] (init) {Make a starter}; \node [start] (init) {Make a starter};
\node [decision, right of=init, node distance=3.5cm] (decision_start) {Starter last fed within 3 days?}; \node [decision, right of=init, node distance=3.5cm] (decision_start) {Starter last fed within 3~days?};
\node [block, right of=decision_start, text width=7em, node distance=4cm] (feed_no_branch) \node [block, right of=decision_start, text width=7em, node distance=4cm] (feed_no_branch)
{Feed starter twice:\par \qty{48}{\hour} before\par \qtyrange{6}{12}{\hour} before}; {Feed starter twice:\par \qty{48}{\hour} before\par \qtyrange{6}{12}{\hour} before};
\node [block, below of=feed_no_branch, texd width=7em, node distance=3cm] (feed_yes_branch) \node [block, below of=feed_no_branch, node distance=3cm] (feed_yes_branch)
{Feed starter \qtyrange{6}{12}{\hour}\par before making dough.}; {Feed starter \qtyrange{6}{12}{\hour}\par before making dough.};
\node [block, right of=feed_no_branch, text width=7em, node distance=4cm] (high_ratio) \node [block, right of=feed_no_branch, text width=7em, node distance=4cm] (high_ratio)
{Use a 1:10:10 ratio:\par \qty{10}{\gram} starter,\par \qty{100}{\gram} flour,\par \qty{100}{\gram} water.}; {Use a 1:10:10 ratio:\par \qty{10}{\gram} starter,\par \qty{100}{\gram} flour,\par \qty{100}{\gram} water.};
@@ -19,14 +19,14 @@
\path [line] (init) -- (decision_start); \path [line] (init) -- (decision_start);
\path [line] (decision_start) -- node{no} (feed_no_branch); \path [line] (decision_start) -- node{no} (feed_no_branch);
\path [line] (decision_start) -- node[anchor=south, left=2pt] {yes} ++(0, -3.2) |- (feed_yes_branch); \path [line] (decision_start) -- node{yes} (feed_yes_branch.north west);
\path [line] (feed_yes_branch) -- (low_ratio); \path [line] (feed_yes_branch) -- (low_ratio);
\path [line] (feed_no_branch) -- (high_ratio); \path [line] (feed_no_branch) -- (high_ratio);
\path [line] (high_ratio) -- node[anchor=east, above=2pt] {} ++(2.2,0) |-(size_check); \path [line] (high_ratio) -- node[anchor=east, above=2pt] {} ++(2.2,0) |-(size_check);
\path [line] (low_ratio) -- (size_check); \path [line] (low_ratio) -- (size_check);
\path [line] (size_check) -- node{no} (feed_yes_branch); \path [line] (size_check) -- node{no} (feed_yes_branch);
\path [line] (size_check) -- node{yes} (smell_check); \path [line] (size_check) -- node{yes} (smell_check);
\path [line] (smell_check) -- node[anchor=north, left=2pt] {no} ++(0, 3.2) |- (feed_yes_branch); \path [line] (smell_check) -- node{no} (feed_yes_branch.south west);
\path [line] (smell_check) -- node{yes} (make_dough); \path [line] (smell_check) -- node{yes} (make_dough);
% braces % braces