1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| \documentclass[12pt,a4paper]{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\node[draw] (Q) at (0,0) {Paris};
\node[draw] (W) at (0,-2) {Strasbourg};
\node[draw] (S) at (0,-3) {Lille};
\node[draw] (P) at (0,-4) {Lill};
\node[draw] (F) at (0,-5) {Lil};
\node[draw] (G) at (2,-0.5) {Li};
\node[draw] (E) at (3,-1.5) {L};
\node[draw] (D) at (4.5,-2.5) {Lillee};
\draw (Q.east) --++(0:5mm)|- (G);
\draw (W.east) --++(0:5mm)|- (G);
\draw[->,>=latex] (W) -| (S);
\draw[->,>=latex] (S) -| (E);
\draw[->,>=latex] (G) -| (E);
\draw[->,>=latex] (E) -| (D);
\draw[->,>=latex] (F) -| (D);
\draw[->,>=latex] (P) -| (D);
\end{tikzpicture}
\end{frame}
\end{document} |
Partager