I wish to essentially remake the below image using TikZ, but with more colors and using a different language inside the boxes.
I've tried the following:
\documentclass[tikz]{standalone}
\usepackage{mathtools}
\usetikzlibrary{shapes,arrows}
% Define block styles
\tikzstyle{HOTRES} = [rectangle, draw, fill=red!20,
text width=20em, text centered, rounded corners, minimum height=1.5em]
\tikzstyle{COLDRES} = [rectangle, draw, fill=blue!20,
text width=20em, text centered, rounded corners, minimum height=1.5em]
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=yellow!20, node distance=3cm,
minimum height=4em]
\begin{document}
\begin{tikzpicture}
% Reservoirs
\node [HOTRES] (HOT) at (0,2) {Kuuma};
\node [COLDRES] (COLD) at (0,-2) {Kylmä};
% Heat transfer
\node [cloud] (HOT->COLD) at (-2,0) {\(Q\)};
\node [cloud] (COLD->HOT) at (2,0) {\(Q\)};
% Lines
\draw [line] (HOT) -- (HOT->COLD) -- (COLD);
\draw [line] (COLD) -- (COLD->HOT) -- (HOT);
\end{tikzpicture}
\end{document}
which produces this picture:
I just don't know how to achieve the effect of having arrows (that can just be simple TikZ arrows) leaving and entering the same node at different points, so that all of the arrows in the last picture were vertical. How could I achieve this effect with relative ease?