feat: added undo and redo functionality

This commit is contained in:
Gerla, J. (Justin)
2025-12-07 15:21:59 +00:00
committed by JobvAlewijk
parent 608bd54617
commit 5e22ed8806
9 changed files with 490 additions and 51 deletions

View File

@@ -69,6 +69,9 @@ beforeAll(() => {
useFlowStore.setState({
nodes: [],
edges: [],
past: [],
future: [],
isBatchAction: false,
edgeReconnectSuccessful: true
});
});
@@ -78,6 +81,9 @@ afterEach(() => {
useFlowStore.setState({
nodes: [],
edges: [],
past: [],
future: [],
isBatchAction: false,
edgeReconnectSuccessful: true
});
});