• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Hierarchical Tree with Multiple roots in ASP.NET Core Diagram Control

This sample illustrates the structure of an Electricity Sector using complex hierarchical layout with multiple roots.

DEMO
SOURCE

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.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab