答案1
也许是这样的?
\documentclass[border = 4pt, tikz]{standalone}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
\tikzstyle{myarrow} = [line width = 1mm, draw = gray!40, -triangle 45, postaction={draw, line width = 2mm, shorten >=3mm, -}]
\begin{document}
\begin{tikzpicture}[outer sep = 2pt]
\node[trapezium, trapezium angle = 60, minimum width = 1cm, draw, align = center, fill = cyan!10] (agent) {Agent};
\node[below = of agent, draw, rounded corners, minimum width = 1cm, minimum height = 0.8cm, fill = green!10] (environment) {Environment};
\draw[myarrow, rounded corners] (environment.west) -- ([xshift = -1cm]environment.west) |- (agent)
node[pos = 0.25, left, align = center]{State: s \\ \color{red}{Reward : r}};
\draw[myarrow, rounded corners] (agent.east) -- ([xshift = 1.5cm]agent.east) |- (environment)
node[pos = 0.25, right, align = center]{Actions: a};
\end{tikzpicture}
\end{document}