#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, "7311bac9fb8e4fbe863f68d4d9e543af", 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, "a95e2ab3035c443fb4e13fcc68bfc823", 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, "8277a921b6824530882672557bcb82af", 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, "2e19f139d9364545830c594a15db9b07", 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, "29657f859a754c879d701b72e841d314", 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, "40346e1f57384a7fa7478c024b6b90b6", 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, "f1792eaa4ea14026bdc17073935a1952", 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, "0e4230d446ea4e8e9eea88a1438ae306", 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, "4d81998c22b24d99ac7bceb32f63316c", 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, "da990347e2934b25869aef2edcb5122a", 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, "61effa5907974590bf63984bf4477760", 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, "f201a47328c84372bd1183ae8cfb498d", 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, "255107513e1a4a46a93571bb22cfb0e3", 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, "61a570db995e41d1abac9e1d2df3a200", 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();
        }
Exemplo n.º 2
0
        #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, "c1dcbd282b1b4fb7858c6fd11ae0a7a8", 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, "b56d7eba74234634a0181efa7ef9f4a6", 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, "cb76f93538ee48948dc16d19d3a71e3d", 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, "d6ce03fb378942ce83c26668a6c851bf", 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, "32da2bbca66c44a5bc143e45fa7e23ef", 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, "ddef862efdcb4c13991cddd73c9529a4", 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, "3aa174d1484d45f9aa92d9bacafeb3f8", 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, "03bb3583e9504ed7a4a8c87e5412e3c6", 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, "4b319a16091b4b5fb984a62b487473bb", 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, "aff31cda6eb64a9fa5792d5a5420713e", 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();
        }
Exemplo n.º 3
0
        #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, "fec8a720cdac4040848e6179b9873e26", 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, "6537f52ff7244148af7ee042363df248", 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, "c5f8b86b39ef46f1a8457479ff0f4b75", 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, "0fe04d473f214221a5ee431c2efa2e9a", 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, "0eb347bd71ff4f86ba40e0c4024005a0", 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, "39c4fb5bb0c94285a49b9b5335472560", 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, "a30db8027ee747d189a9c18d1f435f5d", 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, "6fe02bf3d4264e74a676c9a256c92955", 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, "277d6aaa7ccc4a30a1fea0a4bee9ce79", 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, "f346ddb1a0b14f3daa7c94e6ad9ddffe", 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, "646720079a1b466c9bd84ba4eed06913", 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, "3d2f70a58b34486d8a8ebd9cbaa92e76", 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, "7328746b07944792a175c35c15dace1d", 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, "88b6e961060a47dd967c7534adaa2f73", 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();
        }
Exemplo n.º 4
0
        #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, "e0c476fcdb834784845bfa4e482d6c58", 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, "af756dd508c641568ba145558811c5f6", 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, "965516a15b404876b3608eb7acf3c5d1", 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, "5ae0b7e774fc4b37b5763a417e60255f", 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, "d720cbc7360045128625929a7efc2d6e", 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, "4c4695a1281944af893ce02de3b92c72", 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, "3e02f4ea93b94474bbfae43ea5d0d242", 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, "ee1a873e666c491a819f6d36bd7f70d5", 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, "86d5c385f87144c4897ee7b578a8d08a", 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, "ed51d8c9c93648ec8c056760beee4fdb", 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, "963900937d0d4f42bafa9b3b70f2b51a", 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, "94d28778bc7c4199b1aad5676558a5ac", 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, "9ad24503044b49ca966006206be3d52a", 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, "69deeebf8d1e4afda37a1d31f615a0e1", 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, "3a3c16d8301b4a42bfb5d3d64db10d00", 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();
        }
Exemplo n.º 6
0
        #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();
        }
Exemplo n.º 7
0
        #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();
        }
Exemplo n.º 8
0
        #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, 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();
        }
Exemplo n.º 11
0
        #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();
        }
Exemplo n.º 12
0
        #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();
        }