From 7078e227d35866ad1fb08ee5f5d09fd8cf4c998f Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Mon, 17 Feb 2014 19:08:57 +0100 Subject: [PATCH] slika za roditelja sa puno dece izmenjena da prikazuje vrednost j --- skripta-os2.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/skripta-os2.tex b/skripta-os2.tex index b638d78..1a6ae56 100644 --- a/skripta-os2.tex +++ b/skripta-os2.tex @@ -634,14 +634,14 @@ END; \begin{minipage}{0.4\textwidth} \begin{tikzpicture} [proc/.style={circle,draw}] -\def \n {5} -\node[proc] (1) at (0,0) {1}; -\foreach \s in {2,...,\n} +\def \n {3} +\node[proc] (top) at (0,0) {0..4}; +\foreach \s in {0,...,\n} { - \node[proc] (\s) at (-3.5+\s,-2) {\s}; + \node[proc] (\s) at (-1.5+\s,-2) {\s}; } -\foreach \s in {2,...,\n} { - \draw [->] (1) to (\s); +\foreach \s in {0,...,\n} { + \draw [->] (top) to (\s); } \end{tikzpicture} \end{minipage} -- 2.25.1