i want to create a block diagram that has multiple inputs into the next block, but do not seem to be able to get it to work at all.
I would like to produce it like:
This is what i have right now:
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,shapes.geometric}
\tikzstyle{block} = [rectangle, draw,
text width=5em, text centered, rounded corners, minimum height=5em]
\tikzstyle{halfblock} = [rectangle, draw,
text width=5em, text centered, rounded corners, minimum height=2em]
\tikzstyle{line} = [draw, -latex']
\begin{document}
\centering
\begin{tikzpicture}[node distance = 3cm, auto]
% Place nodes
\node [halfblock, yshift= 1cm] (1a) {1a};
\node [halfblock, yshift= -1cm] (1b) {1b};
\node [block, right of=1a, right of=1b] (2) {2};
\node [block, right of=2] (3) {3};
\path [line] (1a) -- (2);
\path [line] (1b) -- (2);
\path [line] (2) -- (3);
\end{tikzpicture}
\end{document}