Files
the-sourdough-framework/book/figures/flowcharts_tikz.tex
cedounet f9ce261c94 Factorize footnotesize in all TikZ flowcharts (#220)
Makes it somewhat simpler.  You can always ovewrite it per flowchart or
per box if you want to.
2023-09-08 11:34:58 +02:00

22 lines
1.1 KiB
TeX

\tikzstyle{every picture}+=[font=\footnotesize\sffamily]
\usetikzlibrary{shapes,arrows}
\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]
\tikzstyle{block} = [rectangle, draw=codeblack, fill=white, text=black,
text width=5em, text centered, rounded corners, minimum height=4em,
line width=0.4mm]
\tikzstyle{decision_start} = [diamond, draw=codeblack, fill=pinkpic, text=black,
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt,
line width=0.4mm]
\tikzstyle{start} = [rectangle, draw=codeblack, fill=pinkpic, text=black,
text width=5em, text centered, rounded corners, minimum height=4em,
line width=0.4mm]
\tikzstyle{success} = [rectangle, draw=codeblack, fill=yellowpic, text=black,
text width=5em, text centered, rounded corners, minimum height=4em,
line width=0.4mm]
\tikzstyle{fail} = [rectangle, draw=codeblack, fill=redpic, text=black,
text width=5em, text centered, rounded corners, minimum height=4em,
line width=0.4mm]
\tikzstyle{line} = [draw, -latex', thick, ->,>=to]