Advertisement
Guest User

Untitled

a guest
Jul 10th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.13 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{tikz}
  4. \title{Derevyannykh.2.7}
  5. \author{devmishok }
  6. \date{July 2018}
  7.  
  8. \begin{document}
  9.  
  10. \maketitle
  11.  
  12. \section{Task7}
  13.  
  14. \begin{tikzpicture}[
  15. node distance=1.5cm,
  16. squarenode/.style={rectangle, draw=black!60, fill=green!150, thick, minimum width=5mm, minimum height=10mm},
  17. roundnode/.style={circle, draw=black!60, fill=white!5, thick, minimum size=3mm}
  18. ]
  19. \node[squarenode, label=above:T1] (T1);
  20. \node[roundnode, label=below:p1] (P1) [right of=T1];
  21. \node[squarenode, label=above:T2] (T2) [right of=P1];
  22. \node[roundnode, label=below:p2] (P2) [right of=T2];
  23. \node[squarenode, label=above:T3] (T3) [right of=P2];
  24. \node[roundnode, label=below:cp2] (CP2) [below of=P2];
  25. \node[roundnode,label=below:cp1] (CP1) [below of=P1];
  26.  
  27. \draw[->, thick] (T1.east) -- (P1.west);
  28. \draw[->, thick] (P1.east) -- (T2.west);
  29. \draw[->, thick] (T2.east) -- (P2.west);
  30. \draw[->, thick] (P2.east) -- (T3.west);
  31. \draw[->] (T3.south) -- (CP2.east);
  32. \draw[->] (CP2.west) -- (T2.south);
  33. \draw[->] (T2.south) -- (CP1.east);
  34. \draw[->] (CP1.west) -- (T1.south);
  35.  
  36. \end{tikzpicture}
  37.  
  38.  
  39.  
  40.  
  41. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement