I want to create a flow chart with tikz that looks like this:
-------------------------------
| wide node |
-------------------------------
|
-------------------------------
| wide node |
-------------------------------
|
-------------------------
| | |
------ ------ ------
|sub1| |sub2| |sub3|
------ ------ ------
| | |
-----------------------
|
-------------------------------
| wide node |
-------------------------------
Looks like a pretty basic flow chart. I tried a lot of stuff to join the arrows and get the sub nodes as wide as the other nodes, but I could not get it to work, my current code looks like this:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,arrows,decorations.pathmorphing,backgrounds,fit,positioning,
shapes.symbols,chains}
\begin{document}
\tikzstyle{block} = [rectangle, draw=black, thick, fill=white, text width=8em,
text centered, minimum height=4em]
\tikzstyle{dummyblock} = [rectangle]
\tikzstyle{line} = [draw, -latex']
\begin{center}
\begin{tikzpicture}[node distance=3.5cm]
\node [block] (A) {A};
\node [block,below of= A] (B) {B};
\node [dummyblock,below of=B] (BB) {};
\node [block, below of = BB] (D) {D};
\node [block, left of=D] (C) {C};
\node [block, right of=D] (E) {E};
\node [block, below of=D] (F) {F};
\path [line] (A.south) -| (B.north);
\path [line] (B.south) -| (BB.north);
\path [line] (BB.south) -| (C);
\path [line] (BB.south) -| (D);
\path [line] (BB.south) -| (E);
\path [line] (C.south) -| (F.north);
\path [line] (D.south) -| (F.north);
\path [line] (E.south) -| (F.north);
\end{tikzpicture}\end{center}
\end{document}
Does someone have any clue on how to fix this... any help would be much appreciated!

\coordinate (fn) at [yshift=5mm]F.north);and connectC,D,Eto it with|-not with-|. – percusse Aug 23 '12 at 13:54