Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{xcolor}
  3. usepackage{listings}
  4. usepackage{float}
  5. usepackage{tikz}
  6. usepackage{siunitx}
  7. usetikzlibrary{arrows,decorations.pathmorphing,backgrounds,positioning,fit,petri}
  8.  
  9. definecolor{mycolor}{RGB}{31,22,70}
  10. definecolor{mycolor2}{RGB}{21,126,251}
  11. begin{document}
  12. begin{figure}[H]
  13. centering
  14. begin{tikzpicture}[
  15. scale=0.8,
  16. transform shape,
  17. show background rectangle,
  18. background rectangle/.style={fill=gray!10},
  19. box/.style={draw, font=itshape}
  20. ]
  21. coordinate (b) at (current page.center);
  22. node[rounded corners=3mm, label=center:{Onboard}, fill=mycolor2!20] (onboard)at (b) [draw,minimum width=2.5cm,minimum height=2.4cm] {};
  23.  
  24. node[below right = of onboard, rounded corners=3mm, label=center:{Deploy}, fill=mycolor2!20] (deploy) [draw,minimum width=2.5cm,minimum height=2.4cm] {};
  25.  
  26. node[below right = of deploy,rounded corners=3mm, label=center:{Monitor}, fill=mycolor2!20] (monitor) [draw,minimum width=2.5cm,minimum height=2.4cm] {};
  27.  
  28. node[below left = of monitor, rounded corners=3mm, label=center:{Scale}, fill=mycolor2!20] (scale) [draw,minimum width=2.5cm,minimum height=2.4cm] {};
  29.  
  30. node[left =of scale, rounded corners=3mm, label=center:{healing/fault-recovery}, fill=mycolor2!20] (healing) [draw,minimum width=4cm,minimum height=2.4cm] {};
  31.  
  32. node[above left = of healing, rounded corners=3mm, label=center:{Update}, fill=mycolor2!20] (update)[draw,minimum width=2.5cm,minimum height=2.4cm] {};
  33.  
  34. node[above =of update, rounded corners=3mm, label=center:{Undeploy}, fill=mycolor2!20] (undeploy) [draw,minimum width=2.5cm,minimum height=2.4cm] {};
  35. draw[thick, mycolor](onboard)--(deploy);
  36. draw[thick, mycolor](deploy)--(monitor);
  37. draw[thick, mycolor](monitor)--(scale);
  38. draw[thick, mycolor](scale)--(healing);
  39. draw[thick, mycolor](healing)--(update);
  40. draw[thick, mycolor](update)--(undeploy);
  41. draw[thick, mycolor,->](undeploy)--(onboard);
  42. end{tikzpicture}
  43. caption{xxx}
  44. end{figure}
  45.  
  46. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement