Closed BennisKhalil closed 4 years ago
You'll need to use your own "state wrapper", just like the ExternalReactState story.
You'll then be able to access your state (e.g. this.state
) and turn it into a json.
Example: https://codesandbox.io/s/react-flow-chart-poc-4t8j2
Not sure if this is the best way to do this though.
ty man :')
Is there a way to generate the Json of the created flow??