I'm a little uncomfortable with the graph of a taxonomy. I never used tikZ or Forest and found it very difficult to understand in a short time. I have to draw the taxonomy graph that follows. Can anyone please help me in this diagram with the latex code? I'm going to be very appreciative. Thank you. the taxonomy diagram as per the attached picture

1 Answer 1


Use forest. I added a key nplet that helps to avoid repetition by inserting a series of numbered items automatically.

\forestset{nplet/.style n args={2}{%
repeat={#2}{append={[#1_{\pgfmathparse{n}\pgfmathresult},math content,draw,text width=1.55em,forked edges]}}}}
forked edges,
for tree={grow'=0,draw,math content,if={level()==1}{s sep+=-1ex}{}}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.