% % tkz-namedgraphs (27/05/2011) % % Coding (utf8) Creator (TeX) % Author Alain Matthes \input{tkzpreamblenamed.ltx} \begin{document} \begin{tikzpicture} \renewcommand*{\VertexBallColor}{orange!50!red} \renewcommand*{\EdgeDoubleDistance}{2pt} \SetGraphUnit{4} \GraphInit[vstyle=Shade] \tikzset{LabelStyle/.style = {draw, fill = yellow, text = red}} \Vertex{A} \EA(A){B} \EA(B){C} {\SetGraphUnit{8} \NO(B){D}} \Edge[label=1](B)(D) \tikzset{EdgeStyle/.append style = {bend left}} \Edge[label=4](A)(B) \Edge[label=5](B)(A) \Edge[label=6](B)(C) \Edge[label=7](C)(B) \Edge[label=2](A)(D) \Edge[label=3](D)(C) \end{tikzpicture} \end{document}