circle-two-facets.tex 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 (0,0) {};
  13. \node (b)[vertex] at (1,1) {};
  14. \node (c)[vertex] at (2,1) {};
  15. \node (d)[vertex] at (3,0) {};
  16. \node (e)[vertex] at (4,1) {};
  17. \node (f)[vertex] at (5,1) {};
  18. \node (g)[vertex] at (6,0) {};
  19. \node (h)[vertex] at (5,-1) {};
  20. \node (i)[vertex] at (4,-1) {};
  21. %\node (j)[vertex] at (3,0) {};
  22. \node (k)[vertex] at (2,-1) {};
  23. \node (l)[vertex] at (1,-1) {};
  24. \node (m)[vertex] at (2,2) {};
  25. \node (n)[vertex] at (3,2) {};
  26. \foreach \from/\to in {a/b,b/c,c/d,d/e,e/f,f/g,g/h,h/i,i/d,d/k,k/l,l/a}
  27. \draw[selected edge] (\from) -- (\to);
  28. \foreach \from/\to in {a/b,b/c,c/d,d/e,e/f,f/g,g/h,h/i,i/d,d/k,k/l,l/a}
  29. \draw[line width=2pt] (\from) -- (\to);
  30. \draw[line width=2pt] (b) -- (m);
  31. \draw[line width=2pt] (m) -- (n);
  32. \end{tikzpicture}
  33. \end{document}