Révision | e368f8c66b17d4402a51dfdfb9fac8b7e80dce38 |
---|---|
Taille | 4,755 octets |
l'heure | 2010-08-28 00:18:52 |
Auteur | lorenzo |
Message de Log | I am now able also to tune the thickness of the arrows. |
\documentclass[a4paper]{article} %the 18pt option does not really
%do anything here
% \documentclass[landscape]{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\pagestyle{empty}
% Define block styles
% \tikzstyle{decision} = [diamond, draw, fill=blue!20,
% text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
% \tikzstyle{block} = [rectangle, draw, fill=blue!20,
% text width=5em, text centered, rounded corners, minimum height=4em]
% \tikzstyle{line} = [draw, -latex']
% \tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
% minimum height=2em]
% \begin{tikzpicture}[node distance = 2cm, auto]
% % Place nodes
% \node [block] (init) {initialize model};
% \node [cloud, left of=init] (expert) {expert};
% \node [cloud, right of=init] (system) {system};
% \node [block, below of=init] (identify) {identify candidate models};
% \node [block, below of=identify] (evaluate) {evaluate candidate models};
% \node [block, left of=evaluate, node distance=3cm] (update) {update model};
% \node [decision, below of=evaluate] (decide) {is best candidate better?};
% \node [block, below of=decide, node distance=3cm] (stop) {stop};
% % Draw edges
% \path [line] (init) -- (identify);
% \path [line] (identify) -- (evaluate);
% \path [line] (evaluate) -- (decide);
% \path [line] (decide) -| node [near start] {yes} (update);
% \path [line] (update) |- (identify);
% \path [line] (decide) -- node {no}(stop);
% \path [line,dashed] (expert) -- (init);
% \path [line,dashed] (system) -- (init);
% \path [line,dashed] (system) |- (evaluate);
% \end{tikzpicture}
\tikzstyle{decision} = [diamond, draw, fill=blue!20,
text width=4.5em, text badly centered, node distance=2.5cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=blue!20,
text width=35em, text centered, rounded corners, minimum height=4em]
% \tikzstyle{line} = [draw, very thick, color=black!50, -latex']
\tikzstyle{line} = [draw, line width=3.8pt , color=black!50, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=2.5cm,
minimum height=2em]
\tikzstyle{smallblock} = [rectangle, draw, fill=blue!20,
text width=20em, text centered, rounded corners, minimum height=4em]
\tikzstyle{decision answer}=[near start,color=black]
% \begin{tikzpicture}[scale=2, node distance = 2cm, auto]
\vspace*{-4.5cm}
% \noindent\makebox[\textwidth]{<tikz-picture>}
\noindent\makebox[\textwidth]{
\begin{tikzpicture}[scale=2, node distance = 2cm, auto] %this defines
%the default distance between nodes,
%but I can override it.
% Place nodes
\node [block] (data) {\huge{{\bf Data: time stamped records of human
interaction
\begin{itemize}
\item face-to-face proximity
\item high temporal and spatial resolution
\item initial and final time of each interaction
\end{itemize}}}
\includegraphics[width=3cm, height=3cm]{ciro1.png}
};
% \node [cloud, left of=init] (expert) {expert};
% \node [cloud, right of=init] (system) {system};
\node [block, below of=data, node distance=10cm] (net) {\huge{{\bf Network
Representation
\begin{itemize}
\item from physical proximity to networks
\item aggregate on suitable time window
\end{itemize}}}
\includegraphics[width=3cm, height=3cm]{ciro2.png}};
\node [block, below of=net, node distance=6cm] (software)
{\huge{{\bf Software: Python + R scripts}}};
% \node [block, left of=evaluate, node distance=2.5cm] (update) {update model};
\node [smallblock, below of=evaluate, left of=software, node distance=4cm] (stat)
{\huge{{\bf Statistics}} \\
\includegraphics[width=4cm, height=4cm]{stat.pdf}};
\node [smallblock, below of=evaluate, right of=software, node
distance=4cm] (vis)
{\huge{\bf{Visualization}} \\
\includegraphics[width=4cm, height=4cm]{vis.pdf}};
% \node [block, below of=decide, node distance=2.5cm] (stop) {stop};
% Draw edges
\path [line] (data) -- (net);
\path [line] (net) -- (software);
\path [line] (software) -- (stat);
\path [line] (software) -- (vis);
% \path [line] (vis) |- (data); it was just a test
% \path [line] (decide) -| node [near start, color=black] {yes} (update);
% \path [line] (update) |- (identify);
% \path [line] (decide) -- node [, color=black] {no}(stop);
% \path [line,dashed] (expert) -- (init);
% \path [line,dashed] (system) -- (init);
% \path [line,dashed] (system) |- (evaluate);
%\path[line] (decide) -| node[decision answer] {yes} (update);
\end{tikzpicture}
}
\end{document}