Something like this:
https://csacademy.com/app/graph_editor/
Except it can export json or xml or something like that, and then use it to redraw the graph later