i am working on a project for developing Flow diagram using jointjs and i want to dynamically convert flow diagram to json and vise-versa also.I am new in this field so please help
Asked
Active
Viewed 4,462 times
2 Answers
0
You can use GoJs to convert JSON to Flow diagram. But I think you need to pay for the full version. Anyway you can use the trial version.
0
A bit late with the answer but maybe someone else will find it useful.
JointJS provides graph.toJSON
and graph.fromJSON
which can be used for persistence or serialization.
var jsonString = JSON.stringify(graph.toJSON());
This is the documentation as a reference.

James
- 296
- 1
- 3