I want to draw lines between v_2,...,v_6 and from v_1 to all the other points (a pyramid). This is how far I got:
\documentclass{article}
\usepackage{graphics, tikz, tkz-berge}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[scale=1,transform shape]
\tikzstyle{LabelStyle}=[fill=white,sloped]
\Vertex[x=0,y=0]{$v_2$}
\Vertex[x=3,y=0]{$v_3$}
\Vertex[x=4,y=1.5]{$v_4$}
\Vertex[x=1.5,y=2.5]{$v_5$}
\Vertex[x=-1,y=1.5]{$v_6$}
\Vertex[x=1.5,y=4.5]{$v_1$}
\end{tikzpicture}
\caption{Graph}
\end{figure}
\end{document}
It produces the following graph:
Which is almost okay, but I can't seem to add edges. I tried to add
\Edge[]($v_1$)($v_2$)
to the code but that gives me the error 'paragraph ended before parse was completed'. Apparently the problem has something to do with the $v_i$
because the code runs if I delete the dollar signs.