mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-21 02:21:11 -06:00
* 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>
22 lines
1.1 KiB
TeX
22 lines
1.1 KiB
TeX
\tikzstyle{every picture}+=[font=\small\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]
|