4 changed files with 69 additions and 72 deletions
-
BINoperational_loop.pdf
-
69operational_loop.tex
-
BINstackexchange_test.pdf
-
72stackexchange_test.tex
@ -0,0 +1,69 @@ |
|||
% from this example https://tex.stackexchange.com/questions/305375/how-to-position-labels-at-edges-of-tikz-figures/305391 |
|||
|
|||
\documentclass{article} |
|||
\usepackage{tikz} |
|||
\usetikzlibrary{arrows.meta,positioning} |
|||
|
|||
\usepackage{geometry} |
|||
\geometry{a4paper, landscape, margin=1cm} |
|||
\pagenumbering{gobble} |
|||
|
|||
\setlength\parindent{0pt} |
|||
|
|||
\begin{document} |
|||
|
|||
{\huge Operational loop of COVID-19} |
|||
|
|||
\vspace{3\baselineskip} |
|||
% \section*{Operational loop of COVID-19} |
|||
|
|||
|
|||
\begin{tikzpicture}[>={Stealth[scale=2]}, % arrow head |
|||
shorten > = 3pt, |
|||
node distance = 5cm and 4cm, |
|||
el/.style = {inner sep=5pt, font=\normalsize, align=center, sloped}, |
|||
state/.style = {minimum size=2.5cm, circle, draw=black, fill=white}, %node styles |
|||
sub/.style = {rectangle, xshift=2.5cm} |
|||
% every label/.append style = {font=\tiny}, unused node labels |
|||
] |
|||
|
|||
\node (simulations) [state, align=center] {Models\\\&\\Simulations}; |
|||
\node (data) [state, right=of simulations] {Data}; |
|||
\node (virus) [state, left=of simulations, yshift=-3.7cm] {SARS-CoV-2}; |
|||
\node (curves) [state,below=of simulations] {Curves}; |
|||
\node (policy) [state,below=of data, align=center] {Policy\\Interventions}; |
|||
\node (bodies) [state, right=of policy, yshift=3.7cm] {Populations}; |
|||
\node (futures1) [sub, left=of simulations,yshift=0.7cm] {Thousands}; |
|||
\node (futures2) [sub, left=of simulations] {of}; |
|||
\node (futures3) [sub, left=of simulations, yshift=-0.7cm] {Futures}; |
|||
|
|||
|
|||
\path[->] |
|||
(simulations) edge [in=110,out=70,max distance=1.5cm,loop] node[el,above] {Runs and re-runs} (simulations) |
|||
(virus) edge [in=110,out=70,max distance=1.5cm,loop] node[el, above] {Mutates} (virus) |
|||
(virus) edge [bend left=5] node[el, above, pos=0.15] {Infects} (bodies) |
|||
(bodies) edge [bend left=5] node[el, below, pos=0.15] {Antibodies} (virus) |
|||
(bodies) edge [bend right=10] node [el, above] {Counted} (data) |
|||
(data) edge [bend right=10] node[el,above] {Basis for} (simulations) |
|||
(simulations) edge [bend right=10] node[el, below] {Produce more\\Look like} (data) |
|||
(simulations) edge [bend right=10] node[el, below] {Represented as} (curves) |
|||
(data) edge [bend left=10] node[el, below, pos=0.2] {Represented as} (curves) |
|||
(policy) edge [bend left=10] node[el, below, pos=0.2] {Assessed with} (simulations) |
|||
(simulations) edge [bend left=10] node[el, above, pos=0.3] {Basis for} (policy) |
|||
(policy) edge [bend right=10] node[el, below] {Constrain} (bodies) |
|||
(policy) edge [bend right=10] node[el, below] {What gets counted} (data) |
|||
(curves) edge [bend right=10] node[el, below] {Legitimise} (policy) |
|||
(curves) edge [bend left=10] node[el, below] {Produce as shape\\e.g. waves, peaks, etc} (virus) |
|||
(simulations) edge [] node [el] {} (futures1) |
|||
(simulations) edge [] node [el] {} (futures2) |
|||
(simulations) edge [] node [el] {} (futures3); |
|||
|
|||
\end{tikzpicture} |
|||
|
|||
\vspace{3\baselineskip} |
|||
|
|||
Inspired by:\\ |
|||
Dinno, Alexis. 2007. `Loop Analysis of Causal Feedback in Epidemiology: An Illustration Relating to Urban Neighborhoods and Resident Depressive Experiences`. \emph{Social Science \& Medicine} 65 (10): 2043–57. https://doi.org/10.1016/j.socscimed.2007.06.018. |
|||
|
|||
\end{document} |
|||
|
@ -1,72 +0,0 @@ |
|||
% from this example https://tex.stackexchange.com/questions/305375/how-to-position-labels-at-edges-of-tikz-figures/305391 |
|||
|
|||
\documentclass{article} |
|||
\usepackage{tikz} |
|||
\usetikzlibrary{arrows.meta,positioning} |
|||
\usepackage{dingbat} |
|||
|
|||
\usepackage{geometry} |
|||
\geometry{a4paper, landscape, margin=1cm} |
|||
|
|||
\begin{document} |
|||
% \section*{Operational loop of COVID-19} |
|||
% Based on:\\ |
|||
% Dinno, Alexis. 2007. `Loop Analysis of Causal Feedback in Epidemiology: An Illustration Relating to Urban Neighborhoods and Resident Depressive Experiences`. \emph{Social Science \& Medicine} 65 (10): 2043–57. https://doi.org/10.1016/j.socscimed.2007.06.018.\\ |
|||
% \\ |
|||
% \\ |
|||
\begin{tikzpicture}[>={Stealth[scale=2]}, % arrow head |
|||
shorten > = 3pt, |
|||
node distance = 5cm and 4cm, |
|||
el/.style = {inner sep=5pt, font=\normalsize, align=center, sloped}, |
|||
state/.style = {minimum size=2.5cm, circle, draw=black, fill=white}, %node styles |
|||
sub/.style = {rectangle} |
|||
% every label/.append style = {font=\tiny}, unused node labels |
|||
] |
|||
|
|||
\node (simulations) [state] {Simulations}; |
|||
\node (data) [state, right=of simulations] {Data}; |
|||
\node (virus) [state, left=of simulations, yshift=-3.7cm] {SARS-CoV-2}; |
|||
\node (curves) [state,below=of simulations] {Curves}; |
|||
\node (policy) [state,below=of data, align=center] {Policy\\Measures}; |
|||
\node (bodies) [state, right=of policy, yshift=3.7cm] {Bodies}; |
|||
\node (futures) [sub, left=of simulations] {Thousands\\of\\futures}; |
|||
|
|||
\path[->] |
|||
(simulations) edge [in=110,out=70,max distance=1.5cm,loop] node[el,above] {Runs and re-runs} (simulations) |
|||
(virus) edge [in=110,out=70,max distance=1.5cm,loop] node[el, above] {Mutates} (virus) |
|||
(virus) edge [bend left=5] node[el, above, pos=0.15] {Infects} (bodies) |
|||
(bodies) edge [bend left=5] node[el, below, pos=0.15] {Antibodies} (virus) |
|||
(bodies) edge [bend right=10] node [el, above] {Counted} (data) |
|||
(data) edge [bend right=10] node[el,above] {Basis for} (simulations) |
|||
(simulations) edge [bend right=10] node[el, below] {Produce more\\Look like} (data) |
|||
(simulations) edge [bend right=10] node[el, below] {Represented as} (curves) |
|||
(data) edge [bend left=10] node[el, below] {Represented as} (curves) |
|||
(policy) edge [bend left=10] node[el, below] {Assessed with} (simulations) |
|||
(simulations) edge [bend left=10] node[el, above] {Basis for} (policy) |
|||
(policy) edge [bend right=10] node[el, below] {Constrain} (bodies) -- (data) |
|||
(curves) edge [bend right=10] node[el, below] {Legitimise} (policy); |
|||
% [draw, ->] (policy) -- (curves) -- (bodies); |
|||
|
|||
|
|||
|
|||
% (data) edge [bend right=10] node[el,above] {$a=0$} (simulations) |
|||
% (data) edge [bend right=10] node[el,below] {$a=2$} (curves) |
|||
% (curves) edge [bend left=-10] node[el,below] {$a=1$} (data) |
|||
% (simulations) edge [bend right=10] node[el,below] {$a=3$} (policy) |
|||
% (policy) edge [bend left=-10] node[el,below] {$a=0$} (simulations) |
|||
% (simulations) edge [bend left= 10] node[el,above,pos=0.8] {$a=2$} (curves) |
|||
% (curves) edge [bend left= 10] node[el,below,pos=0.8] {$a=0$} (simulations) |
|||
% (data) edge [bend left= 10] node[el,above,pos=0.75] {$a=3$} (policy) |
|||
% (curves) edge [bend left= 10] node[el,below] {$a=3$} (policy) |
|||
% (data) edge [in=30, out=60,loop] |
|||
% node[el,above,rotate=45] {$x=1$\\ $x:=x+1$} (data) |
|||
% (policy) edge [bend left=10] node[el,below,pos=0.75] {$a=1$} (data) |
|||
% (policy) edge [bend right=-10] node[el,above] {$a=2$} (curves) |
|||
% (curves) edge [in=-30,out=-60, loop] |
|||
% node[el,below,rotate=-45] {$a=2$ \\ $x:=x+1$} (curves) |
|||
% (policy) edge [in=-150,out=-120, loop] |
|||
% node[el,below,rotate=45] {$a=3$ \\ $x:=x+1$} (policy); |
|||
|
|||
\end{tikzpicture} |
|||
\end{document} |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue