I'd like to paint a directed graph G(V,A) with directed arcs. The problem is that if I paint 2 arcs, one from a to b and one from b to a, the two arcs get merged into one two-sided arrow (not sure if this is the correct word)
Here is some code:
\documentclass{beamer}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{arrows,shapes}
\begin{document}
\tikzstyle{vertex}=[circle,fill=black!25,minimum size=20pt,inner sep=0pt]
\tikzstyle{edge} = [draw,thick,->]
\tikzstyle{weight} = [font=\small]
\begin{figure}
\begin{tikzpicture}[scale=1.8, auto,swap]
% draw the vertices
\foreach \pos/\name in {{(0,2)/a}, {(3,2)/b}}
\node[vertex] (\name) at \pos {$\name$};
% Connect vertices with edges and draw weights
\foreach \source/ \dest /\weight in {a/b/1, b/a/2}
\path[edge] (\source) -- node[weight] {$\weight$} (\dest);
\end{tikzpicture}
\end{figure}
\end{document}
And the result:

It should be two separate arcs (one from a to b, one from b to a).
