How to get data of generated bpmn diagram in vue.js

Hello,
I'm using bpmn diagram (npm install @syncfusion/ej2-vue-diagrams) in my vue.js web app, but the problem is that I don't know how to get the data of new generated nodes and save them in my db, even I couldn't find the answer in its documentation, Is there anyone to help me in the way!?
thanks in advanced

1 Reply

AR Aravind Ravi Syncfusion Team May 11, 2020 06:49 AM UTC

Hi Saeed, 
 
By using diagram saveDiagram() public API method we can able to save the diagram. The client-side method saveDiagram() is used to serialize the diagram as a string. This string can be converted to JSON string and stored in your DB for future purposes. We can able to load the diagram from the serialized string using loadDiagram() method. For more information about serialization please refer to below UG documentation link 
 
 
 
Regards 
Aravind Ravi 
 


Loader.
Up arrow icon