How can I make the following graph a simple graph with these colors?
$\begin{tikzpicture}[shorten >=0.5pt,node distance=2.2cm,on grid,auto, vertex/.style={circle, draw, minimum size=0.001cm}]
\node[vertex, fill=blue] (x) {};
\node[vertex, fill=red] (y) [right=of x] {};
\node[vertex, fill=yellow] (z) [below=of y] {};
\node[vertex, fill=green] (u) [below=of x] {};
\node[vertex, fill=green] (a) [right=of y] {};
\path[-] (x) edge [bend left=40] node {} (y);
\path[-] (y) edge [bend left=40] node {} (a);
\path[-] (a) edge [bend left=40] node {} (z);
\path[-] (x) edge [bend right=40] node {} (u);
\path[-] (z) edge [bend left=40] node {} (u);
\end{tikzpicture}$
Best Answer
Most likely I do not understand the question. Here is a code which produces a Cayley graph with the same colors as your code.
I saw that you bent some edges. If you really want to do that, then you may want to consider this snippet.