This sample illustrates the structure of an Electricity Sector using complex hierarchical layout with multiple roots.
This example shows how to create a complex hierarchical layout with multiple root nodes.
Injecting Module
Diagram component's features are segregated into individual feature-wise modules. To generate diagrams from an external data source,
we need to Inject DataBinding
module using Diagram.Inject(DataBinding)
method. To automatically arrange the objects in a hierarchical structure, we need to Inject ComplexHierarchicalTree
module using
Diagram.Inject(ComplexHierarchicalTree)
method.