[Tex/LaTex] Diagram using Forest package

forest

I want to create the tree diagram shown below using Forest package. I know that this tree can be produced using Tikz package, but I want to practice and learn Forest package.

So, can anyone help?

http://www.texample.net/media/tikz/examples/PNG/work-breakdown-structure.png

Best Answer

I am also learning forest. This is my attempt

\documentclass{article}
\usepackage{forest}
\usetikzlibrary{shadows,arrows.meta}

\tikzset{parent/.style={align=center,text width=2cm,fill=green!20,rounded corners=2pt},
    child/.style={align=center,text width=2.8cm,fill=green!50,rounded corners=6pt},
    grandchild/.style={fill=pink!50,text width=2.3cm}
}
\begin{document}
\begin{forest}
for tree={%
    thick,
    drop shadow,
    l sep=0.6cm,
    s sep=0.8cm,
    node options={draw,font=\sffamily},
    edge={semithick,-Latex},
    where level=0{parent}{},
    where level=1{
        minimum height=1cm,
        child,
        parent anchor=south west,
        tier=p,
        l sep=0.25cm,
        for descendants={%
            grandchild,
            minimum height=0.6cm,
            anchor=150,
            edge path={
                \noexpand\path[\forestoption{edge}]
                (!to tier=p.parent anchor) |-(.child anchor)\forestoption{edge label};
            },
        }
    }{},
}
[Drawing\\diagrams
    [Defining node and arrow styles
        [Setting shape
            [Choosing color
                [Adding shading]
            ]
        ]
    ]
    [Positioning the nodes
        [Using a Matrix
            [Relatively
                [Absolutely
                    [Using overlays]
                ]
            ]
        ]
    ]
    [Drawing arrows between nodes
        [Default arrows
            [Arrow library
                [Resizing tips
                    [Shortening
                        [Bending]
                    ]
                ]
            ]
        ]
    ]
]
\end{forest}
\end{document}

enter image description here

Related Question