#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(116, 66, true); WriteLiteral(" <span class=\"sampleName\">Diagram / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(203, 215, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates a generating business management organizational chart with an external data source and ASP.NET CORE diagram’s built-in org chart layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(446, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(452, 1244, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d1b26bc2d8ea426dac236a2938d111aa", async() => { BeginContext(593, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(603, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "14b28f14d567462e91b113b2fd374494", async() => { BeginContext(644, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SnapSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.SnapConstraints.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("snap-constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(672, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(682, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af9dfebf666e408692cb110929d1c375", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit = ScrollLimit.Diagram; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("scroll-limit", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(753, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(763, 650, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2cce502aa1bb43ca81cc8174132dc129", async() => { BeginContext(783, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(797, 334, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f8bf063b3f4e4039aaab3f9763d77c09", async() => { BeginContext(856, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(874, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f40bc64d98a4ab3937730d9289a53e9", async() => { BeginContext(884, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(906, 173, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f585b0bdca9b467c8ccd31f584225293", async() => { BeginContext(973, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(999, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-margin", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34ada254eeae40e7bf22b2b4f7cdeb84", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramMargin>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Left = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("left", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Left, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Right = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("right", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Right, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1039, 22, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramLabel>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.Name = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontColor = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontSize = 12; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("font-size", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1079, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Labels>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1108, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramNode>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 150; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.BorderColor = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1131, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1145, 237, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "845da7844be849148c07ddb725d48b16", async() => { BeginContext(1158, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1176, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "77b8ddab5b9f4f11a6cb6e3d46942648", async() => { BeginContext(1188, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1210, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "376b7c3c7a40461b824af7cb18ebe600", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SegmentData>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Segments.Orthogonal; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1251, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.ConnectorSegments>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1282, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1300, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "54ac0cb5d11c4964b85540b533fae2f3", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.DecoratorShapes.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("shape", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1354, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramConnector>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1382, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DefaultSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1413, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1423, 104, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8932bf0a62c54d5ebda9b3c79ee2cd0c", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DataSourceSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Id = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1527, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1537, 140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3e5ddead2d024dca83ca2eee303ba6bb", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Layout>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.OrganizationalChart; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing = 40; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("horizontal-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing = 40; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("vertical-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY = 30; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-y", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.GetLayoutInfo = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1677, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.DiagramProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Tool.ZoomPan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("tool", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.NodeTemplate = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Create = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1696, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1724, 1093, true); WriteLiteral(@" <script type=""text/javascript""> //creating the node template function nodeTemplate(diagram, node) { node.labels[0].text = node.Role; node.fillColor = node.color; } function getLayoutInfo(diagram, node, options) { if (node.labels[0].text == ""General Manager"") { options.assistants.push(options.children[0]); options.children.splice(0, 1); } if (!options.hasSubTree) { if (node.ChartType) { options.type = node.ChartType } options.offset = -58; } } function Create(args) { if (!(ej.browserInfo().name === ""msie"" && Number(ej.browserInfo().version) < 9)) { var diagram = $(""#diagram"").ejDiagram(""instance""); diagram.activateTool(""panTool""); } else { alert(""Diagram will not be supp"); WriteLiteral("orted in IE Version < 9\");\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(2820, 248, true); WriteLiteral("<style>\r\n .svg-rotate-ie:hover {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n\r\n .svg-rotate {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n</style>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(116, 66, true); WriteLiteral(" <span class=\"sampleName\">Diagram / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(203, 173, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates generating a hierarchical tree by fetching data from the server and diagram’s built-in layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(404, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(410, 1302, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7343badbd9f446d08e399d29fe79c00d", async() => { BeginContext(535, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(545, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c649a3484c0f4eac81143523d9b0362d", async() => { BeginContext(586, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SnapSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.SnapConstraints.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("snap-constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(614, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(624, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9fe1e5c57dbf4a129c5db328661273e9", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit = ScrollLimit.Diagram; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("scroll-limit", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(695, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(705, 140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "494a0965baeb4b97b0e77b496997350f", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Layout>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.OrganizationalChart; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY = 20; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-y", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing = 30; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("horizontal-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing = 70; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("vertical-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.GetLayoutInfo = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(845, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(855, 538, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "68f6c6a91d5c4024a8d20753fc41b44a", async() => { BeginContext(875, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(889, 224, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "81ce916278aa4780b6a40683dff9c529", async() => { BeginContext(941, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(959, 131, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f6ab4be5617f4eeaa6346f5848d5fe4a", async() => { BeginContext(969, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(991, 70, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "73f7e02f2512403e96e163afe7201097", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramLabel>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.Name = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontColor = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1061, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Labels>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1090, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramNode>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 100; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 14 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height = 40; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.BorderColor = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1113, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1127, 235, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c052e6a9ff44dbc80a3a8d46d74f810", async() => { BeginContext(1140, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1158, 104, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aa041408dfd44bf49c7f82d9479955fe", async() => { BeginContext(1170, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1192, 39, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "13a2c57bfc2f419ab3f5a5e874e84945", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SegmentData>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Segments.Straight; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1231, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.ConnectorSegments>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1262, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1280, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4cd7147c163e47419ad25999471fabb5", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.DecoratorShapes.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("shape", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1334, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramConnector>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1362, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DefaultSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1393, 12, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1405, 288, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c15f5277fb0843a3ae0b6092bc307f7d", async() => { BeginContext(1564, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1578, 81, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datamanager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "63a0981a57d54b01b6e225d969393d9b", async() => { } ); __Syncfusion_JavaScript_DataSource = CreateTagHelper <global::Syncfusion.JavaScript.DataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataSource); __Syncfusion_JavaScript_DataSource.URL = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1659, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DataSourceSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Query = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Id = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.TableName = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1693, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.DiagramProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.NodeTemplate = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RemoteDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Tool.ZoomPan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("tool", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1712, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1740, 609, true); WriteLiteral(@" <script type=""text/javascript""> function nodeTemplate(diagram, node) { node.labels[0].text = node.FirstName; } function getLayoutInfo(diagram, node, options) { if (options.level === 3) { node.fillColor = ""#3c418d""; } if (options.level === 2) { node.fillColor = ""#108d8d""; options.type = ""center""; options.orientation = ""horizontal""; } if (options.level === 1) { node.fillColor = ""#822b86"" } } //Initialize Diagram Model </script> "); EndContext(); } ); BeginContext(2352, 248, true); WriteLiteral("<style>\r\n .svg-rotate-ie:hover {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n\r\n .svg-rotate {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n</style>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(116, 66, true); WriteLiteral(" <span class=\"sampleName\">Diagram / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(203, 146, true); WriteLiteral("\r\n <meta name=\"description\" content=\"ThThis sample demonstrates what are the built-in shapes available in the ASP.NET CORE diagram control.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(377, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(383, 439, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "da3e3c079dca4e5c914dcee4cec7294b", async() => { BeginContext(481, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(491, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ca6c594507354aeeaad5024acc8366f5", async() => { BeginContext(532, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SnapSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.SnapConstraints.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("snap-constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(560, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(570, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6c0dbed8441e4a839ffce0bae55a8cf8", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit = ScrollLimit.Diagram; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("scroll-limit", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(641, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(651, 152, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "55bbbe3a4fca4defbb70fbe5f55dedd7", async() => { BeginContext(671, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(685, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e495c5a64b174bd8b96dfbcc6535844e", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramNode>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginLeft = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-left", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginLeft, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginBottom = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-bottom", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginBottom, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginRight = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-right", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginRight, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginTop = 10; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-top", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.MarginTop, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(772, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DefaultSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(803, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.DiagramProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\ShapesGallery.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Create = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(822, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(827, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("PropertiesSection", async() => { BeginContext(856, 774, true); WriteLiteral(@" <div id=""sampleProperties""> <div class=""prop-grid""> <div class=""row""> <div class=""col-md-3""> <b>Shapes</b> </div> </div> <div class=""row""> <div class=""col-md-3 aligntop"" style=""margin-right:-25px;""> Shapes </div> <div class=""col-md-3""> <input type=""text"" id=""shapes"" /> </div> </div> </div> </div> <div id=""list""> <ul> <li value=""basicshapes"">Basic Shapes</li> <li value=""flowshapes"">Flow Shapes</li> <li value=""bpmnshapes"">BPMN Shapes</li> </ul> </div> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1656, 11312, true); WriteLiteral(@" <script type=""text/javascript""> $(""#sampleProperties"").ejPropertiesPanel(); //Basic Shapes function basicShapes() { var nodes = []; var BasicShapes = ej.datavisualization.Diagram.BasicShapes; var offsetx = 90; var offsety = 100; var count = 0; for (var i in BasicShapes) { count++; basicnode = { width: 40, height: 40, offsetX: offsetx, offsetY: offsety, borderWidth: 1.5, labels: [{ text: BasicShapes[i] == ""righttriangle"" ? ""Right Triangle"" : BasicShapes[i].charAt(0).toUpperCase() + BasicShapes[i].substring(1), verticalAlignment: ""top"", offset: { y: 1 }, margin: { top: 10 } }], type: ej.datavisualization.Diagram.Shapes.Basic, shape: BasicShapes[i], pathData: getData(Bas"); WriteLiteral(@"icShapes[i]), points: getData(BasicShapes[i]) }; offsetx = offsetx + 90; nodes.push(basicnode); if (count % 5 == 0) { offsety = offsety + 100; offsetx = 90; } } return nodes; } function getData(shape) { var value; if (shape == ""path"") { value = ""M78.631,3.425c-0.699-1.229-2.177-2.653-5.222-2.394c-8.975,0.759-26.612,16.34-30.804,22.411c-0.167-0.79-0.551-2.049-1.377-2.741c1.176-2.069,3.035-5.709,3.813-9.156c0.18-0.044,0.338-0.161,0.385-0.41c0.083-0.423,0.146-0.848,0.23-1.268c0.135-0.706-0.962-0.944-1.086-0.245c-0.078,0.431-0.158,0.852-0.234,1.286c-0.04,0.26,0.076,0.464,0.26,0.569c-0.756,3.361-2.575,6.93-3.737,8.975c-0.2-0.105-0.415-0.189-0.661-0.224c-0.07-0.009-0.132,0.005-0.199,0.003c-0.067,0.002-0.129-0.012-0.199-0.003c-0.246,0.035-0.461,0.119-0.661,0.224c-1.162-2.045-2.981-5.613-3.737-8.975c0.1"); WriteLiteral(@"85-0.104,0.301-0.309,0.26-0.569c-0.076-0.434-0.156-0.855-0.234-1.286c-0.124-0.699-1.221-0.46-1.086,0.245c0.085,0.42,0.147,0.845,0.23,1.268c0.047,0.249,0.205,0.367,0.385,0.41c0.777,3.446,2.637,7.087,3.813,9.156c-0.826,0.692-1.21,1.951-1.377,2.741C33.203,17.371,15.566,1.789,6.591,1.031C3.546,0.772,2.068,2.196,1.369,3.425c-0.818,1.407-0.185,4.303,0.993,9.321c0.53,2.228,1.075,4.521,1.465,6.779c0.208,1.239,0.404,2.471,0.59,3.65c0.819,5.33,1.503,9.766,3.714,11.187c0.606,0.39,1.313,0.55,2.179,0.442c2.107-0.46,4.627-0.845,7.293-1.12c-2.613,1.77-5.88,4.65-6.953,8.474c-0.827,2.989-0.175,6.031,1.932,9.083c2.482,3.569,5.027,5.915,7.406,7.444c4.756,3.057,8.874,2.843,10.613,2.75c0.179-0.002,0.318-0.014,0.453-0.018c1.324-0.017,2.23-1.868,4.161-6.064c0.948-2.044,2.358-5.088,3.546-6.638c0.249,0.57,0.96,0.972,1.331,1.085c-0.03,0.014-0.067,0.039-0.094,0.049c0.034-0.007,0.074-0.03,0.111-0.042c0.022,0.006,0.055,0.023,0.074,0.027c-0.017-0.006-0.046-0.022-0.066-0.03c0.391-0.131,0.876-0.532,1.119-1.088c1.188,1.549,2.598,4.594,3.546,"); WriteLiteral(@"6.638c1.931,4.196,2.838,6.047,4.161,6.064c0.135,0.004,0.274,0.016,0.453,0.018c1.739,0.093,5.857,0.307,10.613-2.75c2.379-1.529,4.924-3.875,7.406-7.444c2.106-3.052,2.759-6.094,1.932-9.083c-1.073-3.823-4.34-6.704-6.953-8.474c2.667,0.274,5.186,0.659,7.293,1.12c0.866,0.108,1.573-0.053,2.179-0.442c2.211-1.421,2.895-5.857,3.714-11.187c0.185-1.18,0.382-2.411,0.59-3.65c0.39-2.258,0.935-4.551,1.465-6.779C78.816,7.728,79.448,4.832,78.631,3.425z M41.184,48.732c-0.343,0.551-0.781,0.918-1.082,1.065c-0.324-0.135-0.933-0.497-1.286-1.065c0,0-1.506-19.959-1.349-24.911c0,0,0.509-3.147,2.533-3.169c2.024,0.022,2.533,3.169,2.533,3.169C42.69,28.773,41.184,48.732,41.184,48.732z""; } else if (shape == ""polygon"") { value = [{ x: 50, y: 1 }, { x: 100, y: 50 }, { x: 50, y: 100 }, { x: 1, y: 50 }]; } return value; } //Flow Shapes function flowShapes() { var nodes = []; var offsetx = 100; var offsety = 110;"); WriteLiteral(@" var count = 0; var FlowShapes = ej.datavisualization.Diagram.FlowShapes; for (var j in FlowShapes) { count++; var node = { width: 40, height: setNodeSize(FlowShapes[j]), offsetX: offsetx, offsetY: offsety, borderWidth: 1.5, labels: [{ text: setText(FlowShapes[j]), offset: { y: 1 }, horizontalAlignment: ""center"", verticalAlignment: ""top"", margin: { top: 10 } }], type: ej.datavisualization.Diagram.Shapes.Flow, shape: FlowShapes[j] }; offsetx = offsetx + 100; nodes.push(node); if (count % 6 == 0) { offsety = offsety + 110; offsetx = 100; } } return nodes; "); WriteLiteral(@" } function setNodeSize(size) { if ((size == ""process"") || (size == ""terminator"")) { var height = 20; } else if (size == ""decision"") { height = 35; } else if ((size == ""document"") || (size == ""papertap"") || (size == ""multidocument"") || (size == ""directdata"") || (size == ""predefinedprocess"")) { height = 30; } else { height = 40; } return height; } function setText(text) { if (text == ""predefinedprocess"") { var input = ""Predefined process""; } else if (text == ""sequentialdata"") { input = ""Sequential data""; } else if (text == ""multidocument"") { input = ""Multi document"" } else if (text == ""summingjunction"") { input = ""Summing junction""; "); WriteLiteral(@" } else if (text == ""internalstorage"") { input = ""Internal storage"" } else if (text == ""manualoperation"") { input = ""Manual operation""; } else if (text == ""offpagereference"") { input = ""Offpage reference""; } else if (text == ""sequentialaccessstorage"") { input = ""Sequential access storage""; } else { input = text.charAt(0).toUpperCase() + text.substring(1);; } return input; } function bpmnShapes() { var nodes = []; var BPMNShapes = ej.datavisualization.Diagram.BPMNShapes; var offsetx = 100; var offsety = 100; //Default BPMN Shapes for (var k in BPMNShapes) { if (BPMNShapes[k] != ""sequentialflow"" && BPMNShapes[k] != ""associationflow"" && BPMNShapes[k] != ""messageflow"" && "); WriteLiteral(@"BPMNShapes[k] != ""group"") { var node = { width: 50, height: BPMNShapes[k] == ""message"" ? 35 : 50, offsetX: offsetx, offsetY: offsety, labels: [{ text: BPMNShapes[k].charAt(0).toUpperCase() + BPMNShapes[k].substring(1) }], type: ej.datavisualization.Diagram.Shapes.BPMN, shape: BPMNShapes[k] }; nodes.push(node); offsetx = offsetx + 100; if (nodes.length % 4 == 0) { offsety = offsety + 100; offsetx = 100; } if (BPMNShapes[k] == ""event"") { addBPMNShape(""event"", ""noninterruptingstart"", ""NonInterrupting Start Event"", offsetx, offsety, nodes); offsetx += 100; addBPMNShape(""event"", ""intermediate"", ""Intermediate Event"", of"); WriteLiteral(@"fsetx, offsety, nodes); offsetx += 100; addBPMNShape(""event"", ""end"", ""End Event"", offsetx, offsety, nodes); offsetx = 100; offsety += 100; } else if (BPMNShapes[k] == ""gateway"") { addBPMNShape(""gateway"", ""complex"", ""Complex Gateway"", offsetx, offsety, nodes); offsetx += 100; addBPMNShape(""gateway"", ""inclusive"", ""Inclusive Gateway"", offsetx, offsety, nodes); offsetx += 100; } else if (BPMNShapes[k] == ""activity"") { var task = { offsetX: 400, offsetY: 300, width: 40, height: 40, labels: [{ text: "" Send Task"" }], type: ""bpmn"", shape: ""activity"", activity: ""task"", task: { type: ej.datavisualization.Diagram.BPMNTasks.Send"); WriteLiteral(@" } }; nodes.push(task); offsetx += 100; offsety += 100; } } } return nodes; } function addBPMNShape(shape, subtype, text, offsetx, offsety, nodes) { var node = { type: ""bpmn"", shape: shape, offsetX: offsetx, offsetY: offsety, width: 50, height: 50, labels: [{ text: text, margin: { top: 15 } }] }; if (shape == ""event"") node.event = subtype; else if (shape == ""gateway"") node.gateway = subtype; nodes.push(node); } var objects = basicShapes(); function Create(args){ if (!(ej.browserInfo().name === ""msie"" && Number(ej.browserInfo().version) < 9)) { $(""#diagram"").ejDiagram({ nodes: objects, }); } "); WriteLiteral(@" else{ alert(""Diagram will not be supported in IE Version < 9""); } var diagram; diagram = $(""#diagram"").ejDiagram(""instance""); } $(""#shapes"").ejDropDownList({ width: ""130px"", text: ""Basic Shapes"", targetID: ""list"", select: ""changeShape"" }); function changeShape(args) { if (args.value == ""basicshapes"") { var basic = basicShapes(); $(""#diagram"").ejDiagram({ nodes: basic }); } else if (args.value == ""flowshapes"") { var flow = flowShapes(); $(""#diagram"").ejDiagram({ nodes: flow }); } else if (args.value == ""bpmnshapes"") { var bpmn = bpmnShapes(); $(""#diagram"").ejDiagram({ nodes: bpmn "); WriteLiteral(" });\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(12971, 248, true); WriteLiteral("<style>\r\n .svg-rotate-ie:hover {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n\r\n .svg-rotate {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n</style>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("SampleHeading", async() => { BeginContext(116, 66, true); WriteLiteral(" <span class=\"sampleName\">Diagram / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(203, 215, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates a generating business management organizational chart with an external data source and ASP.NET CORE diagram’s built-in org chart layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(446, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(452, 1244, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "463e1e59cefb42a6b4cf7812fd689d13", async() => { BeginContext(593, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(603, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ab7917c63a134594814322a25db323ef", async() => { BeginContext(644, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SnapSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.SnapConstraints.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("snap-constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SnapSettings.SnapConstraints, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(672, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(682, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "edc32ee6fb8c4100a9310c86599408e7", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit = ScrollLimit.Diagram; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("scroll-limit", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings.ScrollLimit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(753, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(763, 650, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f2a80d063646438f88f4ebe366905649", async() => { BeginContext(783, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(797, 334, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "afb4543eb97741898317e68c56c8f8a6", async() => { BeginContext(856, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(874, 234, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70d4aedeb9454eedab791c4cdd39726c", async() => { BeginContext(884, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(906, 173, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "521b4a23ee1148a98b81ffe8aebbaba3", async() => { BeginContext(973, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(999, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-margin", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2882c4f39c834b9eb17510104f3f2dc9", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramMargin>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Left = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("left", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Left, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 16 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Right = 5; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("right", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin.Right, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1039, 22, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramLabel>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.Name = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontColor = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontSize = 12; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("font-size", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramLabel.FontSize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1079, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Labels>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Labels); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1108, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramNode>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 150; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("height", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Height, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.BorderColor = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1131, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1145, 237, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6708b5630fb747d29df2b8805f0001a5", async() => { BeginContext(1158, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1176, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79e93dba74624dcab2ea3f2f81c43ecc", async() => { BeginContext(1188, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1210, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fd7b9d11800248a0a38bc22689d1332e", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SegmentData>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData); #line 22 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Segments.Orthogonal; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1251, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.ConnectorSegments>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_ConnectorSegments); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1282, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1300, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79f316945f9d49f39b655daf3bc618af", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.DecoratorShapes.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("shape", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.Shape, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1354, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramConnector>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1382, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DefaultSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DefaultSettings); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1413, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1423, 104, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fdfd409249b340d48557440917adbdab", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DataSourceSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Id = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); #line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.DataSource = ViewBag.datasource; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("dataSource", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.DataSource, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1527, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1537, 140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99c9f5d6cb7e4cacac0b39e943d7c71e", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Layout>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.OrganizationalChart; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing = 40; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("horizontal-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.HorizontalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing = 40; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("vertical-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY = 30; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-y", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.GetLayoutInfo = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1677, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.DiagramProperties>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("enable-context-menu", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.EnableContextMenu, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\BusinessManagementChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Tool.ZoomPan; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("tool", __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Tool, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.NodeTemplate = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Create = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1696, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1724, 1093, true); WriteLiteral(@" <script type=""text/javascript""> //creating the node template function nodeTemplate(diagram, node) { node.labels[0].text = node.Role; node.fillColor = node.color; } function getLayoutInfo(diagram, node, options) { if (node.labels[0].text == ""General Manager"") { options.assistants.push(options.children[0]); options.children.splice(0, 1); } if (!options.hasSubTree) { if (node.ChartType) { options.type = node.ChartType } options.offset = -58; } } function Create(args) { if (!(ej.browserInfo().name === ""msie"" && Number(ej.browserInfo().version) < 9)) { var diagram = $(""#diagram"").ejDiagram(""instance""); diagram.activateTool(""panTool""); } else { alert(""Diagram will not be supp"); WriteLiteral("orted in IE Version < 9\");\r\n }\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(2820, 248, true); WriteLiteral("<style>\r\n .svg-rotate-ie:hover {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n\r\n .svg-rotate {\r\n cursor: url(\"~/wwwroot/css/content/ej/common-images/rotate.cur\"),default;\r\n }\r\n</style>\r\n"); EndContext(); }