|
@@ -0,0 +1,82 @@
|
|
|
+\documentclass[tikz]{standalone}
|
|
|
+%\usepackage{tikz}
|
|
|
+\usetikzlibrary{
|
|
|
+% calc,
|
|
|
+ shapes,
|
|
|
+% fit,
|
|
|
+ positioning,
|
|
|
+% patterns
|
|
|
+}
|
|
|
+\usepackage{beamerarticle}
|
|
|
+
|
|
|
+\definecolor{stdcolor}{RGB}{0,164,164}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+\begin{document}
|
|
|
+\newcommand{\znode}[5]{
|
|
|
+ \node[right=of #2,#3,minimum width=#4,minimum height=1cm,node distance=0] (#1) {#5};
|
|
|
+}
|
|
|
+
|
|
|
+\begin{tikzpicture}[node distance=0.5cm,
|
|
|
+ v/.style={rectangle, minimum height=0.5cm, minimum width=1cm,draw},
|
|
|
+ d/.style={diamond,draw},
|
|
|
+ r/.style={rounded rectangle,minimum height=0.5cm, minimum width=1cm,draw},
|
|
|
+ u/.style={circle,fill},
|
|
|
+ ]
|
|
|
+
|
|
|
+
|
|
|
+\node (n1) [r] {};
|
|
|
+
|
|
|
+\node (n2) [v,below=of n1] {};
|
|
|
+
|
|
|
+\node (n3) [v,below=of n2] {};
|
|
|
+
|
|
|
+\node (d1) [d,below=of n3] {};
|
|
|
+
|
|
|
+\node (n5) [v,below=of d1] {};
|
|
|
+
|
|
|
+\node (n6) [v,below=of n5] {};
|
|
|
+
|
|
|
+\node (u1) [u,below=of n6] {};
|
|
|
+
|
|
|
+\node (n7) [v,below=of u1] {};
|
|
|
+
|
|
|
+\node (n8) [r,below=of n7] {};
|
|
|
+
|
|
|
+
|
|
|
+\draw[-latex] (n1) -- (n2);
|
|
|
+\draw[-latex] (n2) -- (n3);
|
|
|
+\draw (n3) -- (d1);
|
|
|
+\draw[-latex] (d1) -- node[right] {A1} (n5);
|
|
|
+\draw (n5) -- (n6);
|
|
|
+\draw[-latex] (n6) -- (n7);
|
|
|
+\draw[-latex] (n7) -- (n8);
|
|
|
+%\draw[-latex] (n8) -- (n9);
|
|
|
+
|
|
|
+\node[v, left=of n5] (n10) {};
|
|
|
+%\node[v, below=of n10] (n11) {};
|
|
|
+\node[below=of n10,yshift=-0.5cm] (e) {};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+\draw (e) arc [start angle=-90, end angle=-25,radius=0.5cm];
|
|
|
+\draw (e) arc [start angle=270, end angle=205,radius=0.5cm];
|
|
|
+\draw[-latex] (n10) -- (e.center);
|
|
|
+
|
|
|
+\draw[-latex] (d1) -| node[above,near start] {A2} (n10);
|
|
|
+%\draw[-latex] (n10) -- (n11);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+%\node[v, right=of n6] (n12) {};
|
|
|
+\node[v, right=of n5] (n13) {};
|
|
|
+\node[v, above=of n13] (n14) {};
|
|
|
+
|
|
|
+\draw[-latex] (u1) -| (n13);
|
|
|
+%\draw[-latex] (n12) -- (n13);
|
|
|
+\draw[-latex] (n13) -- (n14);
|
|
|
+\draw[-latex] (n14) -- ++(0,1.5) -- node[below] {R} ++(-1.25,0) -- (n3.45);
|
|
|
+%\draw
|
|
|
+\end{tikzpicture}
|
|
|
+\end{document}
|