In the following plot
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{shapes.arrows,shapes}
\begin{document}
\begin{tikzpicture}
\node[draw,ultra thick,above right,] (USR) at (1,7) {User};
\node[draw,ultra thick,below] (MNT) at (-1,-2) {Management};
\draw[-latex,line width=1.mm,teal] (MNT.north) to[ out=120, in=210,] (USR.west);
\draw[-latex,line width=1.mm,teal] (USR.east) to[ out=-30, in=50,] (MNT.east);
%---
\node[] (get) at (-1,4) {\large{GET}};
% \node[below,yshift=-2mm] at (get) {\large{SET}};
\node[] at (2,4) {\large{RESPONSE}};
\end{tikzpicture}
\end{document}
I cannot make the text GET
, and RESPONSE
be placed along the line (sloped).
I have tested options pos=0.7
, near end
, or near start
do not work. Finally, the words appear at coordinates to show this example.
\path
does work as I was looking. I did not see the\path
way of doing it :).\path[-latex,line width=1.mm,teal] (MNT.north) [out=120, in=210,sloped] edge node [below] {GET} (USR.west);