diff --git a/blazor/barcode/barcodeGenerator.md b/blazor/barcode/barcodeGenerator.md
index ad9c4402b5..ead03d15fc 100644
--- a/blazor/barcode/barcodeGenerator.md
+++ b/blazor/barcode/barcodeGenerator.md
@@ -11,7 +11,7 @@ documentation: ug
## Code39
-The Code 39 character set includes the digits 0-9, the letters A-Z (upper case only), and the symbols: space, minus (-), plus (+), period (.), dollar sign ($), slash (/), and percent (%). A special start/stop character is placed at the beginning and end of each barcode. The barcode can be of any length; even more than 25 characters begin to push the bounds. Code 39 is the only type of barcode that does not require a checksum for common use.
+The Code 39 character set includes digits 0-9, uppercase letters A–Z, and the symbols space, minus (-), plus (+), period (.), dollar ($), slash (/), and percent (%). A special start/stop character is placed at the beginning and end of each barcode. The barcode can be of any length; even more than 25 characters begin to push the bounds. Code 39 is the only type of barcode that does not require a checksum for common use.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -23,7 +23,7 @@ The Code 39 character set includes the digits 0-9, the letters A-Z (upper case o
## Code39 Extended
-Code 39 Extended is an extended version of Code 39 that supports ASCII character set. In Code 39 Extended, you can also code 26 lower letters (a-z) and the special characters in the keyboard.
+Code 39 Extended is an enhanced version of Code 39 that supports ASCII character set. In Code 39 Extended, it can encode lowercase letters (a–z) and special keyboard characters by using combinations of standard Code 39 symbols.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -35,7 +35,7 @@ Code 39 Extended is an extended version of Code 39 that supports ASCII character
## Code 11
-Code 11 is used primarily for labeling the telecommunication equipment’s. The character set includes the digits 0 to 9, a dash (-), and a start/stop code.
+Code 11 is used primarily for labeling telecommunications equipment. The character set includes digits 0 to 9, a dash (-), and start/stop codes.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -47,11 +47,11 @@ Code 11 is used primarily for labeling the telecommunication equipment’s. The
## Codabar
-Codabar is a variable length symbol that encodes the following 20 characters:
+Codabar is a variable-length symbol that encodes the following 20 characters:
0123456789-$:/.+ABCD
-The characters A, B, C and D are used as start and stop characters. Codabar is used in libraries, blood banks, the package delivery industry and a variety of other information processing applications.
+The characters A, B, C, and D serve as start and stop characters. Codabar is used in libraries, blood banks, the package delivery industry and a variety of other information processing applications.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -63,11 +63,11 @@ The characters A, B, C and D are used as start and stop characters. Codabar is u
## Code 32
-Code 32 is mainly used for coding pharmaceuticals, cosmetics, and dietetics. It is often used to encode Italian Pharmacode that has the following structure:
+Code 32 is used mainly for coding pharmaceuticals, cosmetics, and dietetics. It is often to encode the Italian Pharmacode that has the following structure:
* ‘A’ character (ASCII 65), that is not really encoded.
-* 8 digits for Pharmacode (It generally begins with / and prefixed with 0).
-* 1 digit for checksum module 10, that is automatically calculated by barcode.
+* 8 digits for the Pharmacode (It generally begins with / and prefixed with 0).
+* 1 digit for checksum module 10, that is automatically calculated by the barcode.
The value to be encoded must be 8 digits Pharmacode (prefix it with ‘0’ if necessary), and the 9th digit (the checksum) is automatically calculated by barcode.
@@ -81,7 +81,7 @@ The value to be encoded must be 8 digits Pharmacode (prefix it with ‘0’ if n
## Code 93
-Code 93 is designed to complement and improve Code 39. It can represent the entire ASCII character set by using combinations of 2 characters. Code 93 is a continuous, variable-length symbology and produces denser code. The Standard Mode (default implementation) can encode uppercase letters (A-Z), digits (0-9), and special characters like *, -, $, %, (Space), ., /, and +.
+Code 93 is designed to complement and improve Code 39. It represents the entire ASCII character set through combinations of two characters. Code 93 is a continuous, variable-length symbology and produces denser code. The Standard Mode (default implementation) can encode uppercase letters (A-Z), digits (0-9), and special characters like *, -, $, %, (Space), ., /, and +.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -93,11 +93,11 @@ Code 93 is designed to complement and improve Code 39. It can represent the enti
## Code 93 Extended
-The Code 93 Extended Barcode symbology is continuous, variable length, and self-checking. It is based on Code 93 Barcode. The Extended Version can encode all 128 ASCII characters.
+Code 93 Extended Barcode symbology is a continuous, variable length, self-checking. It is based on Code 93 Barcode. The Extended Version can encode all 128 ASCII characters.
## Code 128
-Code 128 is a variable length, high density, alphanumeric, linear bar code symbology capable of encoding full 128-character ASCII character set and extended character sets. This symbology includes a checksum digit for verification and the barcode can also be verified character-by-character by verifying the parity of each data byte.
+Code 128 is a variable-length, high-density, alphanumeric, linear bar code symbology capable of encoding full 128-character ASCII character set and extended character sets. This symbology includes a checksum digit for verification and the barcode can be verified character-by-character by verifying the parity of each data byte.
### Code 128 Code Sets
@@ -107,7 +107,7 @@ Code 128 is a variable length, high density, alphanumeric, linear bar code symbo
### Code 128 Special characters
-The last seven characters of Code Sets A and B (character values 96 - 102) and the last three characters of Code Set C (character values 100 - 102) are special non-data characters with no ASCII character equivalents that have a particular significance to the Barcode reading device.
+The last seven characters of Code Sets A and B (character values 96-102) and the last three characters of Code Set C (character values 100-102) are special non-data characters with no ASCII character equivalents that have a particular significance to the Barcode reading device.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -131,7 +131,7 @@ A page or printed media with barcode often appears colorful in the background an
## Customizing the Barcode dimension
-The dimension of the barcode can be changed using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_Width) properties of the barcode generator.
+The dimensions of the barcode can be adjusted using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_Width) properties of the barcode generator.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -143,7 +143,7 @@ The dimension of the barcode can be changed using the [Height](https://help.sync
## Customizing the text
-In barcode generators, you can customize the barcode text by using display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.BarcodeGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_BarcodeGeneratorDisplayText_Text) property.
+In barcode generators, Customize the barcode text by using display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.BarcodeGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_BarcodeGeneratorDisplayText_Text) property.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -173,7 +173,7 @@ The below code explains how to set the EnableCheckSum property to hide the extra
## Event
-[OnValidationFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_OnValidationFailed) event in the [SfBarcodeGenerator](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html) is used to trigger when the input is an invalid string.
+[OnValidationFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfBarcodeGenerator_OnValidationFailed) event in the [SfBarcodeGenerator](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfBarcodeGenerator.html) is used to trigger when the input is invalid string.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -186,6 +186,8 @@ The below code explains how to set the EnableCheckSum property to hide the extra
}
}
```
+{% previewsample "https://blazorplayground.syncfusion.com/embed/htBSiDDFBHLnIOaq?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
+
## See also
* [How to generate a QR Code in (2FA) Application in Blazor Diagram?](https://support.syncfusion.com/kb/article/16295/how-to-generate-a-qr-code-in-2fa-application-in-blazor-diagram)
diff --git a/blazor/barcode/datamatrixgenerator.md b/blazor/barcode/datamatrixgenerator.md
index 49417b1b81..784b1d8ce7 100644
--- a/blazor/barcode/datamatrixgenerator.md
+++ b/blazor/barcode/datamatrixgenerator.md
@@ -11,7 +11,7 @@ documentation: ug
## Data Matrix
-[DataMatrix](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html) Barcode is a two dimensional barcode that consists of a grid of dark and light dots or blocks forming square or rectangular symbol. The data encoded in the barcode can either be numbers or alphanumeric. They are widely used in printed media such as labels and letters. You can read it easily with the help of a barcode reader and mobile phones.
+The [DataMatrix](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html) barcode is a two-dimensional barcode that consists of a grid of dark and light dots or blocks forming square or rectangular symbol. The data encoded in the barcode can either be numbers or alphanumeric. They are widely used in printed media such as labels and letters. You can read it easily with the help of a barcode reader and mobile phones.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -23,7 +23,7 @@ documentation: ug
## Customizing the Barcode color
-A page or printed media with barcode often appears colorful in the background and surrounding region with other contents. In such cases, the barcode can also be customized to suit the needs. You can achieve this by using the [ForeColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_ForeColor) property.
+A page or printed media with barcode often appears colorful in the backgrounds and surrounding region with other contents. The barcode can be customized to suit the design by using the [ForeColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_ForeColor) property.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -35,7 +35,7 @@ A page or printed media with barcode often appears colorful in the background an
## Customizing the Barcode dimension
-The dimension of the barcode can be changed using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_Width) properties of the barcode generator.
+The dimensions of the barcode can be adjusted by using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfDataMatrixGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfDataMatrixGenerator_Width) properties of the barcode generator.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -47,7 +47,7 @@ The dimension of the barcode can be changed using the [Height](https://help.sync
## Customizing the text
-In barcode generators, you can customize the barcode text by using the display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.DataMatrixGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_DataMatrixGeneratorDisplayText_Text) property.
+Customize the barcode text by using the display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.DataMatrixGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_DataMatrixGeneratorDisplayText_Text) property.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -75,4 +75,5 @@ In barcode generators, you can customize the barcode text by using the display [
}
}
-```
\ No newline at end of file
+```
+{% previewsample "https://blazorplayground.syncfusion.com/embed/LjVystDPBHHDqsFK?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
\ No newline at end of file
diff --git a/blazor/barcode/export.md b/blazor/barcode/export.md
index 906d772e42..ca72a614c7 100644
--- a/blazor/barcode/export.md
+++ b/blazor/barcode/export.md
@@ -55,6 +55,6 @@ Barcode provides support to export as an image in the specified image type and r
```
{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBgWLWfTiCgSXzC?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
-N> Format is to specify the type/format of the exported file. You can export Barcode to the following formats:
+N> Format specifies the image type of the exported file. The following export formats are supported:
* JPG.
* PNG.
\ No newline at end of file
diff --git a/blazor/barcode/getting-started-with-web-app.md b/blazor/barcode/getting-started-with-web-app.md
index 4187049f09..50ffd956fa 100644
--- a/blazor/barcode/getting-started-with-web-app.md
+++ b/blazor/barcode/getting-started-with-web-app.md
@@ -9,7 +9,7 @@ documentation: ug
# Getting Started with Blazor Barcode Component in Blazor Web App
-This section briefly explains about how to include [Blazor Barcode](https://www.syncfusion.com/blazor-components/blazor-barcode) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
+This section explains how to include the [Blazor Barcode](https://www.syncfusion.com/blazor-components/blazor-barcode) component in a Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) or Visual Studio Code.
{% tabcontents %}
@@ -21,17 +21,17 @@ This section briefly explains about how to include [Blazor Barcode](https://www.
## Create a new Blazor Web App in Visual Studio
-You can create a **Blazor Web App** using Visual Studio 2022 via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
+Create a **Blazor Web App** using Visual Studio 2022 via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
-You need to configure the corresponding [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) while creating a Blazor Web Application.
+Configure the corresponding [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) while creating the Blazor Web Application.
## Install Syncfusion® Blazor BarcodeGenerator and Themes NuGet in the App
-To add **Blazor Barcode** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
+To add the **Blazor Barcode** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
-If you utilize `WebAssembly or Auto` render modes in the Blazor Web App need to be install Syncfusion® Blazor components NuGet packages within the client project.
+If using the `WebAssembly or Auto` render modes in a Blazor Web App need to be install Syncfusion® Blazor component NuGet packages within the client project.
-Alternatively, you can utilize the following package manager command to achieve the same.
+Alternatively, use the following package manager command to achieve the same.
{% tabs %}
{% highlight C# tabtitle="Package Manager" %}
@@ -54,9 +54,9 @@ N> Syncfusion® Blazor components are availa
## Create a new Blazor Web App in Visual Studio Code
-You can create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
+Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
-You need to configure the corresponding [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) while creating a Blazor Web Application.
+Configure the corresponding [Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) while creating the Blazor Web Application.
For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands.
@@ -70,15 +70,15 @@ cd BlazorWebApp.Client
{% endhighlight %}
{% endtabs %}
-N> For more information on creating a **Blazor Web App** with various interactive modes and locations, refer to this [link](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code#render-interactive-modes).
+N> For more information about creating a **Blazor Web App** with various interactive modes and locations, refer to this [link](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app?tabcontent=visual-studio-code#render-interactive-modes).
## Install Syncfusion® Blazor BarcodeGenerator and Themes NuGet in the App
-If you utilize `WebAssembly` or `Auto` render modes in the Blazor Web App need to be install Syncfusion® Blazor components NuGet packages within the client project.
+If using the `WebAssembly` or `Auto` render modes in a Blazor Web App need to be install Syncfusion® Blazor component NuGet packages within the client project.
* Press Ctrl+` to open the integrated terminal in Visual Studio Code.
-* Ensure you’re in the project root directory where your `.csproj` file is located.
-* Run the following command to install a [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
+* Ensure the terminal is opened at the project directory containing the .csproj file.
+* Run the following commands to install [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
{% tabs %}
@@ -92,13 +92,13 @@ dotnet restore
{% endtabs %}
-N> Syncfusion® Blazor components are available in [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
+N> Syncfusion® Blazor components are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
{% endtabcontent %}
{% endtabcontents %}
-## Register Syncfusion® Blazor Service
+## Register Syncfusion® Blazor service
| Interactive Render Mode | Description |
| -- | -- |
@@ -116,9 +116,9 @@ Import the `Syncfusion.Blazor` and `Syncfusion.Blazor.BarcodeGenerator` namespac
{% endhighlight %}
{% endtabs %}
-Now, register the Syncfusion® Blazor Service in the **~/Program.cs** file of your Blazor Web App.
+Now, register the Syncfusion® Blazor Service in the **~/Program.cs** file of the Blazor Web App.
-If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, you need to register the Syncfusion® Blazor service in both **~/Program.cs** files of your Blazor Web App.
+If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion® Blazor service in both **~/Program.cs** files of the Blazor Web App.
{% tabs %}
{% highlight c# tabtitle="Server(~/_Program.cs)" hl_lines="3 11" %}
@@ -152,7 +152,7 @@ await builder.Build().RunAsync();
{% endhighlight %}
{% endtabs %}
-If the **Interactive Render Mode** is set to `Server`, your project will contain a single **~/Program.cs** file. So, you should register the Syncfusion® Blazor Service only in that **~/Program.cs** file.
+If the **Interactive Render Mode** is set to `Server`, the project will contain a single **~/Program.cs** file. Register the Syncfusion® Blazor service only in that **~/Program.cs** file.
{% tabs %}
{% highlight c# tabtitle="~/_Program.cs" hl_lines="2 9" %}
@@ -193,7 +193,7 @@ N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/app
## Add Syncfusion® Blazor Barcode component
-Add the Syncfusion® Blazor Barcode component in the **~Pages/.razor** file. If an interactivity location as `Per page/component` in the web app, define a render mode at the top of the `~Pages/.razor` component, as follows:
+Add the Syncfusion® Blazor Barcode component in a **~Pages/.razor** file. If the interactivity location is `Per page/component` in the web app, define a render mode at the top of the `~Pages/.razor` component, as follows:
| Interactivity location | RenderMode | Code |
| --- | --- | --- |
@@ -202,7 +202,7 @@ Add the Syncfusion® Blazor Barcode componen
| | Server | @rendermode InteractiveServer |
| | None | --- |
-N> If an **Interactivity Location** is set to `Global` and the **Render Mode** is set to `Auto` or `WebAssembly` or `Server`, the render mode is configured in the `App.razor` file by default.
+N> If the **Interactivity Location** is `Global` and the **Render Mode** is `Auto` or `WebAssembly` or `Server`, the render mode is configured in the `App.razor` file by default.
{% tabs %}
{% highlight razor %}
@@ -221,7 +221,7 @@ N> If an **Interactivity Location** is set to `Global` and the **Render Mode** i
{% endhighlight %}
{% endtabs %}
-* Press Ctrl+F5 (Windows) or ⌘+F5 (macOS) to launch the application. This will render the Syncfusion® Blazor Barcode component in your default web browser.
+* Press Ctrl+F5 (Windows) or ⌘+F5 (macOS) to launch the application. This renders the Syncfusion® Blazor Barcode component in the default web browser.
{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhpDMryUyGlVBeQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Barcode Generator Component](images/blazor-barcode-generator-component.png)" %}
@@ -229,7 +229,7 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-
## Adding QR Generator control
-You can add the QR code in our barcode generator component.
+Add a QR code in our barcode generator component.
{% tabs %}
{% highlight razor %}
@@ -243,7 +243,7 @@ You can add the QR code in our barcode generator component.
## Adding Data Matrix Generator control
-You can add the Data Matrix code in our barcode generator component.
+Add a Data Matrix code in our barcode generator component.
{% tabs %}
{% highlight razor %}
@@ -255,10 +255,10 @@ You can add the Data Matrix code in our barcode generator component.
{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBzZMBSARZqShgQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Data Matrix Generator in Blazor Barcode Component](images/blazor-barcode-with-data-matrix.png)" %}
-N> You can also explore our [Blazor Barcode Generator example](https://blazor.syncfusion.com/demos/barcodes/default-functionalities?theme=bootstrap5) that shows you how to render and configure the barcode.
+N> Explore the [Blazor Barcode Generator example](https://blazor.syncfusion.com/demos/barcodes/default-functionalities?theme=bootstrap5) that shows you how to render and configure the barcode.
## See also
-1. [Getting Started with Syncfusion® Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-app)
+1. [Getting Started with Syncfusion® Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli)
2. [Getting Started with Syncfusion® Blazor for client-side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-visual-studio)
-3. [Getting Started with Syncfusion® Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-web-app)
\ No newline at end of file
+3. [Getting Started with Syncfusion® Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli)
\ No newline at end of file
diff --git a/blazor/barcode/getting-started.md b/blazor/barcode/getting-started.md
index ae9f078467..df3c5937f4 100644
--- a/blazor/barcode/getting-started.md
+++ b/blazor/barcode/getting-started.md
@@ -9,7 +9,7 @@ documentation: ug
# Getting Started with Blazor Barcode Component
-This section briefly explains about how to include [Blazor Barcode](https://www.syncfusion.com/blazor-components/blazor-barcode) component in your Blazor WebAssembly App using Visual Studio and Visual Studio Code.
+This section explains how to include [Blazor Barcode](https://www.syncfusion.com/blazor-components/blazor-barcode) component in a Blazor WebAssembly app using Visual Studio or Visual Studio Code.
{% youtube "youtube:https://www.youtube.com/watch?v=CuApVvYbQtI" %}
@@ -23,11 +23,11 @@ This section briefly explains about how to include [Blazor Barcode](https://www.
## Create a new Blazor App in Visual Studio
-You can create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-7.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
+Create a **Blazor WebAssembly App** using Visual Studio via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-7.0&pivots=vs) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
## Install Syncfusion® Blazor BarcodeGenerator and Themes NuGet in the App
-To add **Blazor Barcode** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/). Alternatively, you can utilize the following package manager command to achieve the same.
+To add the **Blazor Barcode** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/). Alternatively, run the following Package Manager commands:
{% tabs %}
{% highlight C# tabtitle="Package Manager" %}
@@ -38,7 +38,7 @@ Install-Package Syncfusion.Blazor.Themes -Version {{ site.releaseversion }}
{% endhighlight %}
{% endtabs %}
-N> Syncfusion® Blazor components are available in [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
+N> Syncfusion® Blazor components are available on [nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
{% endtabcontent %}
@@ -50,9 +50,9 @@ N> Syncfusion® Blazor components are availa
## Create a new Blazor App in Visual Studio Code
-You can create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-7.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
+Create a **Blazor WebAssembly App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-7.0&pivots=vsc) or the [Syncfusion® Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
-Alternatively, you can create a WebAssembly application using the following command in the terminal(Ctrl+`).
+Alternatively, create a WebAssembly application using the following commands in the terminal(Ctrl+`).
{% tabs %}
@@ -68,7 +68,7 @@ cd BlazorApp
## Install Syncfusion® Blazor BarcodeGenerator and Themes NuGet in the App
* Press Ctrl+` to open the integrated terminal in Visual Studio Code.
-* Ensure you’re in the project root directory where your `.csproj` file is located.
+* Ensure the terminal is opened at the project root directory where the .csproj file is located.
* Run the following command to install a [Syncfusion.Blazor.BarcodeGenerator](https://www.nuget.org/packages/Syncfusion.Blazor.BarcodeGenerator/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
{% tabs %}
@@ -102,7 +102,7 @@ Open **~/_Imports.razor** file and import the Syncfusion.Blazor namespace.
{% endhighlight %}
{% endtabs %}
-Now, register the Syncfusion® Blazor Service in the **~/Program.cs** file of your Blazor WebAssembly App.
+Now, register the Syncfusion® Blazor Service in the **~/Program.cs** file of the Blazor WebAssembly App.
{% tabs %}
{% highlight C# tabtitle="~/Program.cs" hl_lines="3 11" %}
@@ -135,11 +135,11 @@ The theme stylesheet and script can be accessed from NuGet through [Static Web A
```
-N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/appearance/themes) topic to discover various methods ([Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets), [CDN](https://blazor.syncfusion.com/documentation/appearance/themes#cdn-reference), and [CRG](https://blazor.syncfusion.com/documentation/common/custom-resource-generator)) for referencing themes in your Blazor application. Also, check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in your Blazor application.
+N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/appearance/themes) topic to discover various methods ([Static Web Assets](https://blazor.syncfusion.com/documentation/appearance/themes#static-web-assets), [CDN](https://blazor.syncfusion.com/documentation/appearance/themes#cdn-reference), and [CRG](https://blazor.syncfusion.com/documentation/common/custom-resource-generator)) for referencing themes in the Blazor application. Also, check out the [Adding Script Reference](https://blazor.syncfusion.com/documentation/common/adding-script-references) topic to learn different approaches for adding script references in the Blazor application.
## Add Blazor Barcode component
-Add the Syncfusion® Blazor Barcode component in the **~/Pages/Index.razor** file.
+Add the Syncfusion® Blazor Barcode component in **~/Pages/Index.razor** file.
{% tabs %}
{% highlight razor %}
@@ -149,7 +149,7 @@ Add the Syncfusion® Blazor Barcode componen
{% endhighlight %}
{% endtabs %}
-* Press Ctrl+F5 (Windows) or ⌘+F5 (macOS) to launch the application. This will render the Syncfusion® Blazor Barcode component in your default web browser.
+* Press Ctrl+F5 (Windows) or ⌘+F5 (macOS) to launch the application. This renders the Syncfusion® Blazor Barcode component in the default web browser.
{% previewsample "https://blazorplayground.syncfusion.com/embed/rXhpDMryUyGlVBeQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Blazor Barcode Generator Component](images/blazor-barcode-generator-component.png)" %}
@@ -157,7 +157,7 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-
## Adding QR Generator control
-You can add the QR code in our barcode generator component.
+Add a QR code in our barcode generator component.
{% tabs %}
{% highlight razor %}
@@ -171,7 +171,7 @@ You can add the QR code in our barcode generator component.
## Adding Data Matrix Generator control
-You can add the Data Matrix code in our barcode generator component.
+Add a Data Matrix code in our barcode generator component.
{% tabs %}
{% highlight razor %}
@@ -183,7 +183,7 @@ You can add the Data Matrix code in our barcode generator component.
{% previewsample "https://blazorplayground.syncfusion.com/embed/VDBzZMBSARZqShgQ?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" backgroundimage "[Data Matrix Generator in Blazor Barcode Component](images/blazor-barcode-with-data-matrix.png)" %}
-N> You can also explore our [Blazor Barcode Generator example](https://blazor.syncfusion.com/demos/barcodes/default-functionalities?theme=bootstrap5) that shows you how to render and configure the barcode.
+N> Explore the [Blazor Barcode Generator example](https://blazor.syncfusion.com/demos/barcodes/default-functionalities?theme=bootstrap5) that shows you how to render and configure the barcode.
## See also
diff --git a/blazor/barcode/qrcodegenerator.md b/blazor/barcode/qrcodegenerator.md
index f23e983f8b..003fe379b7 100644
--- a/blazor/barcode/qrcodegenerator.md
+++ b/blazor/barcode/qrcodegenerator.md
@@ -11,7 +11,7 @@ documentation: ug
## QR Code
-The [Blazor QR Code](https://www.syncfusion.com/blazor-components/blazor-barcode) is a two-dimensional barcode that is made up of a grid of dark and light dots or blocks that form a square. The data encoded in the barcode can be numeric, alphanumeric, or Shift Japanese Industrial Standards (JIS8) characters. The QR Code uses version from 1 to 40. Version 1 measures 21 modules x 21 modules, Version 2 measures 25 modules x 25 modules, and so on. The number of modules increases in steps of 4 modules per side up to Version 40, which measures 177 modules x 177 modules. Each version has its own capacity. By default, the barcode control automatically sets the version according to the length of the input text. The QR Barcodes are designed for industrial uses and are also commonly used in consumer advertising.
+The [Blazor QR Code](https://www.syncfusion.com/blazor-components/blazor-barcode) is a two-dimensional barcode composed of a grid of dark and light dots or blocks that form a square. The data encoded in the barcode can be numeric, alphanumeric, or Shift Japanese Industrial Standards (JIS8) characters. The QR Code uses version from 1 to 40. Version 1 measures 21 modules x 21 modules, Version 2 measures 25 modules x 25 modules, and so on. The number of modules increases in steps of 4 modules per side up to Version 40, which measures 177 modules x 177 modules. Each version has its own capacity. By default, the barcode control automatically sets the version according to the length of the input text. The QR Barcodes are designed for industrial uses and are also commonly used in consumer advertising.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -23,7 +23,7 @@ The [Blazor QR Code](https://www.syncfusion.com/blazor-components/blazor-barcode
## Customizing the Barcode color
-A page or printed media containing a barcode often appears colorful in the background and surrounding region with other contents. In such cases, the barcode can also be customized to meet the needs. You can achieve this using [ForeColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_ForeColor) property.
+A page or printed media containing a barcode often appears colorful in the background and surrounding region with other contents. In such cases, the barcode can also be customized to meet the needs. Achieve this using [ForeColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_ForeColor) property.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -35,7 +35,7 @@ A page or printed media containing a barcode often appears colorful in the backg
## Customizing the Barcode dimension
-The dimension of the barcode can be changed using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_Width) properties of the barcode generator.
+The dimensions of the barcode can be changed by using the [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_Height) and [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_Width) properties of the barcode generator.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -47,7 +47,7 @@ The dimension of the barcode can be changed using the [Height](https://help.sync
## Customizing the text
-In barcode generators, you can customize the barcode text by using the display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.QRCodeGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_QRCodeGeneratorDisplayText_Text) property.
+In barcode generators, customize the barcode text by using the display [Text](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.QRCodeGeneratorDisplayText.html#Syncfusion_Blazor_BarcodeGenerator_QRCodeGeneratorDisplayText_Text) property.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -103,6 +103,7 @@ The following code example demonstrates how to generate a QR barcode with a logo
```
+{% previewsample "https://blazorplayground.syncfusion.com/embed/BjLSiDXvrxgTOVrH?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}

@@ -119,11 +120,13 @@ The size of the logo can be changed using the [Height](https://help.syncfusion.c
```
+{% previewsample "https://blazorplayground.syncfusion.com/embed/rNryitNPLdzgLNmN?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
+
>**Note:** The default value is one-third of the QR code size.
## Event
-[OnValidationFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_OnValidationFailed) event in the [SfQRCodeGenerator](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html) is used to trigger when the input is an invalid string.
+[OnValidationFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html#Syncfusion_Blazor_BarcodeGenerator_SfQRCodeGenerator_OnValidationFailed) event in the [SfQRCodeGenerator](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.html) is triggered when the input is an invalid string.
```cshtml
@using Syncfusion.Blazor.BarcodeGenerator
@@ -138,6 +141,8 @@ The size of the logo can be changed using the [Height](https://help.syncfusion.c
}
```
+{% previewsample "https://blazorplayground.syncfusion.com/embed/rDBosZZlhdfwvyVB?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
+
* [How can I adjust the margin of the QR code and handle text positioning when using the QRCodeGenerator in Syncfusion?](https://support.syncfusion.com/kb/article/18734/how-can-i-adjust-the-margin-of-the-qr-code-and-handle-text-positioning-when-using-the-qrcodegenerator-in-syncfusion)
* [How to export the QR code in a Blazor Server project to a desired location using a memory stream?](https://support.syncfusion.com/kb/article/17216/how-to-export-the-qr-code-in-a-blazor-server-project-to-a-desired-location-using-a-memory-stream)
\ No newline at end of file
diff --git a/blazor/diagram-classic/accessibility.md b/blazor/diagram-classic/accessibility.md
deleted file mode 100644
index c0c55ace38..0000000000
--- a/blazor/diagram-classic/accessibility.md
+++ /dev/null
@@ -1,66 +0,0 @@
----
-layout: post
-title: Accessibility in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Accessibility in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# Accessibility in Blazor Diagram Component
-
-Diagram provides built-in compliance with the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/) specifications. WAI-ARIA Accessibility supports are achieved through the attributes like `aria-label`. It helps to provides information about elements in a document for assistive technology.
-
-**Aria-label:** Attribute provides the text label with some default description for below elements in diagram.
-
-
-
-
-
Element
-
Default description
-
-
-
ResizeNorthWest
-
Thumb to resize the selected object on the top-left corner.
-
-
-
ResizeNorthEast
-
Thumb to resize the selected object on the top-right side direction.
-
-
-
ResizeSouthWest
-
Thumb to resize the selected object on the bottom-left side direction.
-
-
-
ResizeSouthEast
-
Thumb to resize the selected object on the bottom-right side direction.
-
-
-
ResizeNorth
-
Thumb to resize the selected object on the top side direction.
-
-
-
ResizeSouth
-
Thumb to resize the selected object on the bottom side direction.
-
-
-
ResizeWest
-
Thumb to resize the selected object on the left side direction.
-
-
-
ResizeEast
-
Thumb to resize the selected object on the right side direction.
-
-
-
ConnectorSourceThumb
-
Thumb to move the source point of the connector.
-
-
-
ConnectorTargetThumb
-
Thumb to move the target point of the connector.
-
-
-
RotateThumb
-
Thumb to rotate the selected object.
-
-
\ No newline at end of file
diff --git a/blazor/diagram-classic/annotations/appearance.md b/blazor/diagram-classic/annotations/appearance.md
deleted file mode 100644
index 1b6b5d0309..0000000000
--- a/blazor/diagram-classic/annotations/appearance.md
+++ /dev/null
@@ -1,669 +0,0 @@
----
-layout: post
-title: Appearance in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Appearance in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Appearance in Blazor Diagram Component
-
-## Customize the size for an annotation
-
-Diagram allows you to set size for annotations by using the Height and Width properties. The default value of the [Width](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_Width), and [Height](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_Height) properties are 0, and it takes the node or connector size as default.
-
-The following code example shows how the annotation size is customized.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle() { StrokeColor = "#6BA5D7" },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Content = "Annotation length will be varied",
- Width = 50,
- Height = 50
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-
-
-## Hyperlink
-
-Diagram provides support to add a [Hyperlink](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Hyperlink) to the nodes or connectors annotation. It can also be customized.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the annotation for the Node
- Annotations = new ObservableCollection()
- {
- // Add text as hyperlink.
- new DiagramNodeAnnotation()
- {
- Hyperlink = new NodeHyperlink(){ Link = "https://www.syncfusion.com"}
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-### Hyperlink with content
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the annotation for the Node
- Annotations = new ObservableCollection()
- {
- // Add text as hyperlink.
- new DiagramNodeAnnotation()
- {
- Hyperlink = new NodeHyperlink()
- { Content = "Syncfusion", Link = "https://www.syncfusion.com" }
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-## Wrapping
-
-When text overflows node boundaries, you can control it by using the [TextWrapping](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_TextWrapping) which wraps text into multiple lines. The wrapping property of the annotation defines how the text should be wrapped.
-
-The following code explains how to wrap a text in a node.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- //Sets the annotation for the node
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation Text Wrapping",
- Style = new AnnotationStyle(){ TextWrapping = TextWrap.Wrap}
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-| Value | Description | Image |
-| -------- | -------- | -------- |
-| No Wrap | Text will not be wrapped. |  |
-| Wrap | Text-wrapping occurs, when the text overflows beyond the available node width. |  |
-| WrapWithOverflow (Default) | Text-wrapping occurs, when the text overflows beyond the available node width. However, the text may overflow beyond the node width in the case of a very long word. |  |
-
-### Text overflow
-
-The [TextOverflow](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_TextOverflow) property specifies how the overflowed content that is not displayed should be signaled to the user. The TextOverflow can have the following values.
-
-* **Wrap**: Wraps the text to next line, when it exceeds its bounds.
-* **Ellipsis**: It truncates the overflown text and render an ellipsis ("...") to represent the clipped text.
-* **Clip**: The text is clipped and the overflow text will not be shown.
-
-The following code sample shows how the different types of overflow property working for the different types of text wrapping.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the style for the text to be displayed
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "The text element with property of overflow as Wrap and wrapping as NoWrap",
- Style = new AnnotationStyle()
- {
- TextOverflow = TextOverflow.Wrap,
- TextWrapping=TextWrap.NoWrap
- }
- },
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-| TextOverflow | Wrapping | Image |
-| -------- | -------- | -------- |
-| Wrap | No Wrap |  |
-| Wrap| Wrap |  |
-| Wrap | WrapWithOverflow |  |
-| Ellipsis | No Wrap |  |
-| Ellipsis| Wrap |  |
-| Ellipsis | WrapWithOverflow |  |
-| Clip | No Wrap |  |
-| Clip| Wrap |  |
-| Clip | WrapWithOverflow |  |
-
-N> All the customization over the overflow is also applicable to connector’s annotation.
-
-## Change the appearance of annotation
-
-You can change the font style of the annotations with the font specific properties (FontSize, FontFamily, Color). The following code explains how to customize the appearance of the annotation.
-
-* The label’s [Bold](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_Bold), [Italic](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_Italic), and [TextDecoration](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_TextDecoration) properties are used to style the label’s text.
-
-* The label’s [Fill](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_Fill), [StrokeColor](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_StrokeColor), and [StrokeWidth](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_StrokeWidth) properties are used to define the background color and border color of the annotation and the `Opacity` property is used to define the transparency of the annotations.
-
-* The [Visibility](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Visibility) property of the annotation enables or disables the visibility of annotation.
-
-The Fill, Border, and Opacity appearances of the text can also be customized with appearance specific properties of annotation. The following code explains how to customize Background, Opacity, and Border of the annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the annotation for the node
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation Text",
- Style = new AnnotationStyle()
- {
- Color="black",
- Bold = true,
- Italic = true,
- TextDecoration=TextDecoration.Underline,
- FontSize = 12,
- FontFamily = "TimesNewRoman"
- }
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-## Update the annotation style at runtime
-
-You can change the font style of the annotations with the font specific properties (FontSize, FontFamily, and Color). The following code explains how to update the appearance of the annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-
-@code
-{
- // Reference of the diagram
- SfDiagram Diagram;
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the annotation for the node
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation Text",
- Style = new AnnotationStyle()
- {
- Color = "black",
- Bold = true,
- Italic = true,
- TextDecoration = TextDecoration.Underline,
- FontSize = 12,
- FontFamily = "TimesNewRoman"
- }
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-
- public void UpdateStyle()
- {
- // Change the style of the annotation
- Diagram.BeginUpdate();
- Diagram.Nodes[0].Annotations[0].Style.Bold = false;
- Diagram.Nodes[0].Annotations[0].Style.TextDecoration = TextDecoration.None;
- Diagram.Nodes[0].Annotations[0].Style.Color = "Red";
- Diagram.EndUpdate();
- }
-}
-```
-
-## Change the editing mode
-
-Diagram provides support to edit an annotation at runtime, either programmatically or interactively. By default, the annotation is in view mode. But it can be brought to edit mode in two ways.
-
-* You can edit the annotation programmatically by using the [StartTextEdit](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_StartTextEdit_System_Object_System_String_) method.
-* Also, you can edit the annotation interactively.
-* By double-clicking the annotation.
-* By selecting the item and pressing the F2 key.
-
-Double-clicking any annotation will enable the editing and the node enables first annotation editing. When the focus of editor is lost, the annotation for the node is updated. When you double-click the node/connector/diagram model, the [DoubleClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramEvents.html#Syncfusion_Blazor_Diagrams_DiagramEvents_OnDoubleClick) event gets triggered.
-
-## Set annotation to read only
-
-Diagram allows to create read-only annotations. You have to set the read-only property of annotation to enable or disable the read-only [Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Constraints). The following code explains how to enable read-only mode.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- //Sets the constraints as Read only
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation Text",
- Constraints = AnnotationConstraints.ReadOnly
- }
- },
- Style = new NodeShapeStyle() { Fill = "#6BA5D7", StrokeColor = "white" },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-## Create multiple annotations
-
-You can add any number of annotations to a node or connector. The following code example shows how to add multiple annotations to a node. Different labels by position is same or different point of the shapes of connector depends upon the offset values specified.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- // Sets the multiple annotation for the node
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Left",Offset = new NodeAnnotationOffset(){ X = .12,Y = .1}
- },
- new DiagramNodeAnnotation()
- {
- Content = "Center",Offset = new NodeAnnotationOffset(){ X = .5,Y = .5}
- },
- new DiagramNodeAnnotation()
- {
- Content = "Right",Offset = new NodeAnnotationOffset(){ X = .82,Y = .9}
- }
- },
- };
- NodeCollection.Add(node1);
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation() { Content = "Offset as 0",Offset=0 },
- new DiagramConnectorAnnotation() { Content = "Offset as 0.5",Offset=0.5 },
- new DiagramConnectorAnnotation() { Content = "Offset as 1",Offset=1 },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-
-
-N>* Type of the annotation’s property of the node or connector was ObservableCollection.
- * Default value of the annotation will be null.
- * All the same customization can be applicable for the annotations.
- * Text Editing can be stated only the first annotation of the annotation collection when you double click the node or connector.
-
-## Constraints
-
-[AnnotationConstraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationConstraints.html) are used to enable or disable certain behaviors of the annotation. Constraints are provided as flagged enumerations, so that multiple behaviors can be enabled or disabled with bitwise operators.
-
-AnnotationConstraints may have multiple behaviors as follows:
-
-| Constraints | Usages |
-|---|---|
-| ReadOnly | Enables or disables whether the annotation to be read only or not. |
-| Select | Enables or disables whether the annotation to be selectable. |
-| Drag | Enables or disables whether the annotation to be dragged. |
-| Resize | Enables or disables an Annotation to be Resized. |
-| Rotate | Enables or disables whether the annotation to be Rotated. |
-| Interaction | Enables or disables select, drag, resize and rotate behaviors. |
-| None | Disables all behaviors of Annotation. |
-
-N>The default value is AnnotationConstraints.InheritReadOnly for constraints property of the annotation.
-
-Refer to [Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationConstraints.html) to learn about how to enable or disable the annotation constraints.
-
-## Annotation template
-
-Diagram provides the template support for annotation. You should define an SVG/HTML content to the diagram’s `AnnotationTemplate` property.
-
-The following code explains how to define a template in node’s annotation. similarly, you can define it in connectors.
-
-```cshtml
-
-
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
- @{
-
-
-
-
ID
-
Label1
-
-
-
Width
-
-
-
-
-
-
- }
-
-
-
-
-@code
-{
- //Defines diagram's nodes collection
- public ObservableCollection NodeCollection { get; set; }
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
- public Type model = typeof(Node);
-
- public class Node
- {
- public string Id { get; set; }
- public double Width { get; set; }
- }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- ConnectorCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- node.Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Id="label1", AnnotationType=AnnotationType.Template }
- };
- NodeCollection.Add(node);
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 220, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 310, Y = 150 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Id="label2",
- AnnotationType=AnnotationType.Template
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-
-
-N>* You need to specify the width value by default, if the annotation has template.
- * The AnnotationTemplate property accepts the template string.
-
-## See also
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to interact the annotation at runtime](./interaction)
-
-* [How to add annotation for Node](./node-annotation)
-
-* [How to add annotation for Connector](./connector-annotation)
diff --git a/blazor/diagram-classic/annotations/connector-annotation.md b/blazor/diagram-classic/annotations/connector-annotation.md
deleted file mode 100644
index b170c6c765..0000000000
--- a/blazor/diagram-classic/annotations/connector-annotation.md
+++ /dev/null
@@ -1,234 +0,0 @@
----
-layout: post
-title: Annotation for connector in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Annotation for connector in Syncfusion Blazor Diagram component and more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Annotation for Connector in Blazor Diagram Component
-
-Annotations of a connector can be positioned using the following properties of AnnotationEditorViewModel class.
-
-* Offset
-* Alignment
-* Displacement
-* SegmentAngle
-
-## Offset
-
-The [Offset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_Offset) property of annotation is used to align the annotations based on fractions. 0 represents Top-Left corner, 1 represents Bottom-Right corner, and 0.5 represents half of Width/Height.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation() { Content = "Offset as 0",Offset=0 },
- new DiagramConnectorAnnotation() { Content = "Offset as 0.5",Offset=0.5 },
- new DiagramConnectorAnnotation() { Content = "Offset as 1",Offset=1 },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following image shows the relationship between the annotation position and offset (fraction values).
-
-
-
-N> By default, offset value of the connector annotation is 0.5.
-
-## Alignment
-
-The connector’s annotation can be aligned over its segment path using the [Alignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_Alignment) property of annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Content = "Before",
- Alignment=AnnotationAlignment.Before
- },
- new DiagramConnectorAnnotation()
- {
- Content = "After",
- Alignment=AnnotationAlignment.After
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following screenshot shows how the annotation of the connector aligned over its path.
-
-
-
-N> By default, Alignment value of the connector annotation is `Center`.
-
-## Displacement
-
-The [Displacement](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_Displacement) property is used to dislocate the annotation by the value given. By default, annotation will be in center of the connector path. When you assign value to the Displacement property, annotation will be displaced from its position by displacement value.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
-
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Content = "After",
- Displacement=new ConnectorDisplacementPoint(){X=50,Y=50},
- Alignment=AnnotationAlignment.After
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following sample shows how the annotation of the displacement happens from its path.
-
-| Property| Value | Output |
-|---|---|---|
-| Displacement | (50,50) |  |
-| | (20,20) |  |
-| | (0,0) |  |
-
-N> By default, Offset value of the connector annotation is { 0.5, 0.5}.
-
-## Segment angle
-
-The [SegmentAngle](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnectorAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramConnectorAnnotation_SegmentAngle) property is used to rotate the annotation based on the connectors segment direction. By default, annotation will be in rotated in the connector path. When you assign value to the SegmentPath property, annotation will be rotated from its position based on the annotation direction.
-
-The following code example shows how the connector annotation rotated in its path direction.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Content = "Annotation",
- SegmentAngle=true,
- Offset=0.7
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-| Segment Angle | Output |
-|---|---|
-| True |  |
-| False |  |
-
-N> By default, the SegmentAngle will be disabled.
-
-## See also
-
-* [How to add annotation for Node](./node-annotation)
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to customize the annotation](./appearance)
-
-* [How to interact the annotation at runtime](./interaction)
diff --git a/blazor/diagram-classic/annotations/events.md b/blazor/diagram-classic/annotations/events.md
deleted file mode 100644
index 6db3a18b66..0000000000
--- a/blazor/diagram-classic/annotations/events.md
+++ /dev/null
@@ -1,185 +0,0 @@
----
-layout: post
-title: Events in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Events in the Blazor Diagram component of Syncfusion and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Events in Blazor Diagram Component
-
-## Text edit
-
-The TextEdit event will notify the annotation content changes after editing. The [IBlazorTextEditEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IBlazorTextEditEventArgs.html) interface is used to get event arguments.
-
-The following code example shows how to register and get the notification from the TextEdit event.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- //Defines diagram's nodes collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Triggered this event when complete the editing for Annotation and update the old text and new text values.
- private void TextEdited(IBlazorTextEditEventArgs args)
- {
- Console.WriteLine("Oldvalue", args.OldValue);
- Console.WriteLine("NewValue", args.NewValue);
- }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- node.Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Content = "Annotation" }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-## Double click
-
-The DoubleClick event will notify the annotation start editing. The [IDoubleClickEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IBlazorDoubleClickEventArgs.html) interface is used to get the position actually clicked and clicked object.
-
-The following code example shows how to register and get the notification from the [OnDoubleClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IBlazorDoubleClickEventArgs.html) event.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- //Defines diagram's nodes collection
- public ObservableCollection NodeCollection
- { get; set; }
-
- //Triggered this event when double click on the Annotation and update the position and source for clicked item.
- private void OnDoubleClick(IBlazorDoubleClickEventArgs args)
- {
- Console.WriteLine("Position", args.Position);
- Console.WriteLine("Source", args.Source);
- }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- node.Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Content = "Annotation" }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-## Key down
-
-The keydown event occurs when a keyboard key is pressed down and updated the respective keyboard key pressed.
-
-## Key up
-
-The keyup event occurs when a keyboard key is released and updated the respective keyboard key pressed.
-
-The following code example shows how to register and get the notification from the onkeydown and onkeyup events.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- //Defines diagram's nodes collection
- public ObservableCollection NodeCollection
- { get; set; }
-
- //Occurs when click the annotation and enter the character in key down state
- private void OnKeyDown(IKeyEventArgs args)
- {
-
- }
-
- //Occurs when click the annotation and enter the character in key release state
- private void OnKeyUp(IKeyEventArgs args)
- {
-
- }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- node.Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Content = "Annotation" }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-## See also
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to customize the annotation](./appearance)
-
-* [How to interact the annotation at runtime](./interaction)
-
-* [How to add annotation for Node](./node-annotation)
-
-* [How to add annotation for Connector](./connector-annotation)
diff --git a/blazor/diagram-classic/annotations/interaction.md b/blazor/diagram-classic/annotations/interaction.md
deleted file mode 100644
index 032a7551d8..0000000000
--- a/blazor/diagram-classic/annotations/interaction.md
+++ /dev/null
@@ -1,284 +0,0 @@
----
-layout: post
-title: Interaction in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Interaction in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Interaction in Blazor Diagram Component
-
-Basic interactions of selecting and resizing can be applied over an annotation. These interactions can be controlled by annotation and its parent node or connector. To learn about annotation constraints, refer to the [Annotation Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Constraints).
-
-## Selecting the annotation
-
-Selection of annotation can be enabled by using the [Constraints](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Constraints) property of `Annotation` and setting its value to `AnnotationConstraints.Select`.
-
-The following code snippet explains how the select constraints are enabled for annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation",
- Height=30,
- Width=70,
- Constraints=AnnotationConstraints.Select
- }
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-## Dragging the annotation
-
-The dragging process can be applied over an annotation and dragging can be controlled by the annotation and its parent node or connector. Dragging of annotation can be enabled by using the Constraints property of annotation and setting its value to `AnnotationConstraints.Drag`.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation",
- Height=30,
- Width=70,
- Constraints=AnnotationConstraints.Select|AnnotationConstraints.Drag
- }
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-## Resizing the annotation
-
-Resizing of the annotation can be enabled by using the Constraints property of `Annotation` and setting its value to `AnnotationConstraints.Resize`. The following code snippet explains how the Resize constraints are enabled for annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation",
- Height=30,
- Width=70,
- Constraints=AnnotationConstraints.Select|AnnotationConstraints.Resize
- }
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-## Rotate the annotation
-
-Resizing of the annotation can be enabled by using the Constraints property of `Annotation` and setting its value to `AnnotationConstraints.Resize`. The following code snippet explains how the Resize constraints are enabled for annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation",
- Height=30,
- Width=70,
- Constraints=AnnotationConstraints.Select|AnnotationConstraints.Rotate
- }
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-
-
-### How to restrict the dragging area
-
-The diagram control now supports defining the [DragLimit](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Charts.ChartSeries.html#Syncfusion_Blazor_Charts_ChartSeries_Fill) to the label when dragging from the connector and also update the position to the nearest segment offset. You can set the value to dragLimit left, right, top, and bottom properties that allows dragging of connector labels to a certain limit based on the user defined values.
-
-The following code explains how to set a dragLimit for connector annotations.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 100 },
- TargetPoint = new ConnectorTargetPoint() { X = 300, Y = 300 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- new DiagramConnectorAnnotation()
- {
- Content = "Annotation",
- Constraints=AnnotationConstraints.Select|AnnotationConstraints.Drag,
- DragLimit=new ConnectorAnnotationDragLimit(){ Left=10,Top=10,Right=10,Bottom=10}
- },
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-
-
-N>* By default, the drag limit will be disabled for the connector. It can be enabled by setting connector constraints to drag.
- * The drag limit is applicable only for the connector.
-
-## See also
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to customize the annotation](./appearance)
-
-* [How to add annotation for Node](./node-annotation)
-
-* [How to add annotation for Connector](./connector-annotation)
diff --git a/blazor/diagram-classic/annotations/labels.md b/blazor/diagram-classic/annotations/labels.md
deleted file mode 100644
index 80162760cb..0000000000
--- a/blazor/diagram-classic/annotations/labels.md
+++ /dev/null
@@ -1,287 +0,0 @@
----
-layout: post
-title: Actions of annotation in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Actions of annotation in Syncfusion Blazor Diagram component and more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Actions of annotation in Blazor Diagram Component
-
-The [Annotation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html) is a block of text that can be displayed over a node or connector and it is used to textually represent an object with a string that can be edited at run time. Multiple annotations can be added to a node or connector.
-
-
-
-## Create annotations
-
-An annotation can be added to a node or connector by defining the annotation object and adding that to the annotation collection of the node or connector. The [Content](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Content) property of annotation defines the text to be displayed. The following code explains how to create an annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- Annotations = new ObservableCollection()
- {
- // A annotation is created and stored in Annotations collection of Node.
- new DiagramNodeAnnotation() { Content = "Node" }
- }
- };
- NodeCollection.Add(node);
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- SourcePoint = new ConnectorSourcePoint() { X = 300, Y = 40 },
- TargetPoint = new ConnectorTargetPoint() { X = 400, Y = 160 },
- Type = Segments.Orthogonal,
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6BA5D7"
- },
- Annotations = new ObservableCollection()
- {
- //A annotation is created and stored in Annotations collection of Connector.
- new DiagramConnectorAnnotation() { Content = "Connector" }
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-
-
-
-N>* [Id](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Id) for each annotation should be unique and so it is further used to find the annotation at runtime and do any customization.
- * By default, node’s annotation positioned in center point of the shape.
- * By default, connector’s path annotation positioned center point of its path.
-
-## Add annotations at runtime
-
-Annotations can be added at runtime by using the [AddLabels](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_AddLabels_System_Object_System_Object_) method. The following code explains how to add an annotation to a node.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- // Reference to diagram
- SfDiagram diagram;
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node);
- }
-
- //Method to add labels at runtime
- public void AddLabel()
- {
- ObservableCollection annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() { Content = "Annotation" },
- };
- // AddLabels method is used to add annotations at run time
- diagram.AddLabels(diagram.Nodes[0], annotations);
- }
-}
-```
-
-Also, the annotations can be added at runtime by using the `Add` method.
-
-```csharp
-//Method to add labels at runtime
-public void AddLabel()
-{
- diagram.Nodes[0].Annotations = new ObservableCollection();
- DiagramNodeAnnotation annotation = new DiagramNodeAnnotation() { Content = "Annotation" };
- (diagram.Nodes[0].Annotations as ObservableCollection).Add(annotation);
-}
-```
-
-
-
-N> You cannot reset the annotation collection directly to add or update the annotation collection.
-
-## Remove annotations
-
-A collection of annotations can be removed from the node by using the [RemoveLabels](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_RemoveLabels_System_Object_System_Object_) method. The following code explains how to remove an annotation to a node.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- node.Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Id="label", Content = "Annotation" },
- };
- NodeCollection.Add(node);
- }
-
- //Method to remove labels at runtime
- public void RemoveLabel()
- {
- ObservableCollection annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() {Id="label", Content = "Annotation" }
- };
- // RemoveLabels method is used to remove label at run time.
- diagram.RemoveLabels(diagram.Nodes[0], annotations);
- }
-}
-```
-
-Also, A collection of annotations can be removed from the node by using the `Remove` and `RemoveAt` method.
-
-```csharp
-//Method to remove labels at runtime using RemoveAt method.
-public void RemoveLabel()
-{
- (diagram.Nodes[0].Annotations as ObservableCollection).RemoveAt(0);
-}
-
-//Method to remove labels at runtime using Remove method.
-public void RemoveLabel()
-{
- DiagramNodeAnnotation annotation = diagram.Nodes[0].Annotations[0] as DiagramNodeAnnotation;
- (diagram.Nodes[0].Annotations as ObservableCollection).Remove(annotation);
-}
-```
-
-N>* You can delete multiple annotations from node to pass the collection of annotation objects as argument.
- * Both the AddLabels and RemoveLabels API’s are applicable to nodes and connectors.
- * The `Add`, `Remove`, and `RemoveAt` methods are applicable for connectors too.
-
-## Update annotations at runtime
-
-You can get the annotation directly from the node’s annotations collection property and you can change any annotation properties at runtime.
-
-The following code sample shows how the annotation of the node changed at runtime.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() { Content = "Node" }
- },
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node);
- }
-
- public void UpdateLabel()
- {
- diagram.Nodes[0].Annotations[0].Content = "Updated Annotation";
- }
-}
-```
-
-## See also
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to customize the annotation](./appearance)
-
-* [How to interact the annotation at runtime](./interaction)
-
-* [How to localize the annotation Text](../../common/localization)
-
-* [Accessibility](../accessibility)
diff --git a/blazor/diagram-classic/annotations/node-annotation.md b/blazor/diagram-classic/annotations/node-annotation.md
deleted file mode 100644
index d4e5dcc3c2..0000000000
--- a/blazor/diagram-classic/annotations/node-annotation.md
+++ /dev/null
@@ -1,252 +0,0 @@
----
-layout: post
-title: Annotation for node in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Annotation for node in Syncfusion Blazor Diagram component and more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Annotation for node in Blazor Diagram Component
-
-Diagram allows you to customize the position and appearance of the annotation efficiently. Annotation can be aligned relative to the node boundaries. It has Margin, Offset, Horizontal, and Vertical alignment settings. It is quite tricky when all four alignments are used together but gives more control over alignments properties of the [DiagramNodeAnnotation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html) class. Annotations of a node can be positioned using the following properties of [DiagramNodeAnnotation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html).
-
-* [Offset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Offset)
-* [HorizontalAlignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_HorizontalAlignment)
-* [VerticalAlignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_VerticalAlignment)
-* [Margin](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Margin)
-
-## Offset
-
-The [Offset](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Offset) property of an annotation is used to align the annotations based on fractions. 0 represents top/left corner, 1 represents bottom/right corner, and 0.5 represents half of width/height.
-
-The following code shows the relationship between the shape annotation position and path annotation offset (fraction values).
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- Width = 100,
- Height = 100,
- OffsetX = 100,
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Offset(0,0)",
- Offset = new NodeAnnotationOffset() { X = 0, Y = 0 }
- }
- },
- OffsetY = 100,
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-| Offset values | Output |
-|---|---|
-| (0,0) |  |
-| (0,0.5) |  |
-| (0,1) |  |
-| (0.5,0) |  |
-| (0.5,0.5) |  |
-| (0.5,1) |  |
-| (1,0) |  |
-| (1,0.5) |  |
-| (1,1) |  |
-
-N>* Type of the offset property for node’s shape annotation is NodeAnnotationOffset.
- * Type of the offset property for connector’s path annotation is double.
-
-## Horizontal and vertical alignment
-
-* The [HorizontalAlignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_HorizontalAlignment) property of annotation is used to set how the annotation is horizontally aligned at the annotation position determined from the fraction values.
-* The [VerticalAlignment](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_VerticalAlignment) property is used to set how the annotation is vertically aligned at the annotation position.
-
-The following table shows all the possible alignments visually with 'offset (0, 0)'.
-
-| Horizontal Alignment | Vertical Alignment | Output with Offset(0,0) |
-| -------- | -------- | -------- |
-| Left | Top |  |
-| Center | Top |  |
-| Right | Top |  |
-| Left | Center |  |
-| Center | Center|  |
-| Right | Center |  |
-| Left | Bottom |  |
-| Center | Bottom |  |
-| Right |Bottom | |
-
-The following code explains how to align annotations.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 250,
- OffsetY = 250,
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Annotation",
- HorizontalAlignment = HorizontalAlignment.Left,
- VerticalAlignment = VerticalAlignment.Center
- }
- },
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-N>* The value of the `HorizontalAlignment` is `Center` by default.
- * The value of the `VerticalAlignment` is `Center` by default.
- * Alignment positioned based on the offset value.
-
-## Margin
-
-[Margin](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNodeAnnotation.html#Syncfusion_Blazor_Diagrams_DiagramNodeAnnotation_Margin) is an absolute value used to add some blank space to any one of its four sides. The annotations can be displaced with the margin property. The following code example explains how to align an annotation based on its Offset, HorizontalAlignment, VerticalAlignment, and Margin values.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the margin for the content
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Task1",
- Margin = new NodeAnnotationMargin(){ Top = 10},
- HorizontalAlignment = HorizontalAlignment.Center,
- VerticalAlignment = VerticalAlignment.Top,
- Offset = new NodeAnnotationOffset(){ X = .5 ,Y = 1}
- }
- },
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-## Text align
-
-The [TextAlign](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AnnotationStyle.html#Syncfusion_Blazor_Diagrams_AnnotationStyle_TextAlign) property of annotation allows you to set how the text should be aligned (Left, Right, Center, or Justify) inside the text block. The following code explains how to set TextAlign for an annotation.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "node1",
- Width = 100,
- Height = 100,
- OffsetX = 100,
- OffsetY = 100,
- // Sets the textAlign as left for the content
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Content = "Text align is set as Left",
- Style = new AnnotationStyle(){ TextAlign = TextAlign.Left}
- }
- },
- Style = new NodeShapeStyle()
- {
- Fill = "#6BA5D7",
- StrokeColor = "white"
- },
- };
- NodeCollection.Add(node1);
- }
-}
-```
-
-## See also
-
-* [How to add annotation for Connector](./connector-annotation)
-
-* [How to add or remove annotation constraints](../constraints/#annotation-constraints)
-
-* [How to customize the annotation](./appearance)
-
-* [How to interact the annotation at runtime](./interaction)
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-activity.md b/blazor/diagram-classic/bpmn-shapes/bpmn-activity.md
deleted file mode 100644
index 2e78970006..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-activity.md
+++ /dev/null
@@ -1,734 +0,0 @@
----
-layout: post
-title: BPMN Activity in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Activity in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Activity in Blazor Diagram Component
-
-The [Activity](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnActivity.html) is the task that is performed in a business process. It is represented by a rounded rectangle. There are two types of activities. They are listed as follows:
-
-* Task: Occurs within a process and it is not broken down to a finer level of detail.
-* Subprocess: Occurs within a process and it is broken down to a finer level of detail.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //sets the type of shape to Bpmn and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets the activity type to task
- Activity = new DiagramBpmnActivity() { Activity = BpmnActivities.Task },
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-## BPMN activity task
-
-The [Task](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnTask.html) property of the node allows you to define the type of task such as sending, receiving, user-based task, etc. By default, the `Type` property of task is set to **None**. The following code explains how to create different types of BPMN tasks.
-
-The events property of tasks allows you to represent these results as an event attached to the task.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets the type to bpmn and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets activity to Task
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.Task,
- //Sets the type of the task to Send
- Task = new DiagramBpmnTask() { Type = BpmnTasks.Send }
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The various types of BPMN tasks are tabulated as follows.
-
-| Shape | Image |
-| -------- | -------- |
-| Service |  |
-| Send |  |
-| Receive |  |
-| Instantiating Receive |  |
-| Manual | |
-| Business Rule |  |
-| User |  |
-| Script |  |
-
-## BPMN activity sub process
-
-A [Sub-process](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html) is a group of tasks that is used to hide or reveal details of additional levels using the `Collapsed` property.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique id of the node
- Id = "node1",
- Shape = new DiagramShape()
- {
- //Sets type to Bpmn and shape to Activity
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- Activity = new DiagramBpmnActivity()
- {
- //Sets activity to subprocess
- Activity = BpmnActivities.SubProcess,
- // Set collapsed of subprocess to true
- SubProcess = new DiagramBpmnSubProcess() { Collapsed = true }
- },
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The different types of subprocess are as follows:
-* Event subprocess
-* Transaction
-
-### Event sub process
-
-A [SubProcess](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html) is defined as an event SubProcess when it is triggered by an event. An event SubProcess is placed within another subprocess that part of the normal flow of its parent process is not. You can set event to a subprocess with the `Event` and `Trigger` properties of the subprocess. The `Type` property of subprocess allows you to define the type of subprocess whether it should be event subprocess or transaction subprocess.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- // Position of the node
- OffsetX = 100,
- OffsetY = 100,
- // Size of the node
- Width = 100,
- Height = 100,
- // Unique id of the node
- Id = "node1",
- // Sets the type to Bpmn and shape to Activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets activity to SubProcess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //Sets the collapsed to true and type to Event
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Type = BpmnSubProcessTypes.Event,
- //Sets event to Start and trigger to Message
- Events = new ObservableCollection()
- {
- new DiagramBpmnSubEvent()
- {
- Event = BpmnEvents.Start, Trigger = BpmnTriggers.Message
- }
- }
- }
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-### Transaction sub process
-
-The [Transaction](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Transaction) is a set of activities that logically belong together that all contained activities must complete their parts of the transaction, otherwise the process is fail.
-
-The execution result of a transaction is one of
-* Successful Completion
-* Unsuccessful Completion (Cancel)
-* Hazard (Exception)
-
-The `Events` property of subprocess allows you to represent these results as an event attached to the subprocess.
-
-* The event object allows you to define the type of event by which the subprocess will be triggered. The name of the event can be defined to identify the event at runtime.
-
-* The event’s offset property is used to set the fraction or ratio (relative to parent) that defines the position of the event shape.
-
-* The trigger property defines the type of the event trigger.
-
-* You can also use define ports and labels to subprocess events by using the event’s ports and labels properties.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- // Position of the node
- OffsetX = 100,
- OffsetY = 100,
- // Size of the node
- Width = 100,
- Height = 100,
- // Unique id of the node
- Id = "node1",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets the activity to subprocess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //Sets collapsed to true and type to Transaction
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Type = BpmnSubProcessTypes.Transaction,
- //Sets offset and visible for cancel and offset for failure
- Transaction = new DiagramBpmnTransactionSubProcess()
- {
- Cancel = new CancelSubEvent()
- {
- Visible = true,
- Offset = new BpmnSubEventOffset() { X = 0.25, Y = 1 }
- },
- Failure = new FailureSubEvent()
- {
- Offset = new BpmnSubEventOffset() { X = 0.75, Y = 1 }
- }
- }
- },
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-### Process
-
-[Processes](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Processes) is an array collection that defines the children values for BPMN subprocess.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- Id = "Start",
- Width = 50,
- Height = 50,
- Margin = new NodeMargin() { Left = 10, Top = 50 },
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Event,
- Event = new DiagramBpmnEvent() { Event = BpmnEvents.Start }
- }
- };
- DiagramNode node2 = new DiagramNode()
- {
- Id = "End",
- Width = 50,
- Height = 50,
- Margin = new NodeMargin() { Left = 200, Top = 50 },
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Event,
- Event = new DiagramBpmnEvent() { Event = BpmnEvents.End }
- }
- };
- DiagramNode node3 = new DiagramNode()
- {
- Id = "Node1",
- Width = 50,
- Height = 50,
- Margin = new NodeMargin() { Left = 100, Top = 200 },
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = false
- }
- }
- },
- Constraints = NodeConstraints.Default | NodeConstraints.AllowDrop
- };
- DiagramNode node4 = new DiagramNode()
- {
- Id = "ActivityProcessNode",
- Width = 300,
- Height = 300,
- MaxHeight = 400,
- MaxWidth = 400,
- MinWidth = 200,
- MinHeight = 200,
- OffsetX = 200,
- OffsetY = 200,
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = false,
- Type = BpmnSubProcessTypes.Event,
- Processes = new string[] { "Start", "End", "Node1" }
- }
- }
- },
- Constraints = NodeConstraints.Default | NodeConstraints.AllowDrop
- };
- NodeCollection.Add(node1);
- NodeCollection.Add(node2);
- NodeCollection.Add(node3);
- NodeCollection.Add(node4);
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector1 = new DiagramConnector()
- {
- Id = "Connector1",
- SourceID = "Start",
- TargetID = "Node1"
- };
- DiagramConnector connector2 = new DiagramConnector()
- {
- Id = "Connector2",
- SourceID = "Node1",
- TargetID = "End"
- };
- ConnectorCollection.Add(connector1);
- ConnectorCollection.Add(connector2);
- }
-}
-```
-
-### Loop
-
-[Loop](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Loop) is a task that is internally being looped. The loop property of task allows you to define the type of loop. The default value for [Loop](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Loop) is **None**.
-
-You can define the loop property in subprocess BPMN shape as shown in the following code.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique id of the node
- Id = "node1",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Set the activity to subprocess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //Sets collapsed to true and loop to standard
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Loop = BpmnLoops.Standard,
- },
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The following table contains various types of BPMN loops.
-
-| Loops | Task | Subprocess |
-| -------- | -------- | --------|
-| Standard |  |  |
-| SequenceMultiInstance |  | |
-| ParallelMultiInstance |  |  |
-
-### Compensation
-
-[Compensation](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Compensation) is triggered when the operation is partially failed and enabled it with the compensation property of the task and the subprocess.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node1 = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique id of the node
- Id = "node1",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Set the activity to task
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.Task,
- //set compensation to true
- Task = new DiagramBpmnTask()
- {
- Compensation = true,
- },
- }
- }
- };
- DiagramNode node2 = new DiagramNode()
- {
- //Position of the node
- OffsetX = 300,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique id of the node
- Id = "node2",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Set the activity to SubProcess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //Sets collapsed and compensation to true
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Compensation = true,
- },
- }
- }
- };
- NodeCollection.Add(node1);
- NodeCollection.Add(node2);
- }
-}
-```
-
-### Call
-
-A [Call](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnTask.html#Syncfusion_Blazor_Diagrams_DiagramBpmnTask_Call) activity is a global subprocess that is reused at various points of the business flow and set it with the call property of the task.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique id of the node
- Id = "node1",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //sets the activity to task
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.Task,
- //Sets call to true
- Task = new DiagramBpmnTask()
- {
- Call = true,
- },
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-### Ad-Hoc
-
-An ad-hoc subprocess is a group of tasks that are executed in any order or skipped in order to fulfill the end condition and set it with the [Ad-hoc](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Adhoc) property of subprocess.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //unique id of the node
- Id = "node1",
- //Defines the type to BPMN and shape to activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets the activity to subprocess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //sets collapsed and ad hoc to true
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Adhoc = true
- },
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-### Boundary
-
-Boundary represents the type of task that is being processed. The [Boundary](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnSubProcess.html#Syncfusion_Blazor_Diagrams_DiagramBpmnSubProcess_Boundary) property of subprocess allows you to define the type of boundary. By default, it is set to **Default**.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code
-{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets type to Bpmn and shape to Activity
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Activity,
- //Sets activity to SubProcess
- Activity = new DiagramBpmnActivity()
- {
- Activity = BpmnActivities.SubProcess,
- //Sets collapsed to true and boundary to Call
- SubProcess = new DiagramBpmnSubProcess()
- {
- Collapsed = true,
- Boundary = BpmnBoundary.Call
- },
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The following table contains various types of BPMN boundaries.
-
-| Boundary | Image |
-| -------- | -------- |
-| Call |  |
-| Event |  |
-| Default |  |
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-connectors.md b/blazor/diagram-classic/bpmn-shapes/bpmn-connectors.md
deleted file mode 100644
index e64e6e5d0e..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-connectors.md
+++ /dev/null
@@ -1,182 +0,0 @@
----
-layout: post
-title: BPMN Connectors in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Connectors in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Connectors in Blazor Diagram Component
-
-The `BPMN Connectors` are lines that connect BPMN flow objects.
-
-They are classified as follows.
-* Association
-* Sequence
-* Message
-
-## Association
-
-The [BPMN Association](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.BpmnAssociationFlows.html) flow is used to link flow objects with its corresponding text or artifact. An association is represented as a dotted graphical line with an opened arrow. The types of association are as follows:
-
-* Directional
-* BiDirectional
-* Default
-
-The association property allows you to define the type of association. The following code example explains how to create an association.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- //Unique Id of the connector
- Id = "connector1",
- // Start and end point of the connector
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 200 },
- TargetPoint = new ConnectorTargetPoint() { X = 300, Y = 200 },
- //Sets the type to Bpmn, flow to Association and association to bidirectional
- Shape = new DiagramConnectorShape()
- {
- Type = ConnectionShapes.Bpmn,
- BpmnFlow = BpmnFlows.Association,
- Association = BpmnAssociationFlows.BiDirectional
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following table shows the visual representation of association flows.
-
-| Association | Image |
-| -------- | -------- |
-| Default |  |
-| Directional |  |
-| BiDirectional |  |
-
-N> The default value for the property `Association` is **Default**.
-
-## Sequence
-
-A [Sequence](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.BpmnSequenceFlows.html) flow shows the order that the activities are performed in a BPMN process and is represented by a solid graphical line. The types of sequence are as follows:
-
-* Normal
-* Conditional
-* Default
-
-The sequence property allows you to define the type of sequence. The following code example explains how to create a sequence flow.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- //Unique Id of the connector
- Id = "connector1",
- // Start and end point of the connector
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 200 },
- TargetPoint = new ConnectorTargetPoint() { X = 300, Y = 200 },
- //Sets type to Bpmn, flow to Sequence, and sequence to Conditional
- Shape = new DiagramConnectorShape()
- {
- Type = ConnectionShapes.Bpmn,
- BpmnFlow = BpmnFlows.Sequence,
- Sequence = BpmnSequenceFlows.Conditional
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following table contains various representation of sequence flows.
-
-| Sequence | Image |
-| -------- | -------- |
-| Default |  |
-| Conditional |  |
-| Normal |  |
-
-N> The default value for the property `Sequence` is **Normal**.
-
-## Message
-
-A [Message](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.BpmnMessageFlows.html) flow shows the flow of messages between two participants and is represented by dashed line. The types of message are as follows:
-
-* InitiatingMessage
-* NonInitiatingMessage
-* Default
-
-The message property allows you to define the type of message. The following code example explains how to define a message flow.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection { get; set; }
-
- protected override void OnInitialized()
- {
- ConnectorCollection = new ObservableCollection();
- DiagramConnector connector = new DiagramConnector()
- {
- //Unique Id of the connector
- Id = "connector1",
- // Start and end point of the connector
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 200 },
- TargetPoint = new ConnectorTargetPoint() { X = 300, Y = 200 },
- //Sets type to Bpmn, flow to Message, and message to InitiatingMessage
- Shape = new DiagramConnectorShape()
- {
- Type = ConnectionShapes.Bpmn,
- BpmnFlow = BpmnFlows.Message,
- Message = BpmnMessageFlows.InitiatingMessage
- }
- };
- ConnectorCollection.Add(connector);
- }
-}
-```
-
-The following table contains various representation of message flows.
-
-| Message | Image |
-| -------- | -------- |
-| Default |  |
-| InitiatingMessage |  |
-| NonInitiatingMessage |  |
-
-N> The default value for the property `Message` is **Default**.
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-data-object.md b/blazor/diagram-classic/bpmn-shapes/bpmn-data-object.md
deleted file mode 100644
index e4dcf74845..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-data-object.md
+++ /dev/null
@@ -1,63 +0,0 @@
----
-layout: post
-title: BPMN Data object in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Data object in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Data Object in Blazor Diagram Component
-
-A data object represents information flowing through the process, such as data placed into the process, data resulting from the process, data that needs to be collected, or data that must be stored. To define a [DataObject](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramShape.html#Syncfusion_Blazor_Diagrams_DiagramShape_DataObject), set the shape to **DataObject** and the type property defines whether data is an input or output. You can create multiple instances of data object with the collection property of data.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize the Diagram*@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets type to Bpmn and shape to DataObject
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.DataObject,
- //Sets collection to true when Dataobject is not a Single instance
- DataObject = new DiagramBpmnDataObject()
- {
- Collection = true,
- Type = BpmnDataObjects.Input
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The following table contains various representation of the BPMN data object.
-
-| Boundary | Image |
-| -------- | -------- |
-| Collection Data Object |  |
-| Data Input |  |
-| Data Output |  |
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-data-source.md b/blazor/diagram-classic/bpmn-shapes/bpmn-data-source.md
deleted file mode 100644
index 40d6aa4f68..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-data-source.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-layout: post
-title: BPMN Datasource in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Datasource in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Datasource in Blazor Diagram Component
-
-Datasource is used to store or access data associated with a business process. To create a datasource, set the shape to **DataSource**. The following code example explains how to create a datasource.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets type to Bpmn and shape to DataSource
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.DataSource,
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-event.md b/blazor/diagram-classic/bpmn-shapes/bpmn-event.md
deleted file mode 100644
index d3a31315ef..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-event.md
+++ /dev/null
@@ -1,122 +0,0 @@
----
-layout: post
-title: BPMN Event in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Event in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Event in Blazor Diagram Component
-
-An [Event](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnEvent.html#Syncfusion_Blazor_Diagrams_DiagramBpmnEvent_Event) is a common BPMN process model element that represents something that happens during a business process and is notated with a circle. The type of events are as follows:
-
-* Start - indicates the beginning of the process and every business process start with an event.
-* Intermediate - indicates the middle of the process.
-* End - indicates the beginning of the process and every business process end with an event.
-
-The event property of the node allows you to define the type of the event. The default value of the event is **start**. The following code example explains how to create a BPMN event.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- Shape = new DiagramShape()
- {
- //Sets type to Bpmn and shape to Event
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Event,
- // Set the event type to End
- Event = new DiagramBpmnEvent() { Event = BpmnEvents.End }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-## BPMN event trigger
-
-Event triggers are notated as icons inside the circle and they represent the specific details of the process. The Trigger property of the node allows you to set the type of trigger and by default, it is set to None. The following code example explains how to create a BPMN trigger.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- Shape = new DiagramShape()
- {
- //Sets type to Bpmn and shape to Event
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Event,
- // Set the event type to NonInterruptingIntermediate and set the trigger as message
- Event = new DiagramBpmnEvent()
- {
- Event = BpmnEvents.NonInterruptingIntermediate,
- Trigger = BpmnTriggers.Message
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-The following table illustrates the type of event triggers.
-
-| Triggers | Start | Non-Interrupting Start | Intermediate | Non-Interrupting Intermediate | Throwing Intermediate | End |
-| -------- | -------- | -------- | -------- | -------- | -------- | -------- |
-| None |  |  |  |  | |  |
-| Message |  |  |  |  | |  |
-| Timer |  |  | | | | |
-| Conditional |  |  |  | | | |
-| Link | | | | |  | |
-| Signal |  |  |  |  |  |  |
-| Error |  | |  | | | |
-| Escalation |  |  |  | |  | |
-| Termination | | | | | | |
-| Compensation | | |  | |  | |
-| Cancel | | |  | | |  |
-| Multiple |  |  |  |  |  |  |
-| Parallel |  |  |  |  | | |
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-gateway.md b/blazor/diagram-classic/bpmn-shapes/bpmn-gateway.md
deleted file mode 100644
index 991a7ccb54..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-gateway.md
+++ /dev/null
@@ -1,69 +0,0 @@
----
-layout: post
-title: BPMN Gateway in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Gateway in Syncfusion Blazor Diagram component and much more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Gateway in Blazor Diagram Component
-
-Gateway is used to control the flow of a process and it is represented as a diamond shape. To create a gateway, the shape property of the node should be set to “Gateway” and the [Gateway](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramBpmnGateway.html) property can be set with any of the appropriate gateways. The following code example explains how to create a BPMN Gateway.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- Shape = new DiagramShape()
- {
- //Sets type to Bpmn and shape to Gateway
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Gateway,
- //Sets type of the gateway to None
- Gateway = new DiagramBpmnGateway()
- {
- Type = BpmnGateways.None
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-N> By default, the `Gateway` will be set to **None**.
-
-There are several types of gateways as follows:
-
-| Shape | Image |
-| -------- | -------- |
-| None |  |
-| Exclusive |  |
-| Parallel |  |
-| Inclusive |  |
-| Complex |  |
-| EventBased |  |
-| ExclusiveEventBased |  |
-| ParallelEventBased |  |
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-group.md b/blazor/diagram-classic/bpmn-shapes/bpmn-group.md
deleted file mode 100644
index 06c843cf36..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-group.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-layout: post
-title: BPMN Group in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Group in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Group in Blazor Diagram Component
-
-A group is used to frame a part of the diagram, shows that elements included in it are logically belong together and does not have any other semantics other than organizing elements. To create a group, the shape property of the node should be set to **group**. The following code example explains how to create a BPMN group.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets type to Bpmn and shape to Group
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.Group,
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-shapes.md b/blazor/diagram-classic/bpmn-shapes/bpmn-shapes.md
deleted file mode 100644
index 2455097e96..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-shapes.md
+++ /dev/null
@@ -1,64 +0,0 @@
----
-layout: post
-title: BPMN Shapes in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Shapes in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Shapes in Blazor Diagram Component
-
-BPMN(Business Process Model and Notation) shapes are used to represent the internal business procedure in a graphical notation and enable you to communicate the procedures in a standard manner. To create a BPMN shape, in the node property shape, type should be set to “Bpmn” and its shape should be set as any one of the built-in shapes.
-
-The following code example explains how to create a simple business process.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- // Position of the node
- OffsetX = 100,
- OffsetY = 100,
- // Size of the node
- Width = 100,
- Height = 100,
- // Unique Id of the node
- Id = "node1",
- Shape = new DiagramShape()
- {
- //Sets type to Bpmn
- Type = Shapes.Bpmn
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-N> The default value for the property [Shape](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramNode.html#Syncfusion_Blazor_Diagrams_DiagramNode_Shape) is “event”.
-
-The list of BPMN shapes are as follows:
-
-| Shape | Image |
-| -------- | -------- |
-| Event |  |
-| Gateway |  |
-| Task |  |
-| Message |  |
-| DataSource |  |
-| DataObject |  |
-| Group |  |
\ No newline at end of file
diff --git a/blazor/diagram-classic/bpmn-shapes/bpmn-text-annotation.md b/blazor/diagram-classic/bpmn-shapes/bpmn-text-annotation.md
deleted file mode 100644
index dba3617c8c..0000000000
--- a/blazor/diagram-classic/bpmn-shapes/bpmn-text-annotation.md
+++ /dev/null
@@ -1,79 +0,0 @@
----
-layout: post
-title: BPMN Text Annotation in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about BPMN Text Annotation in Syncfusion Blazor Diagram component and more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-# BPMN Text Annotation in Blazor Diagram Component
-
-* A BPMN object can be associated with a text annotation that does not affect the flow but gives details about objects within a flow. The annotation property of the node is used to connect an annotation element to the BPMN node.
-
-* The annotation element can be switched from a BPMN node to another BPMN node simply by dragging the source end of the annotation connector into the other BPMN node.
-
-* The annotation angle property is used to set the angle between the BPMN shape and the annotation.
-
-* The annotation direction property is used to set the direction of the text annotation.
-
-* To set the size for text annotation, use width and height properties.
-
-* The annotation length property is used to set the distance between the BPMN shape and the annotation.
-
-* The annotation text property defines the additional information about the flow object in a BPMN process.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initialize Diagram *@
-
-
-
-@code{
- //Defines diagram's node collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- NodeCollection = new ObservableCollection();
- DiagramNode node = new DiagramNode()
- {
- //Position of the node
- OffsetX = 100,
- OffsetY = 100,
- //Size of the node
- Width = 100,
- Height = 100,
- //Unique Id of the node
- Id = "node1",
- //Sets type as Bpmn and shape as DataObject
- Shape = new DiagramShape()
- {
- Type = Shapes.Bpmn,
- BpmnShape = BpmnShapes.DataObject,
- //Sets collection as true when Dataobject is not a Single instance
- DataObject = new DiagramBpmnDataObject()
- {
- Collection = true,
- Type = BpmnDataObjects.Input
- }
- },
- //Sets the id, angle, and text for the annotation
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation()
- {
- Id="Left",
- RotateAngle=45,
- Content="Left"
- }
- }
- };
- NodeCollection.Add(node);
- }
-}
-```
-
-
\ No newline at end of file
diff --git a/blazor/diagram-classic/commands.md b/blazor/diagram-classic/commands.md
deleted file mode 100644
index 8ada66d39c..0000000000
--- a/blazor/diagram-classic/commands.md
+++ /dev/null
@@ -1,678 +0,0 @@
----
-layout: post
-title: Commands in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Commands in Syncfusion Blazor Diagram component and much more details.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Commands in Blazor Diagram Component
-
-
-
-There are several commands available in the diagram as follows.
-
-* Alignment commands
-* Distribute commands
-* Sizing commands
-* Clipboard commands
-* Grouping commands
-* Z-order commands
-* Zoom commands
-* Nudge commands
-* FitToPage commands
-* Undo/Redo commands
-
-## Alignment commands
-
-Alignment commands enable you to align the selected or defined objects such as nodes and connectors with respect to the selection boundary. Refer to `Align` commands which shows how to use align methods in the diagram.
-
-
-| Parameters | Description |
-|:------------| :------ |
-|[Alignment Options](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AlignmentOptions.html) | Defines the specific direction, with respect to which the objects to be aligned. The accepted values of the argument "alignment options" are as follows. Left - Aligns all the selected objects at the left of the selection boundary. Right - Aligns all the selected objects at the right of the selection boundary. Center - Aligns all the selected objects at the center of the selection boundary. Top - Aligns all the selected objects at the top of the selection boundary. Bottom - Aligns all the selected objects at the bottom of the selection boundary. Middle - Aligns all the selected objects at the middle of the selection boundary.|
-| Objects | Defines the objects to be aligned. This is an optional parameter. By default, all the nodes and connectors in the selected region of the diagram gets aligned. |
-[Alignment Mode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.AlignmentMode.html) | Defines the specific mode, with respect to which the objects to be aligned. This is an optional parameter. The default alignment mode is `Object`. The accepted values of the argument "alignment mode" are as follows. Object - Aligns the objects based on the first object in the selected list. Selector - Aligns the objects based on the selection boundary. |
-
-
-The following code example illustrates how to align all the selected objects at the left side of the selection boundary.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void Align()
- {
- //Aligns the selected items to left
- diagram.Align(AlignmentOptions.Left, null, AlignmentMode.Selector);
- }
-}
-```
-
-## Distribute
-
-The [Distribute](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Distribute_Syncfusion_Blazor_Diagrams_DistributeOptions_System_Object_) commands enable to place the selected objects on the page at equal intervals from each other. The selected objects are equally spaced within the selection boundary.
-
-The factor to distribute the shapes `DistributeOptions` are listed as follows:
-
-* RightToLeft: Distributes the objects based on the distance between the right and left sides of the adjacent objects.
-* Left: Distributes the objects based on the distance between the left sides of the adjacent objects.
-* Right: Distributes the objects based on the distance between the right sides of the adjacent objects.
-* Center: Distributes the objects based on the distance between the center of the adjacent objects.
-* BottomToTop: Distributes the objects based on the distance between the bottom and top sides of the adjacent objects.
-* Top: Distributes the objects based on the distance between the top sides of the adjacent objects.
-* Bottom: Distributes the objects based on the distance between the bottom sides of the adjacent objects.
-* Middle: Distributes the objects based on the distance between the vertical center of the adjacent objects.
-
-The following code example illustrates how to execute the space commands.
-
-```cshtml
-
-@using Syncfusion.Blazor.Diagrams
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void Distribute()
- {
- //Distribute the elements in equal spacing
- diagram.Distribute(DistributeOptions.RightToLeft);
- }
-}
-```
-
-## Sizing Commands
-
-Sizing [SameSize](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_SameSize_Syncfusion_Blazor_Diagrams_SizingOptions_System_Object_) commands enable to equally size the selected nodes with respect to the first selected object.
-
-`SizingOptions` are as follows:
-
-* Width: Scales the width of the selected objects.
-* Height: Scales the height of the selected objects.
-* Size: Scales the selected objects both vertically and horizontally.
-
-The following code example illustrates how to execute the size commands.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void SameSize()
- {
- //Changing the selected nodes to same size
- SizingOptions sizingOptions = SizingOptions.Size;
- diagram.SameSize(sizingOptions);
- }
-}
-```
-
-## Clipboard
-
-Clipboard commands are used to cut, copy, or paste the selected elements. Refer to the following link which shows how to use clipboard methods in the diagram.
-
-* Cuts the selected elements from the diagram to the diagram’s clipboard, [Cut](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Cut).
-
-* Copies the selected elements from the diagram to the diagram’s clipboard, [Copy](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Copy).
-
-* Pastes the diagram’s clipboard data (nodes/connectors) into the diagram, [Paste](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Paste_System_Object_).
-
-The following code illustrates how to execute the clipboard commands.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void Cut()
- {
- //copies the selected nodes
- this.diagram.Cut();
- }
-
- private void Copy()
- {
- //copies the selected nodes
- this.diagram.Copy();
- }
-
- private void Paste()
- {
- //pastes the copied objects
- this.diagram.Paste();
- }
-}
-```
-
-## Grouping
-
-**Grouping commands** are used to group/ungroup the selected elements on the diagram. Refer to the following link which shows how to use grouping commands in the diagram.
-
-[Group](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Group) the selected nodes and connectors in the diagram.
-
-[Ungroup](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_UnGroup) the selected nodes and connectors in the diagram.
-
-The following code illustrates how to execute the grouping commands.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void SelectAll()
- {
- //Selects the nodes
- this.diagram.SelectAll();
- }
- private void Group()
- {
- //Groups the selected elements.
- this.diagram.Group();
- }
-}
-```
-
-## Z-Order command
-
-**Z-Order commands** enable you to visually arrange the selected objects such as nodes and connectors on the page.
-
-## BringToFront command
-
-The [BringToFront](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_BringToFront) command visually brings the selected element to front over all the other overlapped elements. The following code illustrates how to execute the `BringToFront` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void BringToFront()
- {
- //Brings to front the selected node.
- this.diagram.BringToFront();
- }
-}
-```
-
-## SendToBack command
-
-The [SendToBack](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_SendToBack) command visually moves the selected element behind all the other overlapped elements. The following code illustrates how to execute the `SendToBack` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void SendToBack()
- {
- //Sends to front the selected node.
- this.diagram.SendToBack();
- }
-}
-```
-
-## MoveForward command
-
-The [MoveForward](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_MoveForward) command visually moves the selected element over the nearest overlapping element. The following code illustrates how to execute the `MoveForward` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void MoveForward()
- {
- //move to Forward the selected node.
- this.diagram.MoveForward();
- }
-}
-```
-
-## SendBackward command
-
-The [SendBackward](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_SendBackward) command visually moves the selected element behind the underlying element. The following code illustrates how to execute the `SendBackward` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void SendBackward()
- {
- //send to Forward the selected node.
- this.diagram.SendBackward();
- }
-}
-```
-
-## Zoom
-
-The [Zoom](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Zoom_System_Double_Syncfusion_Blazor_Diagrams_PointModel_) command is used to zoom-in and zoom-out the diagram view.
-
-The following code illustrates how to zoom-in/zoom out the diagram.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void Zoom()
- {
- // Sets the ZoomFactor
- //Defines the FocusPoint to zoom the Diagram with respect to any point
- //When you do not set focus point, zooming is performed with reference to the center of current Diagram view.
- this.diagram.Zoom(1.2, new PointModel() { X = 100, Y = 100 });
- }
-}
-```
-
-## Nudge command
-
-The [Nudge](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Nudge_Syncfusion_Blazor_Diagrams_NudgeDirection_System_Nullable_System_Double__System_Nullable_System_Double__) commands move the selected elements towards up, down, left, or right by 1 pixel.
-
-`NudgeDirection` nudge command moves the selected elements towards the specified direction by 1 pixel, by default.
-
-The accepted values of the argument "direction" are as follows:
-
-* Up: Moves the selected elements towards up by the specified delta value.
-* Down: Moves the selected elements towards down by the specified delta value.
-* Left: Moves the selected elements towards left by the specified delta value.
-* Right: Moves the selected elements towards right by the specified delta value.
-
-The following code illustrates how to execute nudge command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void NudgeRight()
- {
- //Nudges to right
- this.diagram.Nudge(NudgeDirection.Right);
- }
-}
-```
-
-## Nudge by using arrow keys
-
-The corresponding arrow keys are used to move the selected elements towards up, down, left, or right direction by 1 pixel.
-
-
-
-Nudge commands are particularly useful for accurate placement of elements.
-
-## BringIntoView
-
-The [BringIntoView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_BringIntoView_System_Object_) command brings the specified rectangular region into the viewport of the diagram.
-
-The following code illustrates how to execute the `BringIntoView` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void BringIntoView()
- {
- var bound = new System.Drawing.Rectangle(600, 600, 500, 400);
- //Brings the specified rectangular region of the Diagram content to the viewport of the page.
- this.diagram.BringIntoView(bound);
- }
-}
-```
-
-## BringToCenter
-
-The [BringToCenter](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_BringToCenter_System_Object_) command brings the specified rectangular region of the diagram content to the center of the viewport.
-
-The following code illustrates how to execute the `BringToCenter` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void BringToCenter()
- {
- var bound = new System.Drawing.Rectangle(600, 600, 500, 400);
- //Brings the specified rectangular region of the Diagram content to the viewport of the page.
- this.diagram.BringToCenter(bound);
- }
-}
-```
-
-## FitToPage command
-
-The [FitToPage](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_FitToPage_Syncfusion_Blazor_Diagrams_IFitOptions_) command helps to fit the diagram content into the view with respect to either width, height, or at the whole.
-
-The [Mode](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IFitOptions.html#Syncfusion_Blazor_Diagrams_IFitOptions_Mode) parameter defines whether the diagram must be horizontally/vertically fit into the viewport with respect to width, height, or entire bounds of the diagram.
-
-The [Region](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IFitOptions.html#Syncfusion_Blazor_Diagrams_IFitOptions_Region) parameter defines the region that must be drawn as an image.
-
-The [Margin](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IFitOptions.html#Syncfusion_Blazor_Diagrams_IFitOptions_Margin) parameter defines the region/bounds of the diagram content that is to be fit into the view.
-
-The [CanZoomIn](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IFitOptions.html#Syncfusion_Blazor_Diagrams_IFitOptions_CanZoomIn) parameter enables/disables zooming to fit the smaller content into a larger viewport.
-
-The [CustomBounds](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.IFitOptions.html#Syncfusion_Blazor_Diagrams_IFitOptions_CustomBounds) parameter the custom region that must be fit into the viewport.
-
-The following code illustrates how to execute `FitToPage` command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void FitToPage()
- {
- //fit the diagram to the page
- diagram.FitToPage();
- }
-}
-```
-
-## Undo and Redo command
-
-The [Undo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Undo) and [Redo](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SfDiagram.html#Syncfusion_Blazor_Diagrams_SfDiagram_Redo) commands help you to revert/restore the changes.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-
-
-
-
-@code
-{
- //Reference to diagram
- SfDiagram diagram;
-
- private void Undo()
- {
- //Revert the changes
- diagram.Undo();
- }
-
- private void Redo()
- {
- //Restore the changes
- diagram.Redo();
- }
-}
-```
-
-## Command manager
-
-Diagram provides support to map or bind command execution with desired combination of key gestures. Diagram provides some built-in commands.
-The [CommandManager](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramCommandManager.html) provides support to define custom commands. The custom commands are executed when the specified key gesture is recognized.
-
-### Command Execution Event
-
-You can use the [OnCommandExecuted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramEvents.html#Syncfusion_Blazor_Diagrams_DiagramEvents_OnCommandExecuted) event to trigger when execute the custom command in diagram.
-
-### Custom command
-
-To define a custom command, specify the following properties:
-* [Gesture](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramCommand.html#Syncfusion_Blazor_Diagrams_DiagramCommand_Gesture): A combination of [Keys](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramKeyGesture.html#Syncfusion_Blazor_Diagrams_DiagramKeyGesture_Key) and [KeyModifiers](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramKeyGesture.html#Syncfusion_Blazor_Diagrams_DiagramKeyGesture_KeyModifiers).
-* [Parameter](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramCommand.html#Syncfusion_Blazor_Diagrams_DiagramCommand_Parameter): Defines any additional parameters that are required at runtime.
-* [Name](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramCommand.html#Syncfusion_Blazor_Diagrams_DiagramCommand_Name): Defines the name of the command.
-
-To explore the properties of custom commands, refer to the [Commands](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramCommandManager.html).
-
-The following code example shows how to define a custom command.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
- @* Initializing the custom commands *@
-
-
-
-
-
-
-
-
-
-
- @* To define the custom commands execution event *@
-
-
-
-@code {
- // Reference to diagram
- SfDiagram Diagram;
-
- // Defines diagram's nodes collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- //Initializing the nodes collection
- NodeCollection = new ObservableCollection();
-
- DiagramNode diagramNode = new DiagramNode()
- {
- Id = "node1",
- OffsetX = 100,
- OffsetY = 100,
- Width = 100,
- Height = 100,
- Style = new NodeShapeStyle() { Fill = "#659be5", StrokeColor = "none" },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() { Content = "Node" }
- }
- };
-
- NodeCollection.Add(diagramNode);
-
- DiagramNode diagramNode1 = new DiagramNode()
- {
- Id = "node2",
- OffsetX = 300,
- OffsetY = 100,
- Width = 100,
- Height = 100,
- Style = new NodeShapeStyle() { Fill = "#659be5", StrokeColor = "none" },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() { Content = "Node" }
- }
- };
- NodeCollection.Add(diagramNode1);
- }
-
- ///
- /// Custom command execution event
- ///
- public void CommandExecute(ICommandExecuteEventArgs args)
- {
- if (args.Gesture.KeyModifiers == KeyModifiers.Control && args.Gesture.Key == Keys.G)
- {
- //Custom command to group the selected nodes
- Diagram.Group();
- }
- if (args.Gesture.KeyModifiers == KeyModifiers.Control && args.Gesture.Key == Keys.U)
- {
- //Custom command to ungroup the selected items
- if (Diagram.SelectedItems.Nodes.Count > 0 && Diagram.SelectedItems.Nodes[0].Children != null &&
- Diagram.SelectedItems.Nodes[0].Children.Length > 0)
- {
- Diagram.UnGroup();
- }
- }
- }
-}
-```
-
-### Modify the existing command
-
-When any one of the default commands is not desired, they can be disabled. To change the functionality of a specific command, the command can be completely modified.
-
-The following code example shows how to disable a command and how to modify the built-in commands.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
- @* Initializing the custom commands *@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @* To define the custom commands execution event *@
-
-
-
-@code {
- // Reference to diagram
- SfDiagram Diagram;
-
- // Defines diagram's nodes collection
- public ObservableCollection NodeCollection { get; set; }
-
- protected override void OnInitialized()
- {
- //Initializing the nodes collection
- NodeCollection = new ObservableCollection();
-
- DiagramNode diagramNode = new DiagramNode()
- {
- Id = "node1",
- OffsetX = 100,
- OffsetY = 100,
- Width = 100,
- Height = 100,
-
- Style = new NodeShapeStyle() { Fill = "#659be5", StrokeColor = "none" },
- Annotations = new ObservableCollection()
- {
- new DiagramNodeAnnotation() { Content = "Node" }
- }
- };
- NodeCollection.Add(diagramNode);
- }
-
- ///
- /// Custom command execute event
- ///
- public void CommandExecute(ICommandExecuteEventArgs args)
- {
- if (args.Gesture.Key == Keys.Left)
- {
- //Allow left arrow key to nudge the selected node in left
- if (Diagram.SelectedItems.Nodes.Count > 0)
- Diagram.Nudge(NudgeDirection.Left);
- }
- if (args.Gesture.Key == Keys.Down || args.Gesture.Key == Keys.Up ||
- args.Gesture.Key == Keys.Right)
- {
- //to disable a built-in command and none of action execute
- }
- }
-}
-```
-
-## See Also
-
-* [How to create the custom context menu items](./context-menu)
\ No newline at end of file
diff --git a/blazor/diagram-classic/connectors/connectors.md b/blazor/diagram-classic/connectors/connectors.md
deleted file mode 100644
index d54088f0f3..0000000000
--- a/blazor/diagram-classic/connectors/connectors.md
+++ /dev/null
@@ -1,685 +0,0 @@
----
-layout: post
-title: Actions of connectors in Blazor Diagram Component | Syncfusion
-description: Checkout and learn here all about Actions of connectors in Syncfusion Blazor Diagram component and more.
-platform: Blazor
-control: Diagram
-documentation: ug
----
-
-N> Syncfusion® recommends using [Blazor Diagram Component](https://blazor.syncfusion.com/documentation/diagram/getting-started) which provides better performance than this diagram control. Blazor Diagram Component will be actively developed in the future.
-
-# Actions of Connectors in Blazor Diagram Component
-
-Connectors are objects used to create link between two points, nodes or ports to represent the relationships between them.
-
-## Create connector
-
-Connector can be created by defining the source and target point of the connector. The path to be drawn can be defined with a collection of segments. To explore the properties of a [Connector](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnector.html), refer to [Connector Properties](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnector.html).
-
-## Add connectors through connectors collection
-
-The [SourcePoint](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnector.html#Syncfusion_Blazor_Diagrams_DiagramConnector_SourcePoint) and [TargetPoint](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.DiagramConnector.html#Syncfusion_Blazor_Diagrams_DiagramConnector_TargetPoint) properties of connector allow you to define the end points of a connector.
-
-The following code example illustrates how to add a connector through connector collection,
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-@code
-{
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection = new ObservableCollection();
-
- protected override void OnInitialized()
- {
- DiagramConnector diagramConnector = new DiagramConnector()
- {
- // Set the source and target point of the connector
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 100 },
- TargetPoint = new ConnectorTargetPoint() { X = 200, Y = 200 },
- // Type of the connector segemnts
- Type = Segments.Straight,
- };
- //Add the connector into connectors's collection.
- ConnectorCollection.Add(diagramConnector);
- }
-}
-```
-
-
-
-## Add connectors at runtime
-
-You can add a connector at runtime by using the server-side method `AddConnector` in the Diagram component. The following code explains how to add connectors at runtime.
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-
-
-
-
-@code
-{
- SfDiagram Diagram;
- //Defines diagram's connector collection
- public ObservableCollection ConnectorCollection = new ObservableCollection();
-
- public void AddConnector()
- {
- DiagramConnector diagramConnector = new DiagramConnector()
- {
- Id = "Connector1",
- SourcePoint = new ConnectorSourcePoint() { X = 100, Y = 100 },
- TargetPoint = new ConnectorTargetPoint() { X = 200, Y = 200 },
- TargetDecorator = new ConnectorTargetDecorator()
- {
- Shape = DecoratorShapes.Arrow,
- Style = new DecoratorShapeStyle()
- {
- Fill = "#6f409f",
- StrokeColor = "#6f409f",
- StrokeWidth = 1
- }
- },
- Style = new ConnectorShapeStyle()
- {
- StrokeColor = "#6f409f",
- StrokeWidth = 1
- },
- Type = Segments.Straight,
- };
- //Add the connector at the run time.
- Diagram.AddConnector(diagramConnector);
- }
-}
-
-```
-
-Also, the connector can be added at runtime by using the `Add` method.
-
-```csharp
-// Add connector at runtime
-public void AddConnector()
-{
- DiagramConnector Connector2 = new DiagramConnector()
- {
- Id = "Connector2",
- // Set the source and target point of the connector
- SourcePoint = new ConnectorSourcePoint() { X = 200, Y = 100 },
- TargetPoint = new ConnectorTargetPoint() { X = 300, Y = 200 },
- };
- ConnectorCollection.Add(Connector2);
-}
-```
-
-## Connectors from the palette
-
-Connectors can be predefined and added to the symbol palette. You can drop those connectors into the diagram when required.
-
-For more information about adding connectors from symbol palette, refer to the [Symbol Palette](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Diagrams.SymbolPalettePalette.html).
-
-```cshtml
-@using Syncfusion.Blazor.Diagrams
-@using System.Collections.ObjectModel
-
-@* Initializes the symbol palette *@
-