Your search did not match any results.

Simple View

Note that the Diagram widget is in the community technology preview (CTP) development stage.

This demo shows the Diagram widget in Simple View mode. In this mode, the control does not divide the work area into pages and the diagram's content occupies all the available area inside the component.

To enable Simple View mode, set the simpleView option to true.

@(Html.DevExtreme().Diagram() .ID("diagram") .SimpleView(true) .PropertiesPanel(pp => pp .Enabled(false) ) .Toolbox(t => t .Visible(false) ) .Nodes(ns => ns .DataSource(d => d .Array() .Key("this") .Data(Model) ) .KeyExpr("ID") .TextExpr("Title") .ParentKeyExpr("HeadID") ) )
using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; namespace DevExtreme.NETCore.Demos.Controllers { public class DiagramController : Controller { public IActionResult SimpleView() { return View(SampleData.OrgItemsPlain); } } }
#diagram { height: 600px; }