I'm a beginner in tikz and need to draw Subgroup lattices. I did figure this "easy" way out, but it doesn't look that good:
\documentclass[12pt]{article}
\usepackage{tikz}
\usepackage{amsfonts}
\begin{document}
\begin{figure}
\begin{tikzpicture}[node distance=2cm]
\title{Untergruppenverband der $A_4$}
\node(A4) {$A_4$};
\node(V4) [below right of=A4] {$V_4$};
\node(C31) [below left of=A4] {$C_3$};
\node(C32) [left of=C31] {$C_3$};
\node(C33) [left of=C32] {$C_3$};
\node(C34) [left of=C33] {$C_3$};
\node(C22) [below of=V4] {$C_2$};
\node(C21) [left of=C22] {$C_2$};
\node(C23) [right of=C22] {$C_2$};
\node(1) [below left of=C21] {$\left\{1\right\}$};
\draw(A4) -- (V4);
\draw(A4) -- (C31);
\draw(A4) -- (C32);
\draw(A4) -- (C33);
\draw(A4) -- (C34);
\draw(C31) -- (C32);
\draw(C32) -- (C33);
\draw(C33) -- (C34);
\draw(C31) -- (1);
\draw(C32) -- (1);
\draw(C33) -- (1);
\draw(C34) -- (1);
\draw(V4) -- (C21);
\draw(V4) -- (C22);
\draw(V4) -- (C23);
\draw(C21) -- (C22);
\draw(C22) -- (C23);
\draw(C21) -- (1);
\draw(C22) -- (1);
\draw(C23) -- (1);
\end{tikzpicture}
\caption{Untergruppenverband}
\end{figure}
\end{document}

I want A_4 to be on the top center of the picture and the lines between V_4 and the C_2's and between the C_3's should be shorter. In addition to that, I'd like to put the index of the subgroup (a natural number) on some lines, like a 2 on the lines connecting V_4 and C_2.
I would appreciate any help.


midwayis the default setting, so you don't really need to specify that. – Torbjørn T. Feb 06 '14 at 10:25\draw (V4) -- (C22) node[midway, right=1cm] {2};This way you create a new node aligned between V4 and C22 and put it 1cm to the right. – moospit Feb 06 '14 at 11:09