Debian Codegraph @

doc/search/figure3.tikz.tex

raw
1 % \documentclass{minimal}
2 % \usepackage{amsmath}
3 % \usepackage{tikz}
4 % \usetikzlibrary{arrows,arrows.meta,decorations.markings}
5 % \begin{document}
6 \definecolor{tempcolor}{RGB}{255,189,255}
7 \tikzstyle{sstate} = [draw, circle, fill=red!20, minimum width=0.7cm,node distance=3cm]
8 \tikzstyle{sstateother} = [draw, circle, fill=tempcolor, minimum width=0.7cm,node distance=3cm]
9 \tikzstyle{fatarr} = [>={Latex[width=2mm,length=2mm]}]
10 \begin{tikzpicture}
11 \def\nnn(#1,#2,#3){\node [sstate] (#3) at (#1,#2) {#3} ; }
12 \def\nnno(#1,#2,#3){\node [sstateother] (#3) at (#1,#2) {#3} ; }
13 \nnn(0,0,A)
14 \nnn(-0.5,-1.8,I)
15 \nnn(0.7,1.9,G)
16 \nnn(1.4,-2.3,J)
17 \nnn(1.9,-1.1,C)
18 \nnn(3.5,-2,E)
19 \nnno(3.3,-0.3,D)
20 \nnno(3.1,1.5,B)
21 \nnno(5,-1.1,F)
22 \nnn(6.8,-1.1,K)
23 \nnn(6.8,0.2,H)
24 \path[->,fatarr] (A) edge (C) edge (B) ;
25 \path[->,fatarr] (I) edge (J) ;
26 \path[<->,fatarr] (C) edge (J) ;
27 \path[->,fatarr] (C) edge (E) edge (F) edge (D) ;
28 \path[->,fatarr] (J) edge (E) ;
29 \path[->,fatarr] (E) edge (F) ;
30 \path[->,fatarr] (F) edge (B) (B) edge (K) (K) edge (F) (B) edge (H) ;
31 \end{tikzpicture}
32 %\end{document}