Actually I developed a React application to model Chat Bot Flowcharts. Everything works, you just need to modify some features, and conform it's API with our previous implementation.
I'm going to send to you 2 projects:
- The previous Typescript project, and some dumped JSON files corresponding the flowchart structure (added above).
- The current React implementation, using the opensource `storm-react-diagrams` with some modifications.
What you need to do:
- The modals in the React project are quite different from the original project. You will need to change it's form to be the same as the old project (same fields and structure).
- Implement an API call to Export and Load the JSON Schema (above), and render it. This method are going to be called as an UMD module (an Angular application will receive the JSON from the API, and the Angular will send the data to the React UMD export, both for load and dump).
The React project was created using the `create-react-app`. It should be easy to follow it's development.
Observation: You don't need to work on the Flowchart Logic, or anything like that. It's only about rendering the current JSON schema, and allowing to do modifications on it.
The current React Implementation already supports creating nodes, and links between them.