diff --git a/TikZ_tests/loop.tikz b/TikZ_tests/loop.tikz deleted file mode 100644 index 4171a48..0000000 --- a/TikZ_tests/loop.tikz +++ /dev/null @@ -1,21 +0,0 @@ -\begin{tikzpicture} - \begin{pgfonlayer}{nodelayer} - \node [style=circle] (0) at (-5, 5) {Simulations}; - \node [style=circle] (1) at (5, 5) {Curves}; - \node [style=circle] (3) at (-5, -5) {Data}; - \node [style=circle] (4) at (5, -5) {}; - \node [style=circle] (5) at (0, 0) {SARS-CoV-2}; - \node [style=circle] (6) at (11, 0) {}; - \node [style=circle] (7) at (11, 0) {}; - \node [style=circle] (8) at (11, 0) {Bodies}; - \end{pgfonlayer} - \begin{pgfonlayer}{edgelayer} - \draw [style=edge] (3) to (0); - \draw [style=edge] (0) to (1); - \draw [style=edge, in=90, out=15, loop] (1) to (); - \draw [style=edge] (1) to (4); - \draw [style=edge] (4) to (3); - \draw (5) to (8); - \draw [style=edge, in=180, out=90, loop] (0) to (); - \end{pgfonlayer} -\end{tikzpicture} diff --git a/TikZ_tests/operational_loop.pdf b/TikZ_tests/operational_loop.pdf deleted file mode 100644 index 37e984e..0000000 Binary files a/TikZ_tests/operational_loop.pdf and /dev/null differ diff --git a/TikZ_tests/operational_loop.tex b/TikZ_tests/operational_loop.tex deleted file mode 100644 index c564b89..0000000 --- a/TikZ_tests/operational_loop.tex +++ /dev/null @@ -1,73 +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{geometry} -\geometry{a4paper, landscape, margin=1cm} -\pagenumbering{gobble} - -\setlength\parindent{0pt} - -\begin{document} - -{\huge Operational loop of COVID-19}\\ -\\ -David Benqu\'e\\ -\color{red} -Work in Progress: \today -\color{black} -\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} - diff --git a/TikZ_tests/stackexchange_2.pdf b/TikZ_tests/stackexchange_2.pdf deleted file mode 100644 index 494d28c..0000000 Binary files a/TikZ_tests/stackexchange_2.pdf and /dev/null differ diff --git a/TikZ_tests/stackexchange_2.tex b/TikZ_tests/stackexchange_2.tex deleted file mode 100644 index e97ec4f..0000000 --- a/TikZ_tests/stackexchange_2.tex +++ /dev/null @@ -1,34 +0,0 @@ -\documentclass{article} -\usepackage{tikz} - -\usetikzlibrary{arrows} - -\tikzset{ - vertex/.style={circle,draw,minimum size=1.5em}, - edge/.style={->,> = latex'} -} - -\begin{document} -\begin{tikzpicture} - - % vertices - \node[vertex] (1) at (0,0) {$1$}; - \node[vertex] (2) at (2,0) {$2$}; - \node[vertex] (3) at (0,-2) {$3$}; - \node[vertex] (4) at (2,-2) {$4$}; - \node[vertex] (5) at (-2,-2) {$5$}; - - %edges - \draw[edge] (1) -- (2) node[midway, above] {$\frac{1}{3}$}; - \draw[edge] (1.260) -- (3.100); - \draw[edge] (1.325) -- (4.125) node[pos=.3, right, sloped, rotate=90] {$\frac{1}{3}$}; - \draw[edge] (2) -- (3); - \draw[edge] (2) -- (4) node[midway, right] {$\frac{1}{2}$}; - \draw[edge] (3.80) -- (1.280); - \draw[edge] (4) -- (3); - \draw[edge] (4.145) -- (1.305); - \draw[edge] (3.170) -- (5.10); - \draw[edge] (5.350) -- (3.190); - -\end{tikzpicture} -\end{document} \ No newline at end of file diff --git a/TikZ_tests/style.tikzstyles b/TikZ_tests/style.tikzstyles deleted file mode 100644 index d97c1c9..0000000 --- a/TikZ_tests/style.tikzstyles +++ /dev/null @@ -1,10 +0,0 @@ -% TiKZ style file generated by TikZiT. You may edit this file manually, -% but some things (e.g. comments) may be overwritten. To be readable in -% TikZiT, the only non-comment lines must be of the form: -% \tikzstyle{NAME}=[PROPERTY LIST] - -% Node styles -\tikzstyle{circle}=[fill=white, draw=black, shape=circle, minimum size=2cm] - -% Edge styles -\tikzstyle{edge}=[->, >=latex] diff --git a/main.pdf b/main.pdf index 718ca20..9b3fef3 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index d9700ab..6f4eb84 100644 --- a/main.tex +++ b/main.tex @@ -86,7 +86,7 @@ This version was generated:\\\today \vspace{2cm} The source code is available at:\\ -\url{https://git.diagram.institue/davidbenque/operational_loops_of_COVID19}\\ +\url{https://git.diagram.institute/davidbenque/Operational_Loops_of_COVID19}\\ License:\\ \href{https://creativecommons.org/licenses/by-sa/2.0/}{CC BY-SA 2.0} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..521268f --- /dev/null +++ b/readme.md @@ -0,0 +1,38 @@ +# Operational Loops of COVID-19 + +Diagrams commissioned by Jussi Parikka and Tony D. Sampson for their paper: + +T. D. Sampson and J. Parikka. The Operational Loops of a Pandemic.*Cultural Politics*, 17(1):55–68, Mar. 2021. ISSN1743-2197. [doi: 10.1215/17432197-8797529](https://read.dukeupress.edu/cultural-politics/article-abstract/17/1/55/172811/The-Operational-Loops-of-a-Pandemic) + +## Structure + +[main.tex](main.tex) is the main file that produces LaTeX output as a PDF in [main.pdf](main.pdf). It imports the diagrams from their respective folders. + +### Loop 1: Scalar logics + +Found the [scalar_logics](scalar_logics/) folder. + +SVG file drawn with Inkscape with text formatted by LaTeX following [Gilles Castel's method](https://castel.dev/post/lecture-notes-2/). + + +### Loop 2: Phase portrait diagram + +Found in the [tornado](tornado/) folder. + +Data visualisation in Python. Reproducing this graph requires installing the Python dependencies listed in [pyproject.toml](pyproject.toml). With [Poetry](https://python-poetry.org/) installed, run the following from the root of this repository: + +```bash +poetry install +``` + +### Loop 3: Model Operations + +Found in the [futures_loop](futures_loop/) folder. + +Diagram drawn in LaTeX / TikZ. This diagram was not included in the Sampson & Parikka paper. + +### Loop 4: Pandemic Wave + +Found in the [wave_loop](wave_loop/) folder. + +Diagram drawn in LaTeX / TikZ. This diagram was not included in the Sampson & Parikka paper. \ No newline at end of file