I have a little problem that I am sure is really trivial, but have no idea how to solve it. I have a very simple flowchart with one node that I want to split into two so that they converge in the same following node, and another node that I want to split into two so that the previous node diverges into them. Here is a MWE:
\documentclass{beamer}
\mode<presentation> {
\usetheme{Dresden}
\usecolortheme{default}
\usepackage{tikz}
\usetikzlibrary{positioning,shadows,calc}
}
\begin{document}
\begin{frame}
\frametitle{Flowchart}
\begin{tikzpicture}[
every node/.style={
font=\sffamily,
font=\fontsize{8}{8}\selectfont,
drop shadow,
fill=blue!10,
text width=7cm,
align=center},
>=latex, %Make the arrow tips latex
myline/.style={ultra thick,black!50},
shorter/.style={shorten <=1mm,shorten >=0.5mm}]
\node (A) at (0,0) {Normal dataset and Mutant dataset};
\node[right=0.3cm of A,
fill=blue!30,
text width=1.5cm] (A2) {\fontsize{7}{7}\selectfont\textcolor{blue}{F5}};
\node[below=0.5cm of A] (B) {Filter process 1};
\node[below=0.5cm of B] (C) {Filter process 2};
\node[below=0.5cm of C] (D) {Reduced model and Full model};
\node[below=0.5cm of D] (E) {Identify gene set 1 and Identify gene set 2};
\node[below=0.5cm of E] (F) {Analyze gene set 1 and Analyze gene set 2};
\draw[myline,-,shorter] (A) -- (A2);
\draw[myline,->,shorter] (A) -- (B);
\draw[myline,->,shorter] (B) -- (C);
\draw[myline,->,shorter] (C) -- (D);
\draw[myline,->,shorter] (D) -- (E);
\draw[myline,->,shorter] (E) -- (F);
\end{tikzpicture}
\end{frame}
\end{document}
I want the node "Normal dataset and Mutant dataset" in two nodes "Normal dataset" (with the node "F5" on the left) and "Mutant dataset" (with the node "F5 on the right") converging in the node "Filter process 1".
Then I want to split the node "Reduced model and Full model" into two nodes "Reduced model" and "Full model", so that "Filter process 2" diverges into them. From that point, the flowchart should continue separated, so that "Reduced model" connects with "Identify gene set 1" and "Full model" with "Identify gene set 2". Then "Identify gene set 1" should connect with "Analyze gene set 1" and "Identify gene set 2" with "Analyze gene set 2".
The objective is to be able to draw converging and diverging arrows (Though it is not the best example, but something similar to this).
I guess this should be easy to accomplish, but I really don't know how, and don't find any example on the net. Many thanks in advance!
F5
node twice or in the middle of the dataset nodes?