graph-1.tex 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{tikz}
  3. \usetikzlibrary{arrows,positioning}
  4. \tikzset{
  5. %Define standard arrow tip
  6. >=stealth',
  7. % Define arrow style
  8. pil/.style={->,thick}
  9. }
  10. \begin{document}
  11. \begin{tikzpicture}
  12. \node (a)[vertex] at (1,1) {};
  13. \node (b)[vertex] at (2,5) {};
  14. \node (c)[vertex] at (3,3) {};
  15. \node (d)[vertex] at (5,4) {};
  16. \node (e)[vertex] at (3,6) {};
  17. \node (f)[vertex] at (5,6) {};
  18. \node (g)[vertex] at (7,6) {};
  19. \node (h)[vertex] at (7,4) {};
  20. \node (i)[vertex] at (6,2) {};
  21. \node (j)[vertex] at (8,7) {};
  22. \node (k)[vertex] at (9,5) {};
  23. \node (l)[vertex] at (13,6) {};
  24. \node (m)[vertex] at (11,7) {};
  25. \node (n)[vertex] at (15,7) {};
  26. \node (o)[vertex] at (16,4) {};
  27. \node (p)[vertex] at (10,2) {};
  28. \node (q)[vertex] at (13,1) {};
  29. \node (r)[vertex] at (16,1) {};
  30. \node (s)[vertex] at (17,4) {};
  31. \node (t)[vertex] at (19,6) {};
  32. \node (u)[vertex] at (18,3) {};
  33. \node (v)[vertex] at (20,2) {};
  34. \node (w)[vertex] at (15,4) {};
  35. \foreach \from/\to in {a/c,c/b,c/d,d/f,f/g,g/h,h/d,d/g,h/f,i/k,k/j,k/l,l/m,m/n,n/o,o/t,t/v,v/u,s/r,o/q,q/p,u/t}
  36. \draw[line width=2pt] (\from) -- (\to);
  37. \end{tikzpicture}
  38. \end{document}