fork download
  1. \documentclass[dvipdfmx]{article}
  2. \usepackage{tikz}
  3. \begin{document}
  4. \begin{tikzpicture}[
  5. grow'=right,
  6. foo/.style={fill=black!30,inner sep=1mm}
  7. ]
  8.  
  9. \node[foo] {\textit{*****}} [sibling distance=3cm]
  10. child {
  11. node {\textit{0****}} [sibling distance=0.5cm]
  12. child { node {\textit{00***}} }
  13. child { node {\textit{01***}} }
  14. child { node {...} }
  15. child { node {\textit{09***}} }
  16. }
  17. child {
  18. node {\textit{1****}} [sibling distance=0.5cm]
  19. child { node {\textit{10***}} }
  20. child { node {\textit{11***}} }
  21. child { node {...} }
  22. child { node {\textit{19***}} }
  23. }
  24. child {
  25. node {\textit{2****}} [sibling distance=0.5cm]
  26. child { node {\textit{20***}} }
  27. child { node {\textit{21***}} }
  28. child { node {...} }
  29. child { node {\textit{29***}} }
  30. }
  31. child {
  32. node[foo] {\textit{3****}} [sibling distance=2.5cm]
  33. child {
  34. node {\textit{30***}} [sibling distance=0.5cm]
  35. child { node {\textit{300**}} }
  36. child { node {...} }
  37. child { node {\textit{309**}} }
  38. }
  39. child {
  40. node[foo] {\textit{31***}} [sibling distance=0.5cm]
  41. child {
  42. node {\textit{310**}}
  43. }
  44. child {
  45. node {\textit{311**}}
  46. }
  47. child {
  48. node {\textit{312**}}
  49. }
  50. child {
  51. node {\textit{313**}}
  52. }
  53. child {
  54. node[foo] {\textit{314**}} [sibling distance=0.5cm]
  55. child {
  56. node {\textit{3140*}}
  57. }
  58. child {
  59. node [foo] {\textit{3141*}}
  60. child {
  61. node {\textit{31410}}
  62. }
  63. child {
  64. node {\textit{31411}}
  65. }
  66. child {
  67. node {\textit{31412}}
  68. }
  69. child {
  70. node {\textit{31413}}
  71. }
  72. child {
  73. node {\textit{31414}}
  74. }
  75. child {
  76. node[foo] {\textit{31415}}
  77. }
  78. }
  79. }
  80. }
  81. };
  82.  
  83.  
  84. \end{tikzpicture}
  85. \end{document}
  86.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty