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