Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Tree from Linear Data Structure

  • 100%
    v
Text
  • v
  • v
Line
  • v
  • v
  • v
Arrange
Auto Layout
Layout
  • v
  • v
View
  • v
  • v


The DevExpress ASP.NET MVC Diagram extension can build a tree structure from a linear data structure. Use the Bind(object nodeDataObject) method to bind the Diagram to the data source. The Mappings.Node.Key and Mappings.Node.ParentKey properties allow the Diagram to transform the linear structure into a hierarchical structure.

The BatchUpdateRouteValues property specifies a Controller and Action that handle callbacks related to node and edge updates. When you update inserted items' data, use the MapInsertedItemKey method to provide key values for the items.

The SettingsAutoLayout property specifies the auto-layout algorithm and orientation the extension uses to build a diagram.