#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, 217, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates a generating university 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(448, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(454, 1217, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1178b61f439d4116ae1b428dafd9a3a1", async() => { BeginContext(579, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(589, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d197d77a4fda483690395f5f786965fe", async() => { BeginContext(630, 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\UniversityOrganizationChart.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(658, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(668, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bb30a9831caf49088cca2f92bf4a6b8e", 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\UniversityOrganizationChart.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(739, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(749, 140, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "515977cdf27146408bd3addf25c0c2d4", 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\UniversityOrganizationChart.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\UniversityOrganizationChart.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\UniversityOrganizationChart.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 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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); __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(889, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(899, 635, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "95800ba9bf4c41ee9f3c7122ea5c31fa", async() => { BeginContext(919, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(933, 319, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fda0fb72fe67422690ae80ced3d0637f", async() => { BeginContext(992, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1010, 219, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "237e334bc510459abb55879c7f1e917f", async() => { BeginContext(1020, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1042, 158, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fc5d38ccc0054112a19dd9a784eda7ac", async() => { BeginContext(1094, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1120, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-margin", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "db23fe9d1ccf4046bc01667b88f8698d", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramMargin>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin); #line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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(1160, 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_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(1200, 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(1229, 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\UniversityOrganizationChart.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 130; #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\UniversityOrganizationChart.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(1252, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1266, 237, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f5489b637f984394b5b28c5f8c0e1668", async() => { BeginContext(1279, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1297, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d22afc9f1654b5081edbbde9304727b", async() => { BeginContext(1309, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1331, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "291511b75dd54bcbb2ad22d1e3f3902a", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SegmentData>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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(1372, 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(1403, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1421, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8b925440bf414acf9b16d023679c33e0", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); #line 25 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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(1475, 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(1503, 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(1534, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1544, 108, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "217e77ab44cf4a2a96c25c38c83c7120", 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_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); #line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\UniversityOrganizationChart.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(1652, 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\UniversityOrganizationChart.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\UniversityOrganizationChart.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1671, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(1676, 2, true); WriteLiteral("\r\n"); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(1701, 634, true); WriteLiteral(@" <script type=""text/javascript""> function nodeTemplate(diagram, node) { node.labels[0].text = node.Role; node.fillColor = node.Color; } function getLayoutInfo(diagram, node, options) { if (node.labels[0].text == ""University President"") { options.assistants.push(options.children[0]); options.children.splice(0, 1); } if (!options.hasSubTree) { if (node.ChartType) { options.type = node.ChartType } } } </script> "); EndContext(); } ); BeginContext(2338, 250, 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\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(93, 262, true); WriteLiteral(@"<style> #content { width: 160px; height: 80px; display: block; position: absolute; pointer-events: none; text-align: left; vertical-align: bottom; margin-top: -100px; } </style> "); EndContext(); DefineSection("SampleHeading", async() => { BeginContext(378, 66, true); WriteLiteral(" <span class=\"sampleName\">Diagram / Default Functionalities</span>"); EndContext(); } ); DefineSection("MetaTags", async() => { BeginContext(465, 183, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates generating the diagram from the local JSON data by using the diagram’s data manager and built-in layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(676, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(682, 1231, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1d344e6493a241beb65e82048f4cb6f6", async() => { BeginContext(807, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(817, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4d907cca621c41b9adedbaf6cfe71ee4", async() => { BeginContext(858, 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 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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(886, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(896, 105, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0163cbf64e5e43c39bf330ac9a3a7bca", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Layout>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.HierarchicalTree; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-y", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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 23 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1001, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1011, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c25f844edd2c43e0baee7fc675e6c957", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 24 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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(1082, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1092, 687, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b38a66f8260a4701aaa7996182949610", async() => { BeginContext(1112, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1126, 340, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a9e30ba89be245eea52f4e052719ef05", async() => { BeginContext(1206, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1224, 219, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "12e7a071a9064fa68f3723d2d2f73b24", async() => { BeginContext(1234, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1256, 158, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c88a66df3554377850af6c9466f98af", async() => { BeginContext(1308, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1334, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-margin", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "51706ea9761e494e818f096a7dc21cde", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramMargin>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramMargin); #line 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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 29 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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(1374, 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1414, 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(1443, 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 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 110; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 26 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.FillColor = (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(1466, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1480, 268, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ac170c4173a64b4183e115e1a6066630", async() => { BeginContext(1493, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1511, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "51188a2c252e4cae8b699d226c7789ed", async() => { BeginContext(1523, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1545, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "30efd2201de84c4ab7acab8dec006699", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.SegmentData>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_SegmentData); #line 35 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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(1586, 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(1617, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1635, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3a7f86614c86456a84d821ea25d9f3c4", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.FillColor = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.BorderColor = (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(1720, 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(1748, 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(1779, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1789, 105, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "29147866bb7348cbb61775d33296332e", 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_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); #line 40 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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(1894, 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_8); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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 20 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\LocalDataBinding.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_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1913, 2, true); WriteLiteral("\r\n"); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(1941, 243, true); WriteLiteral("\r\n <script type=\"text/javascript\">\r\n\r\n //creating the node template\r\n function nodeTemplate(diagram, node) {\r\n node.labels[0].text = node.Role;\r\n node.fillColor = node.Color;\r\n }\r\n\r\n </script>\r\n"); EndContext(); } ); BeginContext(2187, 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, 171, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample demonstrates generating the diagram from the HTML Table and using ASP.NET CORE diagram’s built-in layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(402, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(408, 1274, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e4617d5b87a34ec0b6286903aff33adc", async() => { BeginContext(533, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(543, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f350b767be344388efb6683fb5ee3c2", async() => { BeginContext(584, 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\HtmlDataBinding.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(612, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(622, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "427b32b681f84746a75717d9ec3b30f3", 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\HtmlDataBinding.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(693, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(703, 666, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ba3734f3d6ee4aa387d1d1ae7aabafa5", async() => { BeginContext(723, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(737, 319, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a30eb6462d564ff78cefa753dec3ebf8", async() => { BeginContext(796, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(814, 219, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-labels", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "158f2f52467c4998805dc15799ab6eb0", async() => { BeginContext(824, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(846, 158, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-diagram-label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f90560cea3047708ef6d9a263d8516b", async() => { BeginContext(898, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(924, 40, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-margin", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f762a3565824d47b0e3a7b98ed7b25e", 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\HtmlDataBinding.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\HtmlDataBinding.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(964, 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1004, 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(1033, 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\HtmlDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 120; #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\HtmlDataBinding.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_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(1056, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1070, 268, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f4afe6b625d47198b01e3405a726ba3", async() => { BeginContext(1083, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1101, 106, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segments", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b04a8f8c476c44c0b377fcd87d0452e8", async() => { BeginContext(1113, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1135, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-segment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bee50954a2054be3999ac04d63b90f52", 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\HtmlDataBinding.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(1176, 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(1207, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1225, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-target-decorator", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "69bdb93d68334ed09e3a9bb1cfdb3037", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramDecorator>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.FillColor = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramDecorator.BorderColor = (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(1310, 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(1338, 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(1369, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1379, 156, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b8c465dfd8a440948831adbf1509717a", async() => { BeginContext(1435, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1449, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datamanager", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8f99ea7d134b4b57bb309fe34acb7722", async() => { } ); __Syncfusion_JavaScript_DataSource = CreateTagHelper <global::Syncfusion.JavaScript.DataSource>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataSource); __Syncfusion_JavaScript_DataSource.Table = (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(1501, 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.Id = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1535, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1545, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed73c0c2083944389cfbbb5bbdb2549a", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Layout>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.HierarchicalTree; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginX = 0; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-x", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginX, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("margin-y", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.MarginY, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.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 30 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1663, 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_8); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); #line 8 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\HtmlDataBinding.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\HtmlDataBinding.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_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1682, 2, true); WriteLiteral("\r\n"); EndContext(); } ); BeginContext(1687, 3427, true); WriteLiteral(@" <script id=""htmlbinding"" type=""text/template""> <table style=""display: none""> <thead> <tr> <th> Id </th> <th> Role </th> <th> ReportingPerson </th> <th> Color </th> </tr> </thead> <tbody> <tr> <td>parent</td> <td>Plant Manager</td> <td>null</td> <td>#0B4268</td> </tr> <tr> <td>11</td> <td>Production Manager</td> <td>parent</td> <td>#D34A4A</td> </tr> <tr> <td>1</td> <td>Administrative Officer</td> <td>parent</td> <td>#D34A4A</td> </tr> <tr> "); WriteLiteral(@" <td>2</td> <td>Maintenance manager</td> <td>parent</td> <td>#D34A4A</td> </tr> <tr> <td>3</td> <td>Control Room</td> <td>11</td> <td>#108D8D</td> </tr> <tr> <td>4</td> <td>Plant Operator</td> <td>11</td> <td>#108D8D</td> </tr> <tr> <td>5</td> <td>Foreman</td> <td>3</td> <td>#108D8D</td> </tr> <tr> <td>6</td> <td>Craft Personnel</td> <td>5</td> <td>#108D8D</td> </tr> <tr> <td>7</td> <td>Craft Personnel</td> <td>5</td> <td>#108D8D</td> </tr> <tr> "); WriteLiteral(@" <td>8</td> <td>Foreman</td> <td>4</td> <td>#108D8D</td> </tr> <tr> <td>9</td> <td>Craft Personnel</td> <td>8</td> <td>#108D8D</td> </tr> <tr> <td>10</td> <td>Electrical Supervisor</td> <td>2</td> <td>#108D8D</td> </tr> <tr> <td>111</td> <td>Mechanical Supervisor</td> <td>2</td> <td>#108D8D</td> </tr> <tr> <td>12</td> <td>Craft Personnel</td> <td>10</td> <td>#108D8D</td> </tr> <tr> <td>13</td> <td>Craft Personnel</td> <td>10</td> <td>#108D8D</td> </tr> <tr> "); WriteLiteral(@" <td>14</td> <td>Craft Personnel</td> <td>111</td> <td>#108D8D</td> </tr> <tr> <td>15</td> <td>Craft Personnel</td> <td>111</td> <td>#108D8D</td> </tr> </tbody> </table> </script> "); EndContext(); DefineSection("ScriptSection", async() => { BeginContext(5137, 199, true); WriteLiteral("\r\n <script type=\"text/javascript\">\r\n function nodeTemplate(diagram, node) {\r\n node.labels[0].text = node.Role;\r\n node.fillColor = node.Color;\r\n }\r\n </script>\r\n"); EndContext(); } ); BeginContext(5339, 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, 192, true); WriteLiteral("\r\n <meta name=\"description\" content=\"This sample illustrates visualizing the organizational structure in the circular style by using ASP.NET CORE diagram\'s radial tree layout algorithm.\">\r\n"); EndContext(); } ); DefineSection("ControlsSection", async() => { BeginContext(423, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(431, 952, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-diagram", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f7adb8ae38c04d9ea6403e28ff6882fe", async() => { BeginContext(556, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(566, 69, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-snap-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2287830e426a4df18fdeed2236c5bdf3", async() => { BeginContext(607, 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 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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(635, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(645, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-layout", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "64a427f7962e4c98877bdf39249ca0cb", 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\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.LayoutTypes.RadialTree; #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\RadialTree.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\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing = 30; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("vertical-spacing", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Layout.VerticalSpacing, 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(730, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(740, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-page-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "edba9ea7091046a984fe3b2650e60bac", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.PageSettings>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_PageSettings); #line 13 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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(811, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(821, 145, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tooltip", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "12ae641f23744cb49fdcfc3912238621", async() => { BeginContext(865, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(879, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-alignment", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6ce50f82a1f749748e1e8388fd14cc8a", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Alignment>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment.Horizontal = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.HorizontalAlignment.Center; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("horizontal", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment.Horizontal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 15 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment.Vertical = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.VerticalAlignment.Bottom; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("vertical", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Alignment.Vertical, 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(944, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Tooltip = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.Tooltip>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_Tooltip); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_Tooltip.TemplateId = (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(966, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(976, 266, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-default-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2dd868cad0a24ac4976fa26569dbf551", async() => { BeginContext(996, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1010, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-node", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "16bb2393e2d348729a689f096bd89ffa", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramNode>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width = 50; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Type = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.Shapes.Image; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("type", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Type, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 18 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Constraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.NodeConstraints.InheritTooltip | NodeConstraints.PointerEvents; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramNode.Constraints, 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(1151, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1165, 46, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-connector", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a532ea8868ad48e98bbeb5dc0020236d", async() => { } ); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector = CreateTagHelper <global::Syncfusion.JavaScript.DataVisualization.Models.Diagram.DiagramConnector>(); __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector); #line 19 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.cshtml" __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector.Constraints = global::Syncfusion.JavaScript.DataVisualization.DiagramEnums.ConnectorConstraints.None; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("constraints", __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DiagramConnector.Constraints, 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(1211, 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(1242, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1252, 112, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-datasource-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e89ae5b6341642cebc19689a71e40e24", 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_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Syncfusion_JavaScript_DataVisualization_Models_Diagram_DataSourceSettings.Parent = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 21 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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(1364, 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_4); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Width = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_JavaScript_DataVisualization_Models_DiagramProperties.Height = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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 9 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\Diagram\RadialTree.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_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1383, 1632, true); WriteLiteral(@" <script type=""text/x-jsrender"" id=""mouseovertoolTipId""> <svg style=""position: relative; width: 150px; height: 75px;""> <g> <path fill=""#FFFFFF"" d=""M 147 75 H 3 c -1.7 0 -3 -1.3 -3 -2.8 V 2.8 C 0 1.3 1.3 0 3 0 h 144 c 1.7 0 3 1.3 3 2.8 v 69.4 C 150 73.7 148.7 75 147 75 Z"" /> <path d=""M 147.2 74 H 2.8 c -1.3 0 -2.3 -0.6 -2.3 -1.4 V 68 h 149 v 4.6 C 149.5 73.3 148.4 74 147.2 74 Z"" fill=""{{:RatingColor}}"" /> <path style=""fill: none; stroke: #D0D0D0; stroke-miterlimit: 10;"" d=""M 147.2 74.5 H 2.8 c -1.3 0 -2.3 -0.9 -2.3 -2.1 V 2.6 c 0 -1.2 1 -2.1 2.3 -2.1 h 144.5 c 1.3 0 2.3 0.9 2.3 2.1 v 69.8 C 149.5 73.5 148.4 74.5 147.2 74.5 Z"" /> <text transform=""matrix(1 0 0 1 61.0801 16.0686)"" style=""fill: #2D2D2D; font-family: Segoe UI;font-weight:bold; font-size: 10px;"">{{:Name}}</text> <text transform=""matrix(1 0 0 1 61.0801 32.6208)"" style=""font-size: 10px; fill: #2D2D3A; font-family: Segoe UI;font-size: 9px;"">{"); WriteLiteral(@"{:Designation:}}</text> <text transform=""matrix(1 0 0 1 61.0801 44.4484)"" style=""font-size: 10px; fill: #2D2D3A; font-family: 'Segoe UI';font-size: 9px;"">[email protected]</text> <text transform=""matrix(1 0 0 1 61.0801 57.987)"" style=""font-size: 10px; fill: #2D2D3A; font-family: 'Segoe UI';font-size: 9px;"">456 789</text> <image style=""overflow: visible; enable-background: new;"" width=""116"" height=""121"" xlink:href=""{{:ImageUrl}}"" transform=""matrix(0.3763 0 0 0.3798 6.2543 10.1381)""> </image> </g> </svg> </script> "); EndContext(); } ); DefineSection("ScriptSection", async() => { BeginContext(3041, 290, true); WriteLiteral(@" <script type=""text/javascript""> //creating the node template function nodeTemplate(diagram, node) { node.source = node.ImageUrl; } $(document).ready(function () { $(""#diagram"").ejDiagram(""instance"").fitToPage() }); </script> "); EndContext(); } ); BeginContext(3334, 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, "0cb3204c087e4d7cae04399cc7168cf9", 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, "1a426b20831b4e9498022654f91cfda5", 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, "c9ccb9192a5b4693ba74c00e6c8100cc", 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, "fd8c8a148b5e4ce9bf10a95e95e43319", 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, "ce5fb6ed28f84d8b874d6a95c0432d05", 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, 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, "1e82633f535d48b7886438a38add3b9d", 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, "bfb234daf69d4170a47a7802e5195168", 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, "46a203fdc2124e8fa6ae9cdb65673573", 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, "a3b3f561eb6c4ca3beda06c7851b120e", 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, "6aa33c030712412bba95d0a0106f1866", 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, "ea332ec88688449e8ebb8e107bc13c97", 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, "8031e883349b4bf9810b5cd62823f42e", 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, "2d2bcce5a7324a6bb645f7be4edb74c3", 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, "82560d3d504d439a844a0cb3abab0173", 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, "b71afc91370449a1ba616f69b1cc7886", 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, "2e7f178f77724ff7ba64a918ce4f8f60", 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, "e0b1115dc8d7444eaf10ff7ab3ac5956", 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, "58af4fa5740947a68ca2eea0d1336bb2", 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, "881b361804c44e088ee62dd39cfa7d2d", 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, 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, 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(); }