2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/presentations/Diskrete-Mathematik/LaTeX/graphs/hamilton-nicht-euler.tex

22 lines
545 B
TeX
Raw Normal View History

2013-06-11 21:51:30 +02:00
\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning}
\tikzset{
%Define standard arrow tip
>=stealth',
% Define arrow style
pil/.style={->,thick}
}
\begin{document}
\begin{tikzpicture}
\node (a)[vertex] at (0,0) {};
\node (b)[vertex] at (0,1) {};
\node (c)[vertex] at (1,0) {};
\node (d)[vertex] at (0,1) {};
\foreach \from/\to in {a/b,b/c,c/d,d/a,a/c,b/d}
\draw[line width=2pt] (\from) -- (\to);
\end{tikzpicture}
\end{document}