projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.45k stars 1.16k forks source link

how to save to db? #950

Open herbiel opened 2 years ago

herbiel commented 2 years ago

how to save to db?

jessehanley commented 1 year ago

@herbiel serialize the diagram, save that to your database of choice as JSON/string, then deserialize it when you load it next. If you don't know how to save something to your database go look at tutorials in your backend language of choice.