Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- \usepackage[utf8]{inputenc}
- \usepackage{tikz}
- \title{Derevyannykh.2.7}
- \author{devmishok }
- \date{July 2018}
- \begin{document}
- \maketitle
- \section{Task7}
- \begin{tikzpicture}[
- node distance=1.5cm,
- squarenode/.style={rectangle, draw=black!60, fill=green!150, thick, minimum width=5mm, minimum height=10mm},
- roundnode/.style={circle, draw=black!60, fill=white!5, thick, minimum size=3mm}
- ]
- \node[squarenode, label=above:T1] (T1);
- \node[roundnode, label=below:p1] (P1) [right of=T1];
- \node[squarenode, label=above:T2] (T2) [right of=P1];
- \node[roundnode, label=below:p2] (P2) [right of=T2];
- \node[squarenode, label=above:T3] (T3) [right of=P2];
- \node[roundnode, label=below:cp2] (CP2) [below of=P2];
- \node[roundnode,label=below:cp1] (CP1) [below of=P1];
- \draw[->, thick] (T1.east) -- (P1.west);
- \draw[->, thick] (P1.east) -- (T2.west);
- \draw[->, thick] (T2.east) -- (P2.west);
- \draw[->, thick] (P2.east) -- (T3.west);
- \draw[->] (T3.south) -- (CP2.east);
- \draw[->] (CP2.west) -- (T2.south);
- \draw[->] (T2.south) -- (CP1.east);
- \draw[->] (CP1.west) -- (T1.south);
- \end{tikzpicture}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement