Branching arrows with decision option in flowchart
Author
Example from LaTeX-Community.org
Last Updated
11 лет назад
License
LaTeX Project Public License 1.3c
Abstract
Branching arrows with decision option in flowchart
%\title{Branching arrows with decision option in flowchart}
% From http://latex-community.org/forum/viewtopic.php?f=45&t=24006
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,positioning}
\tikzstyle{intt}=[draw,text centered,minimum size=6em,text width=5.25cm,text height=0.34cm]
\tikzstyle{intl}=[draw,text centered,minimum size=2em,text width=2.75cm,text height=0.34cm]
\tikzstyle{int}=[draw,minimum size=2.5em,text centered,text width=3.5cm]
\tikzstyle{intg}=[draw,minimum size=3em,text centered,text width=6.cm]
\tikzstyle{sum}=[draw,shape=circle,inner sep=2pt,text centered,node distance=3.5cm]
\tikzstyle{summ}=[drawshape=circle,inner sep=4pt,text centered,node distance=3.cm]
\begin{document}
\begin{figure}[!htb]
\centering
\begin{tikzpicture}[
>=latex',
auto
]
\node [intg] (kp) {Is database of concrete clear cover available from construction drawings?};
\node [int] (ki1) [node distance=1.5cm and -1cm,below left=of kp] {Use Jeffreys Prior, Eq xx};
\node [int] (ki2) [node distance=1.5cm and -1cm,below right=of kp] {Use Conjugate Prior, Eq yy};
\node [intg] (ki3) [node distance=5cm,below of=kp] {Find Posterior Parameters for population of concrete cover};
\node [intg] (ki4) [node distance=2cm,below of=ki3] {Plot the posterior density function to help practitioner pick value of cc};
\draw[->] (kp) -- ($(kp.south)+(0,-0.75)$) -| (ki1) node[above,pos=0.25] {Yes} ;
\draw[->] (kp) -- ($(kp.south)+(0,-0.75)$) -| (ki2) node[above,pos=0.25] {No};
\draw[->] (ki1) |- (ki3);
\draw[->] (ki2) |- (ki3);
\draw[->] (ki3) -- (ki4);
\end{tikzpicture}
\caption{Data Fusion system using Bayesian approach for updating Compressive strength $f_c$ in case of data from Literature and core compressive strength data for granite}
\label{fig:datafusionindirectdirectfc}
\end{figure}
\end{document}