Example of Flowchart Layout in ASP.NET Core Diagram Control

Diagram
Automatic Layouts
Flowchart Layout

This sample illustrates the flowchart layout algorithm that is used to automatically arrange the flow shapes.

0100200300400500600700800900
010020030040050060070080090010001100
StartOpen the browser andgo to Amazon siteAlready acustomer?Create an accountSearch for the book inthe search barSelect the preferredbookIs the book new orused?Select the new bookAdd to Cart & Proceedto CheckoutEnter shipping andpayment detailsIs the informationcorrect?Review and place theorderEndSelect the used bookEnter login informationNoYesTrueNoYes
Properties

This sample illustrates the flowchart layout algorithm that is used to automatically arrange the flow shapes.

This example shows how to generate a flowchart layout from an external data source. The spacing between the objects can also be customized in the chart. The horizontalSpacing and verticalSpacing properties of layout can be used to customize the space between objects in a tree. The orientation property of layout can be used to change the orientation of the chart. The flowchartLayoutSettings property of layout can be used to configure the flow chart layout settings. The yesBranchDirection and noBranchDirection properties of the flowchartLayoutSettings is used to define the flow direction of the yes and no branch connectors.

Injecting Module

The diagram component’s features are segregated into individual feature-wise modules. To generate diagrams from an external data source, inject DataBinding module using Diagram.Inject(DataBinding) method. To automatically arrange the objects in a flowchart layout format, inject FlowchartLayout module using Diagram.Inject(FlowchartLayout) method.


Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab