resolutionInverse-c.tex 945 B

12345678910111213141516171819202122
  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.east)+(0.5,-1) node (S2) [draw, rectangle, minimum size=0.5mm, color=mygreen] {};
  9. \path[-,color=mygreen] (S1) edge (S2);
  10. %B
  11. \node (B1) [draw, regular polygon, regular polygon sides=5, minimum size=1cm, color=myblue, right of=S2,xshift=0.5cm] {};
  12. \path (B1.west)+(-0.25,1) node (B2) [draw, rectangle, minimum size=0.5mm, color=mygreen, dashed] {};
  13. \path[-,color=myblue] (B2) edge (B1);
  14. \path[-,color=red] (S2) edge (B1);
  15. \node (cross) [right of=B2, xshift=-0.74cm,yshift=-0.4cm] {};
  16. \draw[red, -]
  17. (cross.south west) -- (cross.north east)
  18. (cross.south east) -- (cross.north west);
  19. \end{tikzpicture}