fork download
  1. \documentclass[margin=0.5cm]{standalone}
  2. \usepackage{tikz,newtxtext,newtxmath}
  3. \usetikzlibrary{graphs,graphdrawing,calc}
  4. \usegdlibrary{trees,force,circular}
  5. \begin{document}
  6.  
  7. \begin{tikzpicture}[
  8. nodes={draw,fill=white,circle,minimum size=0.65cm},
  9. foo/.style={-latex},
  10. lose/.style={fill=blue!70,text=white},
  11. ]
  12. \node (0) {};
  13. \node (1) at ($(0)+(60:1)$) {};
  14. \node (2) at ($(0)+(0:1)$) {};
  15. \node (3) at ($(1)+(0:1)$) {};
  16. \node (4) at ($(3)+(30:1)$) {};
  17. \node (5) at ($(3)+(-30:1)$) {};
  18. \node[lose] (6) at ($(4)+(90:1)$) {L};
  19. \node[lose] (7) at ($(5)+(-90:1)$) {L};
  20. \node (8) at ($(5)+(30:1)$) {};
  21. \node (9) at ($(7)+(-90:1)$) {};
  22. \node[lose] (10) at ($(9)+(-90:1)$) {L};
  23. \node (11) at ($(9)+cos(30)*(1,0)$) {};
  24.  
  25. \draw [foo] (0) -- (1);
  26. \draw [foo] (1) -- (2);
  27. \draw [foo] (2) -- (0);
  28. \draw [foo] (2) -- (9);
  29. \draw [foo] (3) -- (1);
  30. \draw [foo] (4) -- (3);
  31. \draw [foo] (5) -- (3);
  32. \draw [foo] (4) -- (6);
  33. \draw [foo] (5) -- (7);
  34. \draw [foo] (8) -- (4);
  35. \draw [foo] (8) -- (5);
  36. \draw [foo] (11) -- (8);
  37. \draw [foo] (9) -- (11);
  38. \draw [foo] (9) -- (10);
  39. \end{tikzpicture}
  40.  
  41. \end{document}
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty