Possible Duplicate:
How would you produce the following exact hexagon?
I'd like to create a hexagonal graph, where the nodes are row vectors and the edges arrows with labels (I'm trying to illustrate a cycle). See my attempt below:
\documentclass{article}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\usepackage[latin1]{inputenc}
\begin{document}
\begin{tikzpicture}[->,shorten >=0.2pt,auto,node distance=2.5cm,semithick]
\tikzstyle{every state}=[fill=none,draw=none,text=black]
\node[state] (A) {$(1,1,1)$};
\node[state] (B) [below right of=A] {$(1,1,1)$};
\node[state] (C) [below of=B] {$(1,1,1)$};
\node[state] (D) [below left of=C] {$(1,1,1)$};
\node[state] (E) [above left of=D] {$(1,1,1)$};
\node[state] (F) [above of = E] {$(1,1,1)$};
\path (A) edge node {$A$} (B)
(B) edge node {$A$} (C)
(C) edge node {$A$} (D)
(D) edge node {$A$} (E)
(E) edge node {$A$} (F)
(F) edge node {$A$} (A);
\end{tikzpicture}
\end{document}
I want it to be a regular hexagon, which this is not. I also want the ends of the arrows to be closer to the nodes. How can I sort this?
Thanks


