[Tex/LaTex] how to make tree structure in latex

trees

I want to make tree strucrure. I seacrch a lot, but found other structure's solution. But did not solution find fortree. Suggest me tutorial or give me solution here. Help me!

Best Answer

Note that I think I ought not answer do-it-for-mes, especially do-it- for-mes with a notable absence of ducks and for which there are copious existing and easily found solutions. However, I sometimes do so anyway. When I do, I answer them for me. If my code happens to be useful, so be it; if not, so be that. In particular, I am not at all sympathetic to requests for fine-tuning, adjustments, explanations or modifications. If a request tickles my fancy, I may address it. Otherwise, these are left as exercises for you, gentle reader.

This is based on the Minimal Working Example written by Biki Teron because the OP didn't provide one.

\documentclass[border=10pt]{standalone}
\usepackage[edges]{forest}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{forest}
  forked edges,
  for tree={edge+={-Latex}},
  [Number
    [Real Number
      [Rational Numbers
        [Fractional]
        [Integers]
      ]
      [Irrational Numbers]
    ]
    [Imaginary Number]
  ]
\end{forest}
\end{document}

Forest solution