I tried this code to generate the following figure.
\documentclass[statementpaper,11pt,twoside]{memoir}
\usepackage{tikz}
\usetikzlibrary{fit,positioning}
\begin{document}
\begin{center}
\begin{tikzpicture}[]
\tikzstyle{vertex} = [rectangle, rounded corners, minimum width=2cm, minimum height=0.8cm, text centered, draw=green!60, fill=green!5, very thick]
\tikzstyle{hidden} = [draw=none, minimum width=1cm, minimum height=0.8cm, text centered]
\tikzstyle{arrow} = [->,thick]
\node[vertex, minimum width=2cm] (y) at (1,0) {p1};
\node[vertex] (y1) [below=0.7cm of y] {p1};
\node[vertex, minimum width=1.5cm] (y11) [right=0.7cm of y1] {p2};
\node[vertex, minimum width=1cm] (y12) [right=0.7cm of y11] {p3};
\draw[arrow] (y) to [out=270,in=100] (y1);
\draw[arrow] (y) to [out=270,in=150] (y11);
\draw[arrow] (y) to [out=270,in=140] node[above] {\footnotesize Text along arrow} (y12);
\end{tikzpicture}
\end{center}
\end{document}
Produced output:
My expectation:
How can I get my desired output to bent the arrow correctly and set the text.



