I am trying to get a hierarchy diagram like this using the Forest package

enter image description here

But, could not managed to get so. I used this code


  direction switch/.style={
    for tree={edge+=thick, font=\sffamily},
    where level>=1{folder, grow'=0}{for children=forked edge},
    where level=3{}{draw},

  % forest preamble: determine layout and format of tree
  direction switch

and got instead enter image description here

Thanks in advance for your help.

Your Answer

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

Browse other questions tagged or ask your own question.