0

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

Shubh
  • 1
  • 1
  • 2

2 Answers2

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.

Refer: https://gojs.net/latest/samples/flowchart.html

clemens
  • 16,716
  • 11
  • 50
  • 65
Sulthan
  • 354
  • 3
  • 19
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