2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-28 23:37:57 +02:00
LaTeX-examples/presentations/Diskrete-Mathematik/LaTeX/aufgabe-1/graph-1.tex
2013-04-26 00:44:33 +02:00

21 lines
577 B
TeX

\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikzstyle{vertex}=[draw,fill=black,circle,minimum size=3pt,inner sep=0pt]
\begin{tikzpicture}
\node[vertex] (N-1) at (0,0) {};
\node[vertex] (N-2) at (0,1) {};
\node[vertex] (N-3) at (1,0) {};
\node[vertex] (N-4) at (1,1) {};
\draw (N-1) -- (N-2);
\draw (N-1) -- (N-3);
\draw (N-1) -- (N-4);
\draw (N-2) -- (N-3);
\draw (N-2) -- (N-4);
\draw (N-3) -- (N-4);
\end{tikzpicture}
\end{document}