This repository demonstrates the usage of Syncfusion EJ2 Diagram components across multiple frameworks (ASP.NET Core, React, and Angular). Each example showcases different aspects of the diagram component's capabilities and implementation patterns.
- .NET SDK 6.0 or 8.0 (for ASP.NET Core)
- Node.js LTS and npm (for React/Angular)
- Modern web browser
git clone <repo-url>
cd ej2-web-diagram-examplesReplace <repo-url> with the repository URL. Each sample is contained in its own directory with independent dependencies and configurations.
The ASP.NET Core sample demonstrates diagram-to-PowerPoint conversion capabilities:
cd ConvertDiagramToPPTX
dotnet run -p ConvertDiagramToPPTX.Net8.csprojAccess the application at https://localhost:5001 to explore the interactive diagram editor and try the PPTX export feature. The sample includes pre-configured diagram templates and export options.
The React implementation showcases advanced flowchart layouts and customization:
cd React/Flowchart-layout
npm install
npm startView the flowchart demo at http://localhost:3000. Experiment with different layout options, node connections, and styling capabilities.
The Angular sample demonstrates TypeScript integration and component architecture:
cd Angular/Flowchart-layout
npm install
npm startAccess the Angular implementation at http://localhost:4200 to explore component-based diagram development.
For React/Angular samples:
npm run build