PDA-UR / graphit-frontend

First prototype.
0 stars 0 forks source link

Undo system #5

Open AlexW00 opened 1 year ago

AlexW00 commented 1 year ago

As a user, I want to undo / redo changes I made to the graph so that I can recover from mistakes and work with confidence.

AlexW00 commented 1 year ago

Related project: https://github.com/iVis-at-Bilkent/cytoscape.js-undo-redo However, it does not support property manipulation and is written in pure JS. It's probably best to write our own extension (with less undo / redo actions), orienting ourselves on this existing project. The atomic undo / redo actions can also be used later on to translate the changes made to the graph to API calls to update the graph in WikiBase.