Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===== USE THESE HEADERS =====
- \usepackage{tikz}
- \usetikzlibrary{positioning}
- =============================
- \begin{tikzpicture}[-latex,auto,node distance=4cm and 5cm,on grid,
- semithick, state/.style ={ circle, top color=white, bottom color=white!20, draw, black, text=black, minimum width=1cm}]
- \node [ state ] (C) {Draw};
- \node [ state ] (A) [above left = of C] {Win};
- \node [ state ] (B) [above right = of C] {Lose};
- \path (A) edge [loop left] node [left] {$1/10$} (A);
- \path (B) edge [loop right] node [right] {$2/10$} (B);
- \path (C) edge [loop below] node [below] {$4/10$} (C);
- \path (C) edge [bend left =25] node [ below =0.15 cm] {$3/10$} (A);
- \path (A) edge [bend right = -15] node [ below =0.15 cm] {$4/10$} (C);
- \path (A) edge [bend left =25] node [ above ] {$6/10$} (B);
- \path (B) edge [bend left =15] node [ below =0.15 cm] {$3/10$} (A);
- \path (C) edge [bend left =15] node [ below =0.15 cm] {$2/10$} (B);
- \path (B) edge [bend right = -25] node [ below =0.15 cm] {$5/10$} (C);
- \end{tikzpicture}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement