euler-nicht-hamilton.tex 582 B

1234567891011121314151617181920212223
  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 (2,0) {};
  14. \node (c)[vertex] at (2,2) {};
  15. \node (d)[vertex] at (0,2) {};
  16. \node (d)[vertex] at (1,1) {};
  17. \foreach \from/\to in {a/b,b/c,c/d,d/a,b/e,e/d}
  18. \draw[line width=2pt] (\from) -- (\to);
  19. \end{tikzpicture}
  20. \end{document}