approachResolutionPhase.tex 1.2 KB

12345678910111213141516171819202122232425262728
  1. \definecolor{myred}{HTML}{d01e1e}
  2. \definecolor{myblue}{HTML}{0000FF}
  3. \definecolor{mygreen}{HTML}{129d1c}
  4. \begin{tikzpicture}[>=latex, node distance=1cm, on grid, auto]
  5. %, scale=0.6, transform shape]
  6. %Seq
  7. \node (S1) [draw, regular polygon, regular polygon sides=3, minimum size=1cm, shape border rotate=180, color=mygreen] {}; %{;};
  8. \path (S1.west)+(-0.5,-1) node (SA2) [draw, circle, minimum size=0.5mm, dashed, color=myred] {};
  9. \path (S1.east)+(0.5,-1) node (S2) [draw, rectangle, minimum size=0.5mm, color=mygreen] {};
  10. \path[-,color=mygreen] (SA2) edge (S1);
  11. \path[-,color=mygreen] (S1) edge (S2);
  12. %A
  13. \node (A1) [draw, regular polygon, regular polygon sides=6, minimum size=1cm, color=myred, left of=SA2,xshift=-0.5cm] {}; %{A};
  14. \path (A1.east)+(0.25,1) node (A2) [draw, circle, minimum size=0.5mm, color=myred] {};
  15. \path[-,color=myred] (A1) edge (A2);
  16. %B
  17. \node (B1) [draw, regular polygon, regular polygon sides=5, minimum size=1cm, color=myblue, right of=S2,xshift=0.5cm] {}; %{B};
  18. \path (B1.west)+(-0.25,1) node (B2) [draw, rectangle, minimum size=0.5mm, color=mygreen, dashed] {};
  19. \path[-,color=myblue] (B2) edge (B1);
  20. \path[latex'-latex',double] (A2) edge [bend left,thick] (SA2);
  21. \path[latex'-latex',double] (S2) edge [bend left,thick] (B2);
  22. \end{tikzpicture}