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:
Hendrik Kleinwaechter
2023-08-19 16:35:02 +02:00
committed by GitHub
parent fad30fa1db
commit a8dc6dc210
13 changed files with 73 additions and 63 deletions

View 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]