Skip to content

Commit 4e6bdd4

Browse files
Merge pull request #285 from Syncfusion-Content/hotfix/hotfix-v20.4.0.38
DOCINFRA-2341_merged_using_automation
2 parents 1ced7b6 + efa1ae4 commit 4e6bdd4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

aspnet-core/Diagram/Automatic-Layout.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
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.
55
platform: ejmvc
66
control: Diagram
77
documentation: ug
88
---
99

10-
# Automatic Layout
10+
# Automatic Layout in ASP.NET Core Diagram
1111

1212
Diagram provides support to auto-arrange the nodes in the Diagram area that is referred as **Layout**. It includes the following layout modes.
1313

@@ -85,7 +85,7 @@ To arrange the nodes in hierarchical structure, you need to specify the layout `
8585
{% endhighlight %}
8686
{% endtabs %}
8787

88-
![](Automatic-Layout_images/Automatic-Layout_img1.png)
88+
![ASP.NET Core Diagram Radial Tree Layout](Automatic-Layout_images/Automatic-Layout_img1.png)
8989

9090
N> You can ignore a particular Node from layout arrangement by setting its **ExcludeFromLayout** property as true.
9191

@@ -180,7 +180,7 @@ To arrange nodes in a radial tree structure, you need to set the `Layout.Type` a
180180
{% endhighlight %}
181181
{% endtabs %}
182182

183-
![](Automatic-Layout_images/Automatic-Layout_img2.png)
183+
![ASP.NET Core Diagram Organizational Chart](Automatic-Layout_images/Automatic-Layout_img2.png)
184184

185185
## Organizational Chart
186186

@@ -275,7 +275,7 @@ The following code example illustrates how to create an organizational chart.
275275
{% endhighlight %}
276276
{% endtabs %}
277277

278-
![](Automatic-Layout_images/Automatic-Layout_img3.png)
278+
![ASP.NET Core Diagram GetLayoutInfo](Automatic-Layout_images/Automatic-Layout_img3.png)
279279

280280
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.
281281

@@ -411,7 +411,7 @@ The following code example illustrates how to set the vertical right arrangement
411411
{% endhighlight %}
412412
{% endtabs %}
413413

414-
![](Automatic-Layout_images/Automatic-Layout_img10.png)
414+
![ASP.NET Core Diagram Assistant](Automatic-Layout_images/Automatic-Layout_img10.png)
415415

416416
### Assistant
417417

@@ -496,7 +496,7 @@ The following code example illustrates how to add assistants to layout.
496496
{% endhighlight %}
497497
{% endtabs %}
498498

499-
![](Automatic-Layout_images/Automatic-Layout_img11.png)
499+
![ASP.NET Core Diagram Customize Layout](Automatic-Layout_images/Automatic-Layout_img11.png)
500500

501501
## Customize Layout
502502

@@ -566,7 +566,7 @@ The following code illustrates how to arrange the nodes in a "BottomToTop" orien
566566
{% endhighlight %}
567567
{% endtabs %}
568568

569-
![](Automatic-Layout_images/Automatic-Layout_img12.png)
569+
![ASP.NET Core Diagram Fixed Node](Automatic-Layout_images/Automatic-Layout_img12.png)
570570

571571
### Fixed Node
572572

@@ -612,7 +612,7 @@ This is helpful when you try to expand/collapse a node. It might be expected tha
612612
{% endhighlight %}
613613
{% endtabs %}
614614

615-
![](Automatic-Layout_images/Automatic-Layout_img13.png)
615+
![ASP.NET Core Diagram Expand and collapse](Automatic-Layout_images/Automatic-Layout_img13.png)
616616

617617
### Expand and collapse
618618

@@ -678,4 +678,4 @@ In above example, while expanding/collapsing a node, it is set as fixed node in
678678

679679
### Refresh layout
680680

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

Comments
 (0)