A quick start Angular project that shows how to add connectors in an Angular Diagram. This project includes a code snippet to add a connector programmatically and using the drawing tool. It also includes a code snippet to add different types of connector segments and decorator shapes.
Refer to the connector’s documentation on the Syncfusion® Angular Diagram component: https://ej2.syncfusion.com/angular/documentation/diagram/connectors
Check out this online connector example of the Angular Diagram component: https://ej2.syncfusion.com/angular/demos/#/material/diagram/connectors
Refer to the video for getting started with the Angular Diagram component: https://www.youtube.com/watch?v=TObiS2Lj87U
Make sure that you have the latest versions of NodeJS and Visual Studio Code in your machine before starting to work on this project.
To run this application, you need to clone the how-to-add-and-customize-the-connectors-in-the-angular-diagram-component
repository and then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project using the npm install
command and run your project using the ng serve
command.