In this example, you can see how to generate a RTL (Right to left) tree from external data source. You can use the orientation property of the layout to generate the RTL tree. Injecting Module Diagram component features are segregated into individual feature-wise modules. To generate diagrams from external data source, we need to Inject DataBinding module into @NgModule.providers section. To automatically arrange the objects in a hierarchical structure, we need to Inject HierarchicalTree module into @NgModule.providers section.