This example demonstrates to bind the Diagram extension to an in-memory data source and wrap shapes in horizontal and vertical containers. Use the ContainerKey property to specify the name of a data source field that provides the key of a shape's parent container shape.
- Index.cshtml (VB: Index.vbhtml)
- HomeController.cs (VB: HomeController.vb)
- Item.cs (VB: Item.vb)
- DiagramDataProvider.cs (VB: DiagramDataProvider.vb)