mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-20 10:01:13 -06:00
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:
committed by
GitHub
parent
fad30fa1db
commit
a8dc6dc210
21
book/figures/flowcharts_tikz.tex
Normal file
21
book/figures/flowcharts_tikz.tex
Normal file
@@ -0,0 +1,21 @@
|
||||
\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]
|
||||
Reference in New Issue
Block a user