As it was said, tikz and pgf will work nicely. You will find documentation here. I suggest that you start reading about nodes. For instance start with
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning} % Necessary to use right=5cm of A
\begin{document}
\tikz{
\node (A) [rectangle,draw] {Text of A};
\node (B) [rectangle,draw,right=5cm of A] {Text of B} edge (A.east);
}
\end{document}
Best Answer
You can use Tikz for that matter. This is a simple approach for drawing your diagram. The result is
and this is the code for the preceding image.