simplepdlusecase.tex 1.1 KB

1234567891011121314151617181920212223
  1. %\begin{tikzpicture}[node distance=1.1cm,>=stealth',bend angle=45,auto,scale=0.75,transform shape]
  2. \begin{tikzpicture}[node distance=1.1cm,>=stealth',bend angle=45,auto,scale=1,transform shape]
  3. \tikzstyle{every label}=[black]
  4. \begin{scope}
  5. \node (A) [xshift=0cm] {\textbf{A}};
  6. \node (B) [right of=A,xshift=0.5cm] {\textbf{B}};
  7. \node (tmp) [below of=B] {};
  8. \node (C) [right of=tmp] {\textbf{C}};
  9. \node (D) [right of=C,xshift=0.5cm] {\textbf{D}};
  10. \path (A) edge [post] node {s2s} (B)
  11. (B) edge [post,bend right,dash pattern=on 2pt off 2pt] (C)
  12. (C) edge [post] node {f2s} (D);
  13. \node[draw,rectangle,inner sep=0.2cm,fit=(C) (D)] (pchild) {};
  14. \node at (pchild.north west) [above, inner sep=1mm,xshift=0.4cm] {\textbf{$_{child:}$}};
  15. \node[draw,rectangle,inner sep=0.4cm,fit=(pchild) (A) (B)] (proot) {};
  16. \node at (proot.north west) [above, inner sep=1mm,xshift=0.4cm] {\textbf{$_{root:}$}};
  17. \end{scope}
  18. \end{tikzpicture}
  19. %\caption{SimplePDL use case}
  20. %\captionof{figure}{Instance de SimplePDL}