Skip to content

A quick start Angular project that shows how to save and export an Angular Diagram component. This project includes a code snippet to save and load the Diagram as a JSON string and file stream. It also includes a code snippet to export the Diagram in PNG format.

Notifications You must be signed in to change notification settings

SyncfusionExamples/how-to-save-and-export-an-Angular-diagram

Repository files navigation

How to Save and Export an Angular Diagram

A quick start Angular project that shows how to save and export an Angular Diagram component. This project includes a code snippet to save and load the Diagram as a JSON string and file stream. It also includes a code snippet to export the Diagram in PNG format.

The serialization documentation for the Syncfusion® Angular Diagram component: https://ej2.syncfusion.com/angular/documentation/diagram/serialization

The print and export documentation for the Syncfusion® Angular Diagram component: https://ej2.syncfusion.com/angular/documentation/diagram/export

Check out the online serialization example for the Angular Diagram component: https://ej2.syncfusion.com/angular/demos/#/material3/diagram/serialization

Check out the online export and print example for the Angular Diagram component: https://ej2.syncfusion.com/angular/demos/#/material3/diagram/print-export

Refer to this video for getting started with the Angular Diagram component: https://www.youtube.com/watch?v=TObiS2Lj87U

Refer to this video for creating and customizing nodes in the Angular Diagram component: https://www.youtube.com/watch?v=OnI_SMaYLOk

Refer to this video for adding and customizing connectors in the Angular Diagram component: https://www.youtube.com/watch?v=fwK8CWWBwZ4

Project prerequisites

Make sure that you have the latest versions of NodeJS and Visual Studio Code in your machine before starting to work on this project.

How to run this application?

To run this application, you need to clone the how-to-save-and-export-an-Angular-diagram 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.

About

A quick start Angular project that shows how to save and export an Angular Diagram component. This project includes a code snippet to save and load the Diagram as a JSON string and file stream. It also includes a code snippet to export the Diagram in PNG format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •