I want to draw a picture as follow:
It is my first time to study how to draw a picture using LaTeX. I know several methods to draw a directed graph, but no one works. And I do not know how to draw two different arrows between two nodes.
By the way, in order to make the relation be clear, the nodes may not be placed like a matrix sometimes.
I used the Tikz to draw one, but there are many mistakes.
\documentclass[a4paper,10pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,chains,matrix,positioning,scopes}
\begin{tikzpicture}[>=triangle 60]
\matrix[matrix of math nodes,column sep={60pt,between origins},row
sep={60pt,between origins},nodes={asymmetrical rectangle}] (s)
{
&|[name=NM1]| NM-CPA &|[name=NM2]| NM-CCA1 &|[name=NM3]| NM-CCA2 \\
&|[name=IND1]| IND-CPA &|[name=IND2]| IND-CCA1 &|[name=IND3]| IND-CCA2 \\
};
\draw[->] (NM3) edge (NM2)
(NM2) edge (NM1)
(IND3) edge (IND2)
(IND2) edge (IND1)
(NM3) edge (IND3)
(NM2) edge (IND2)
(NM1) edge (IND1)
;
\end{tikzpicture}





xshift,yshift) to the edges to move them – Andrew Swann Jan 09 '18 at 08:35