Example of Serialization in Blazor Diagram Component

Diagram / Save and Restore / Serialization

This sample demonstrates building diagrams interactively and editing saved diagrams. The symbol palette is used to build diagrams easily.

Or drop files here

This example shows how to drag and drop shapes and connectors from the symbol palette to build diagrams. You can save a diagram as a JSON file and edit saved diagrams. The SaveDiagram method can be used to save a diagram as a string. The LoadDiagram method can be used to load a diagram from a string. In this example, the undo and redo features are enabled.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE