From ad7a88f8f2fd398ea67f5ea1beadb46ddde4efdd Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Mon, 17 Feb 2014 19:05:21 +0100 Subject: [PATCH] slika za stablo procesa ima novi nivo, brojevi su doterani da prikazuju sta se desava pri kreiranju i dodat mali tekst ispod --- skripta-os2.tex | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/skripta-os2.tex b/skripta-os2.tex index 48ce00b..b638d78 100644 --- a/skripta-os2.tex +++ b/skripta-os2.tex @@ -667,14 +667,18 @@ END; \begin{minipage}{0.4\textwidth} \begin{tikzpicture} [proc/.style={circle,draw}, -level 1/.style={sibling distance=20mm,level distance=10mm}, -level 2/.style={sibling distance=10mm,font=\scriptsize} +level 1/.style={sibling distance=28mm,level distance=10mm}, +level 2/.style={sibling distance=14mm,font=\scriptsize}, +level 3/.style={sibling distance=6mm,font=\tiny} ] -\node[proc] (root) {0} -child[->] foreach \x in {1,2} {node[proc] {\x} - child foreach \y in {1,2} {node[proc] {\x-\y} - }}; - +\node[proc] (root) {1-0} +child[->] foreach \x in {0,1} {node[proc] {1-\x} + child foreach \y in {0,1} {node[proc] {2-\y} + child foreach \z in {0,1} {node[proc] {3-\z} + }}}; + +\node[text width=0.9\textwidth] (desc) at (0,-4) {maxdubina=4, potrebnodece=2, +čvorovi prikazuju vrednosti pri kreiranju}; \end{tikzpicture} \end{minipage} -- 2.25.1