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