Browse Source

Finish futures loop

main
parent
commit
7b08194659
  1. 72
      futures_loop/futures.tex

72
futures_loop/futures.tex

@ -3,11 +3,16 @@
\begin{tikzpicture}[>={Stealth[scale=2]}, % arrow head
shorten > = 3pt,
node distance = 1cm and 2cm,
el/.style = {inner sep=10pt, align=center},
el/.style = {inner sep=6pt, align=center, color=black},
state/.style = {minimum size=2.5cm, circle, draw=black, fill=white}, %node styles
plain/.style = {rectangle, fill=white, font=\large},
node/.style = {draw, circle, inner sep=5, font=\large},
phantom/.style = {rectangle, inner sep=0.1cm, font=\large}
node_initial/.style = {draw, circle, inner sep=2, font=\large},
phantom/.style = {rectangle, inner sep=0.1cm, font=\large},
->-/.style={decoration={
markings,
mark=at position #1 with {\arrow{>}}},postaction={decorate}
}
% every label/.append style = {font=\tiny}, unused node labels
]
@ -17,44 +22,41 @@
\node (futures2) [plain, above=of models, yshift=-0.7cm, xshift=-2cm] {of};
\node (futures1) [plain, left=of models, yshift=1.4cm, xshift=1.4cm] {Futures};
\node (fold) [phantom, above=of models, yshift=2cm] {Fold};
\node (fold2) [phantom, right=of models, yshift=2cm] {};
\node (fold) [phantom, above=of models, align=center, yshift=2cm] {Pick \& Fold};
\node (fold2) [phantom, right=of models, xshift=-1.5cm, yshift=1.5cm] {};
\node (policy) [node, right=of models, align=center, xshift=1cm, yshift=3cm] {Policy\\Measures};
\node (s) [node_initial, label=right:{usceptible}, below=of policy, xshift=1cm , yshift=-1cm] {\textbf{S}};
\node (i) [node_initial, label=right:{nfectious}, below=of policy, xshift=0cm , yshift=-2.2cm] {\textbf{I}};
\node (r) [node_initial, label=right:{ecovered}, below=of policy, xshift=-1cm , yshift=-3.4cm] {\textbf{R}};
\node (d) [node_initial, label=right:{eceased}, below=of policy, xshift=-2cm , yshift=-4.6cm] {\textbf{D}};
\path[->]
(models) edge [in=-140,out=-110,max distance=1.5cm,loop] node[el,below] {Runs and re-runs} (models)
\node (ghostly) [phantom, left=of policy, align=center, xshift=1.2cm, yshift=0.5cm] {Ghostly\\Potential};
% \node (casualties) [node, below=of policy, align=center] {Virus\\Spread};
\path[->, color=blue]
(models) edge [in=-140,out=-110,max distance=1.5cm,loop] node[el,below] {Runs and re-runs} (models);
\path[->, color=blue, shorten < = -3mm]
(models) edge [] (futures1.east)
(models) edge [] (futures2.east)
(models) edge [] (futures3.east);
\draw[->] (models) -- (fold.south) -- (fold2.center);
% % PULL & PUSH
% \node (pull) [plain, above=of waves, xshift=-1cm] {PULL};
% \node (pull) [plain, above=of waves, xshift=1cm] {PUSH};
% \draw [dashed] (0,1) -- (0,3);
% \draw [dashed] (0,-1) -- (0,-3);
% % Connections
% \path[->, out=-70, in=-170] (pasts) edge (waves);
% \path[->, out=70, in=-190] (futures) edge (waves);
% \path[->, out=15, in=-180] (waves) edge (natural);
% \path[->, out=5, in=-180] (waves) edge (govt);
% \path[->, out=-5, in=-180] (waves) edge (individual);
% \path[->, out=-15, in=-180] (waves) edge (death);
% \path[<->, >={Stealth[scale=1]}, out=0, in=0, looseness=3]
% (natural.east) edge (govt.east)
% (govt.east) edge (individual.east)
% (individual.east) edge (death.east);
% Loop back
% \path[->, shorten < = 10pt] (natural) edge [bend right=45] (pasts);
% \path[->, shorten < = 10pt] (death) edge [bend left=45] (futures.south);
% \path[->]
% (pasts.east) edge [bend right=5] (waves.west)
% (futures.east) edge [bend left=5] (waves.west);
\draw[->-=.25, -, color=blue, shorten > = 0pt, shorten < = -3mm] (models) -- (fold.south) -- (fold2.center);
\path[->, color=blue]
(fold2.center) edge [] (policy)
(policy) edge [bend right=35] (fold.east)
(fold2.center) edge [] node [el, above, sloped] {Produced} (s)
(fold2.center) edge [] (i)
(fold2.center) edge [] (r)
(fold2.center) edge [] (d);
\path[->, color=blue, shorten <= 3pt]
(s) edge [] (models)
(i) edge [] (models)
(r) edge [] (models)
(d) edge [] node [el, below, sloped] {Counted} (models);
\end{tikzpicture}
Loading…
Cancel
Save