LaTeX forum ⇒ Presentations and PostersReturning arrows drawing (Tikz : Beamer)

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
ss_88_ss
Posts: 1
Joined: Mon Jun 24, 2019 9:46 am

Returning arrows drawing (Tikz : Beamer)

Postby ss_88_ss » Mon Jun 24, 2019 9:54 am

Hello everyone,

I am using Tikz over Beamer.

I am creating a flowchart which i post the code herein :

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \begin{tikzpicture}[node distance=0.95cm]
  2.  
  3. \node (start) [startstop] {Start};
  4. \node (in1) [io, below of=start] {Input};
  5. \node (pro1) [process, below of=in1] {Process 1};
  6. \node (dec1) [decision, below of=pro1, yshift=-0.5cm] {Decision 1};
  7. \node (dec2) [decision, below of=dec1, yshift=-0.5cm] {Decision 2};
  8. \node (pro2b) [process, right of=dec1, xshift=2cm] {Process 2b};
  9. \node (pro2d) [process, left of=dec1, xshift=-2cm] {Process 2d};
  10. \node (pro2e) [process, below of=pro2d, yshift=-0.15cm] {Process 2e};
  11. \node (pro2c) [process, below of=pro2b, yshift=-0.15cm] {Process 2c};
  12. \node (out1) [io, below of=dec2] {Output};
  13. \node (stop) [startstop, below of=out1] {Stop};
  14.  
  15. \draw [arrow] (start) -- (in1);
  16. \draw [arrow] (in1) -- (pro1);
  17. \draw [arrow] (pro1) -- (dec1);
  18. \draw [arrow] (dec1) -- (dec2);
  19. \draw [arrow] (dec1) -- (pro2b);
  20.  
  21. \draw [arrow] (dec1) -- node[anchor=east] {yes} (dec2);
  22. %\draw [arrow] (dec1) -- node[anchor=south] {no} (pro2b);
  23. %\draw [arrow] (dec2) |- (pro1);
  24. \draw[arrow] (dec2.west) -| node[auto] {Yes} ++(2pt,2pt) |- (pro1.west);
  25. %\path [line, red, thick] (dec2.west) -- ([xshift=0.5cm]dec2.west) -- ([xshift=0.5cm]pro1.west) -- (pro1.west);
  26. \draw [arrow] (dec2) -- (out1);
  27. \draw [arrow] (out1) -- (stop);
  28. \draw [arrow] (pro2b) |- (pro1);
  29.  
  30. \end{tikzpicture}





Now the problem is one returning arrow from node DECISION 2 to PROCESS 1 that is not drawed properly (i want to to go all left passing PROCESS2d and PROCESS2e and up to PROCESS1)

I attach what i have described i have drawed.

Could you help ?

Best ,
ask3.JPG
ask3.JPG (42.52 KiB) Viewed 1023 times

Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 2 guests