This application demonstrates the usage of the Syncfusion React Diagram component in Next.js. The Syncfusion React Diagram component is a feature-rich library that enables you to create and manipulate diagrams with ease. It supports various types of diagrams including flowcharts, organizational charts, mind maps, and network diagrams.
To know how to configure the Syncfusion React Diagram component in Next.js, refer to the documentation.
- Node.js 14 or later
- npm or yarn package manager
- Basic knowledge of React and Next.js
To clone the sample repository locally, follow these steps:
- Open the command prompt in your desired location
- Execute the following command:
git clone https://github.com/SyncfusionExamples/ej2-nextjs-diagram.gitNavigate to the project directory:
cd ej2-nextjs-diagramInstall the required node modules by running the following command:
npm installThis will install all the necessary dependencies including the Syncfusion React Diagram component and its peer dependencies.
To run the application in development mode, use the following command:
npm run devThe application will start on http://localhost:3000. Open this URL in your browser to see the diagram component in action.
To create a production build, run:
npm run build