Debian Codegraph @

texmf-dist/doc/latex/umthesis/PDP.tex

raw
1 \begin{tikzpicture}[scale=.8,cap=round]
2 % Styles
3 \tikzstyle{information text}=[text badly centered]%, rounded corners,fill=red!10,inner sep=1ex]
4 % The graphic
5 \begin{scope}
6 \pgfsetarrowsend{stealth'}
7 \pgfsetlinewidth{1pt}
8 \draw (1,.9) -- (1,1.8)
9 node[below=.9cm,text width=3cm,style=information text]
10 {\small Phonological representation of root form };
11 \draw (5,-.2) -- (5,.8)
12 node[below=.9cm,text width=3cm, style=information text]
13 { \small Wickelfeature representation of root form };
14 \draw (11,-.2) -- (11,.8)
15 node[below=.9cm,text width=3cm, style=information text]
16 { \small Wickelfeature representation of past tense };
17 \draw (16,0.9) -- (16,1.8)
18 node[below=.9cm,text width=3cm, style=information text]
19 { \small Phonological representation of past tense };
20 \end{scope}
21 \draw (3,6)
22 node[text width=3cm, style=information text]
23 { \small Fixed Encoding Network };
24 \draw (8,6)
25 node[text width=4cm, style=information text]
26 { \small Pattern Associator Modifiable Connections };
27 \draw (13.5,6)
28 node[text width=3cm, style=information text]
29 { \small Decoding/Binding Network };
30 % draw the nodes
31 \foreach \x in {1,16}
32 \foreach \y in {2,3,4} {
33 \draw (\x,\y) circle (0.1cm);
34 }
35 \foreach \x in {5,11}
36 \foreach \y in {1,2,3,4,5} {
37 \draw (\x,\y) circle (0.1cm);
38 }
39 % we add the lines for the nodes starting in y 2,3, and 4
40 \foreach \xa / \xb in {1.1 / 4.9, 5.1 / 10.9 , 10.9 / 5.1 , 15.9 / 11.1}
41 \foreach \ya / \yb / \yc / \yd / \ye in {2 / 3 / 4 / 5 / 1, 3 / 4 / 5 / 1 /
42 2, 4 / 5 / 1 / 2 / 3} {
43 \draw (\xa,\ya) -- (\xb,\ya);
44 \draw (\xa,\ya) -- (\xb,\yb);
45 \draw (\xa,\ya) -- (\xb,\yc);
46 \draw (\xa,\ya) -- (\xb,\yd);
47 \draw (\xa,\ya) -- (\xb,\ye);
48 }
49 % add remaining lines from y1 to y5
50 \foreach \xa / \xb in {5.1 / 10.9 , 10.9 / 5.1}
51 \foreach \ya / \yb in {1 / 5, 5 / 1} {
52 \draw (\xa,\ya) -- (\xb,\ya);
53 \draw (\xa,\ya) -- (\xb,\yb);
54 }
55 \end{tikzpicture}