From: Doni Pracner Date: Mon, 17 Feb 2014 18:05:21 +0000 (+0100) Subject: slika za stablo procesa ima novi nivo, brojevi su doterani da prikazuju sta se desava... X-Git-Tag: v14a~9 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=ad7a88f8f2fd398ea67f5ea1beadb46ddde4efdd;p=os2skripta.git slika za stablo procesa ima novi nivo, brojevi su doterani da prikazuju sta se desava pri kreiranju i dodat mali tekst ispod --- 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}