approachRuleSeqResolveTrace.tex 755 B

1234567891011121314151617
  1. \definecolor{mygreen}{HTML}{129d1c}
  2. \definecolor{myred}{HTML}{d01e1e}
  3. \definecolor{myblue}{HTML}{0000FF}
  4. \begin{tikzpicture}[>=latex, node distance=1cm, on grid, auto, every token/.style={color=myblue}]
  5. \node (S1) [draw, regular polygon, regular polygon sides=3, minimum
  6. size=1cm, shape border rotate=180, color=mygreen] {}; %{;};
  7. \path (S1.west)+(-0.5,-1) node (A2) [draw, circle, minimum size=0.5mm, dashed, color=myred] {};
  8. \path (S1.east)+(0.5,-1) node (S2) [draw, rectangle, minimum size=0.5mm, color=mygreen, tokens=1] {};
  9. \path[-,color=mygreen] (A2) edge (S1);
  10. \path[-,color=mygreen] (S1) edge (S2);
  11. \path (S1.west)+(-1,-0.25) node (arrow) [minimum size=0.5cm] {$\longrightarrow$};
  12. \path (arrow.west)+(-0.5,0) node (seq) {;};
  13. \end{tikzpicture}