ablaufanalyse-darstellung-ablaufstruktur.tex 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. \documentclass[tikz]{standalone}
  2. %\usepackage{tikz}
  3. \usetikzlibrary{
  4. % calc,
  5. shapes,
  6. % fit,
  7. positioning,
  8. % patterns
  9. }
  10. \usepackage{beamerarticle}
  11. \definecolor{stdcolor}{RGB}{0,164,164}
  12. \begin{document}
  13. \newcommand{\znode}[5]{
  14. \node[right=of #2,#3,minimum width=#4,minimum height=1cm,node distance=0] (#1) {#5};
  15. }
  16. \begin{tikzpicture}[node distance=0.5cm,
  17. v/.style={rectangle, minimum height=0.5cm, minimum width=1cm,draw},
  18. d/.style={diamond,draw},
  19. r/.style={rounded rectangle,minimum height=0.5cm, minimum width=1cm,draw},
  20. u/.style={circle,fill},
  21. ]
  22. \node (n1) [r] {};
  23. \node (n2) [v,below=of n1] {};
  24. \node (n3) [v,below=of n2] {};
  25. \node (d1) [d,below=of n3] {};
  26. \node (n5) [v,below=of d1] {};
  27. \node (n6) [v,below=of n5] {};
  28. \node (u1) [u,below=of n6] {};
  29. \node (n7) [v,below=of u1] {};
  30. \node (n8) [r,below=of n7] {};
  31. \draw[-latex] (n1) -- (n2);
  32. \draw[-latex] (n2) -- (n3);
  33. \draw (n3) -- (d1);
  34. \draw[-latex] (d1) -- node[right] {A1} (n5);
  35. \draw (n5) -- (n6);
  36. \draw[-latex] (n6) -- (n7);
  37. \draw[-latex] (n7) -- (n8);
  38. %\draw[-latex] (n8) -- (n9);
  39. \node[v, left=of n5] (n10) {};
  40. %\node[v, below=of n10] (n11) {};
  41. \node[below=of n10,yshift=-0.5cm] (e) {};
  42. \draw (e) arc [start angle=-90, end angle=-25,radius=0.5cm];
  43. \draw (e) arc [start angle=270, end angle=205,radius=0.5cm];
  44. \draw[-latex] (n10) -- (e.center);
  45. \draw[-latex] (d1) -| node[above,near start] {A2} (n10);
  46. %\draw[-latex] (n10) -- (n11);
  47. %\node[v, right=of n6] (n12) {};
  48. \node[v, right=of n5] (n13) {};
  49. \node[v, above=of n13] (n14) {};
  50. \draw[-latex] (u1) -| (n13);
  51. %\draw[-latex] (n12) -- (n13);
  52. \draw[-latex] (n13) -- (n14);
  53. \draw[-latex] (n14) -- ++(0,1.5) -- node[below] {R} ++(-1.25,0) -- (n3.45);
  54. %\draw
  55. \end{tikzpicture}
  56. \end{document}