We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Save diagram

Thread ID:





150905 Jan 23,2020 07:48 PM UTC Jan 24,2020 07:20 AM UTC JavaScript - EJ 2 1
Tags: Diagram
Asked On January 23, 2020 07:48 PM UTC

Hi, do you have a full structure of a ejDiagram-JSON with all the attributes posible? I'm using EJ1.

Shyam G [Syncfusion]
Replied On January 24, 2020 07:20 AM UTC

Hi Stheve, 

Please use diagram save method which returns serialized diagram JSON which contains all the diagram model properties/attributes. Please refer to a code example and the sample below. 

Code example: 
  function diagramSave() { 
        var diagram = $("#diagram").ejDiagram("instance"); 
        //return serialized json  
        var serializedData = diagram.save(); 

Shyam G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon