mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 13:11:13 -06:00
- Change tikzstyle definition for "line" so that all flowchart arrows have the "Latex" styling.
36 lines
1.8 KiB
TeX
36 lines
1.8 KiB
TeX
\tikzstyle{every picture}+=[font=\footnotesize\sffamily]
|
|
\usetikzlibrary{calc, shapes, arrows.meta, decorations.pathreplacing, calligraphy,
|
|
positioning}
|
|
\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]
|
|
% The arrowed connector line between nodes
|
|
\tikzstyle{line} = [draw, thick, ->, >={Latex}]
|
|
|
|
\tikzstyle{BC} = [decorate, % Brace Calligraphic
|
|
decoration={calligraphic brace, amplitude=3mm, raise=1mm},
|
|
very thick, pen colour={black} ]
|
|
\tikzstyle{loop} = [arc, draw=codeblack, line width=0.4mm]
|
|
|
|
\tikzstyle{timeline_event}=[align=center, fill=white, inner sep=2pt]
|
|
|
|
\tikzstyle{timeline_timespan} = [rectangle, draw=codeblack, fill=pinkpic, text=black,
|
|
text centered, rounded corners, line width=0.4mm]
|
|
\pgfplotsset{compat=1.18}
|
|
\pgfplotsset{width=\textwidth}
|