#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, "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, 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(); }