You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.0KB

  1. \documentclass{standalone}
  2. \usepackage{tikz}
  3. \usepackage{siltex}
  4. \usetikzlibrary {arrows.meta,positioning,calc,math}
  5. \tikzset{nodes={text height=.7em, text width=2.6cm, align=center,
  6. draw=black!50, thick, font=\footnotesize, fill=white},
  7. >={Stealth[round,sep]}, rounded corners, thick}
  8. \pgfdeclarelayer{bg}
  9. \pgfsetlayers{bg,main}
  10. \begin{document}
  11. \begin{tikzpicture}[on grid,y=1.1cm,x=2.9cm]
  12. \input{graphics/design_flow.tikz}
  13. \def\myphasegroup(#1,#2,#3){%
  14. \begin{scope}[nodes={draw=none, fill=none,text height={}}]
  15. \coordinate (a) at ($(#1.north west)+(\rectoffset)+(0mm,2.5mm)$){};
  16. \coordinate (b) at ($(#2.south east)-(\rectoffset)-(\rectoffsetleft)$){};
  17. \draw[fill=lightgray] (a) rectangle (b);
  18. \node[anchor=center] at ($(#1)+(\textoffset)+(0mm,4mm)$) {#3};
  19. \end{scope}
  20. };
  21. \begin{pgfonlayer}{bg}
  22. %\phasegroup(pd,id,Systems Engineering);
  23. \myphasegroup(ss,rd,Development Cycle)
  24. \end{pgfonlayer}
  25. \end{tikzpicture}
  26. \end{document}