-
Notifications
You must be signed in to change notification settings - Fork 103
/
Copy pathDiagramController.cs
61 lines (60 loc) · 2.16 KB
/
DiagramController.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System.Web.Mvc;
using DevExtreme.MVC.Demos.Models.SampleData;
namespace DevExtreme.MVC.Demos.Controllers {
public class DiagramController : Controller {
public ActionResult Overview() {
return View();
}
public ActionResult NodesAndEdgesArrays() {
return View(new FlowData { Nodes = SampleData.FlowNodes, Edges = SampleData.FlowEdges });
}
public ActionResult NodesArrayHierarchicalStructure() {
return View(SampleData.OrgItemsHierarchy);
}
public ActionResult NodesArrayPlainStructure() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult AdvancedDataBinding() {
return View(new OrgData { Items = SampleData.OrgItemsAdvanced, Links = SampleData.OrgLinksAdvanced });
}
public ActionResult WebAPIService() {
return View();
}
public ActionResult ImagesInShapes() {
return View(new OrgData { Items = SampleData.OrgItemsWidthImage, Links = SampleData.OrgLinksWithImage });
}
public ActionResult Containers() {
return View();
}
public ActionResult CustomShapesWithIcons() {
return View();
}
public ActionResult CustomShapesWithTexts() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult CustomShapesWithTemplates() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult CustomShapesWithTemplatesWithEditing() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult ReadOnly() {
return View();
}
public ActionResult SimpleView() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult ItemSelection() {
return View(SampleData.OrgItemsPlain);
}
public ActionResult OperationRestrictions() {
return View(SampleData.OrgItemsRestrictions);
}
public ActionResult UICustomization() {
return View();
}
public ActionResult Adaptability() {
return View();
}
}
}