|
1 | 1 | --- |
2 | 2 | layout: post |
3 | | -title: Layout nodes and connectors in an organized structure |
4 | | -description: How to arrange nodes by using the automatic layouts? |
| 3 | +title: Automatic Layout in ASP.NET Core Diagram Control | Syncfusion |
| 4 | +description: Learn here about Automatic Layout in Syncfusion Essential ASP.NET Core Diagram Control, its elements, and more. |
5 | 5 | platform: ejmvc |
6 | 6 | control: Diagram |
7 | 7 | documentation: ug |
8 | 8 | --- |
9 | 9 |
|
10 | | -# Automatic Layout |
| 10 | +# Automatic Layout in ASP.NET Core Diagram |
11 | 11 |
|
12 | 12 | Diagram provides support to auto-arrange the nodes in the Diagram area that is referred as **Layout**. It includes the following layout modes. |
13 | 13 |
|
@@ -85,7 +85,7 @@ To arrange the nodes in hierarchical structure, you need to specify the layout ` |
85 | 85 | {% endhighlight %} |
86 | 86 | {% endtabs %} |
87 | 87 |
|
88 | | - |
| 88 | + |
89 | 89 |
|
90 | 90 | N> You can ignore a particular Node from layout arrangement by setting its **ExcludeFromLayout** property as true. |
91 | 91 |
|
@@ -180,7 +180,7 @@ To arrange nodes in a radial tree structure, you need to set the `Layout.Type` a |
180 | 180 | {% endhighlight %} |
181 | 181 | {% endtabs %} |
182 | 182 |
|
183 | | - |
| 183 | + |
184 | 184 |
|
185 | 185 | ## Organizational Chart |
186 | 186 |
|
@@ -275,7 +275,7 @@ The following code example illustrates how to create an organizational chart. |
275 | 275 | {% endhighlight %} |
276 | 276 | {% endtabs %} |
277 | 277 |
|
278 | | - |
| 278 | + |
279 | 279 |
|
280 | 280 | Organizational chart layout starts parsing from root and iterate through all its child elements. ‘getLayoutInfo’ method provides necessary information of a node’s children and the way to arrange (direction, orientation, offsets, etc.) them. You can customize the arrangements by overriding this function as explained. |
281 | 281 |
|
@@ -411,7 +411,7 @@ The following code example illustrates how to set the vertical right arrangement |
411 | 411 | {% endhighlight %} |
412 | 412 | {% endtabs %} |
413 | 413 |
|
414 | | - |
| 414 | + |
415 | 415 |
|
416 | 416 | ### Assistant |
417 | 417 |
|
@@ -496,7 +496,7 @@ The following code example illustrates how to add assistants to layout. |
496 | 496 | {% endhighlight %} |
497 | 497 | {% endtabs %} |
498 | 498 |
|
499 | | - |
| 499 | + |
500 | 500 |
|
501 | 501 | ## Customize Layout |
502 | 502 |
|
@@ -566,7 +566,7 @@ The following code illustrates how to arrange the nodes in a "BottomToTop" orien |
566 | 566 | {% endhighlight %} |
567 | 567 | {% endtabs %} |
568 | 568 |
|
569 | | - |
| 569 | + |
570 | 570 |
|
571 | 571 | ### Fixed Node |
572 | 572 |
|
@@ -612,7 +612,7 @@ This is helpful when you try to expand/collapse a node. It might be expected tha |
612 | 612 | {% endhighlight %} |
613 | 613 | {% endtabs %} |
614 | 614 |
|
615 | | - |
| 615 | + |
616 | 616 |
|
617 | 617 | ### Expand and collapse |
618 | 618 |
|
@@ -678,4 +678,4 @@ In above example, while expanding/collapsing a node, it is set as fixed node in |
678 | 678 |
|
679 | 679 | ### Refresh layout |
680 | 680 |
|
681 | | -Diagram allows to refresh the layout at runtime. To refresh the layout, refer to [Refresh layout](/js/api/ejDiagram#methods:layout "Refresh layout"). |
| 681 | +Diagram allows to refresh the layout at runtime. To refresh the layout, refer to [Refresh layout](/js/api/ejdiagram#methods:layout "Refresh layout"). |
0 commit comments