Debian Codegraph @

doc/citp-manual/ctf.tikz.tex

raw
1 \tikzstyle{goal} = [draw, rectangle, minimum width=1cm, minimum height=2em, very thick, rounded corners=1mm]
2 \tikzstyle{ded} = [-stealth,very thick]
3 \begin{tikzpicture}[node distance=3cm]
4 \node at (0,4) (g) [goal] {g};
5 \node at (-3,2) (g-1) [goal] {g-1};
6 \node at (3,2) (g-2) [goal] {g-2};
7 \node [left of=g,node distance=0.5cm,anchor=east] {\texttt{:ctf \{ eq l = r . \}}};
8 \draw[rounded corners=3mm] (-4,1.4) rectangle (4,2.6);
9 \path[ded] (g) edge node[fill=white] {:ctf} (g-1)
10 edge node[fill=white] {:ctf} (g-2) ;
11 \node at (-4.8,0.5) (a) [anchor=west] {g + \texttt{\{ eq l = r . \}}} ;
12 \node at (4,0.5) (b) [anchor=east] {g + \texttt{\{ eq (l = r) = false . \}}} ;
13 \path[-stealth,dashed] (a) edge (g-1) ;
14 \path[-stealth,dashed] (b) edge (g-2) ;
15 % \node at (-4.2,2) [anchor=east] {\texttt{:apply(RD)}} ;
16 \end{tikzpicture}