Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm wondering why the path from (pittet)|-(model) won't show up at all... Any thoughts? enter image description here Appropriate lines are commented %this one to %this one



% Define block styles
\tikzstyle{decision} = [diamond, draw, 
    text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, 
    text width=5em, text centered, rounded corners, minimum height=4em]
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, circle, node distance=3cm,
    minimum height=2em]

\begin{tikzpicture}[node distance = 2.5cm, auto]
    % Place nodes
    \node [block] (init) {Controlled particle deposition experiment in chamber};
    \node [cloud, left of=init, node distance=4cm] (expert) {Scenario design};
    \node [cloud, right of=init, node distance=4cm] (system) {Literature input};
    \node [block, below of=init] (identify) {CFD models};
    \node [block, below of=identify] (evaluate) {Validate against expeirment};
    \node [block, left of=evaluate, node distance=3cm] (update) {update model};
    \node [decision, below of=evaluate] (decide) {is spatial prediction within $\sigma^2$ of experiment?};
    \node [block, below of =decide,node distance=4cm] (model) {Parametric  model}; %This one
    \node [cloud,  left of=decide, node distance=6cm] (litinput) {Literature parametric input};
    \node [cloud,  right of=decide, node distance=6cm] (obsinput) {Obersvational study YAB};
\node [decision, below of=model] (map_n_to_t) {Sensitivity analysis};
  \node [block, right of=map_n_to_t, node distance=3cm] (pittet) {update model}; % to this one
   \node [block, below of=map_n_to_t, node distance=3cm] (compare) {Evaluate Model};
\node [block, below of=compare, left of =compare, node distance=3cm] (single) {Single room};
\node [block, below of=compare, right of =compare, node distance=3cm] (4bed) {Multibed room};
   \node [block, below of=compare,node distance=3cm] (stop) {Output comparison};
    % Draw edges
    \path [line] (init) -- (identify);
    \path [line] (identify) -- (evaluate);
    \path [line] (evaluate) -- (decide);
    \path [line] (decide) -| node [near start] {no} (update);
    \path [line] (update) |- (identify);
    \path [line] (decide) -- node {yes}(model);
    \path [line,dashed] (expert) -- (init);
    \path [line,dashed] (system) -- (init);
     \path [line] (decide) -- (model);
  \par[line,dashed] (pittet) -| (model);  %why won't this line show up?
 \path [line,dashed] (litinput) |- (model);
    \path [line,dashed] (obsinput) |- (model);

    \path [line]   (map_n_to_t) -- (pittet);
    \path [line]  (model)--(map_n_to_t) ;
    \path [line,dashed] (system) |- (evaluate);
\path [line]  (map_n_to_t)--(compare) ;
\path [line]  (compare) --(single);
\path [line]  (compare) --(4bed);
\path [line]  (single) --(stop);
\path [line]  (4bed) --(stop);
\caption{Flowchart of model development}

share|improve this question
You are writing \par instead of \path. –  Ulrike Fischer Mar 20 '13 at 14:23
and path will be more visible if you change -| with |-. –  Zarko Mar 20 '13 at 14:28
Thank you both @UlrikeFischer and Zarko. How would you get the path to connect to the bottom right vertex instead of the side? The whole thing looks a bit ragged don't you think? –  HCAI Mar 20 '13 at 14:44
@user1134241: Use \path[line,dashed] (pittet) -| (model.south east);. –  Jake Mar 20 '13 at 15:28
Try \path[line,dashed] (pittet) to[out=90,in=315] (model.south east); adjusting the out and in angles to suit. –  Andrew Swann Mar 20 '13 at 15:53
show 2 more comments

closed as too localized by Jake, lockstep, diabonas, mafp, Kurt Mar 20 '13 at 16:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.