Changing the arrows to overlay to keep the chart centered

This commit is contained in:
Kevin Harrington 2025-10-19 23:28:42 -04:00
parent 734d79e648
commit 8440a932dd
3 changed files with 20 additions and 20 deletions

View file

@ -8,19 +8,17 @@
left=0.2in, left=0.2in,
right=0.2in right=0.2in
} }
\usepackage{lmodern}
\usepackage{tikz} \usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows.meta, positioning} \usetikzlibrary{shapes.geometric, arrows.meta, positioning}
\usepackage{adjustbox}
\input{src/how-to-consensus-zine/flow-chart-only.tex}% \input{src/how-to-consensus-zine/flow-chart-only.tex}%
\parskip1em
\usepackage{fancyhdr}
\fancyfoot{} % clear all footer fields
\begin{document} \begin{document}
\centering \centering
\consensusflowchart{0.5}{\footnotesize} \newpage% Smaller version \consensusflowchart{0.6}{\footnotesize} \newpage% Smaller version
Page\par \#2\newpage Page\par \#2\newpage
Page\par \#3\newpage Page\par \#3\newpage
Page\par \#4\newpage Page\par \#4\newpage

View file

@ -246,8 +246,9 @@ A consensus meeting needs some structure to function. When running a meeting the
\begin{center} \begin{center}
\consensusflowchart{0.8}{\large} \consensusflowchart{0.9}{\large}
\end{center} \end{center}
\linedpagetwo \linedpagetwo
\vspace{1cm} \vspace{1cm}

View file

@ -7,6 +7,7 @@
scale=#1, scale=#1,
transform shape, transform shape,
every node/.style={font=#2}, every node/.style={font=#2},
xshift=-2cm,
process/.style={rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=white, text width=3cm}, process/.style={rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black, fill=white, text width=3cm},
decision/.style={diamond, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=gray!20, aspect=2}, decision/.style={diamond, minimum width=2cm, minimum height=1cm, text centered, draw=black, fill=gray!20, aspect=2},
endpoint/.style={rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=black, fill=white}, endpoint/.style={rectangle, minimum width=2.5cm, minimum height=1cm, text centered, draw=black, fill=white},
@ -41,8 +42,8 @@
\draw [arrow] (standAside) -- (consensusAchieved); \draw [arrow] (standAside) -- (consensusAchieved);
% Curved arrows % Curved arrows
\draw [arrow] (no) to[out=120, in=180] (discussion); \draw [arrow, overlay] (no) to[out=120, in=180] (discussion);
\draw [arrow] (modification) to[out=90, in=-90] (test); \draw [arrow, overlay] (modification) to[out=90, in=-90] (test);
\draw [arrow] (blockNode) to[out=140, in=180] (discussion); \draw [arrow, overlay] (blockNode) to[out=140, in=180] (discussion);
\end{tikzpicture}% \end{tikzpicture}%
} }