Merge pull request #4180 from darabos/patch-1

Do not reset nodes and edges — they are controlled by the user
This commit is contained in:
Moritz Klack
2024-05-02 11:25:31 +02:00
committed by GitHub

View File

@@ -350,8 +350,6 @@ export function createStore({
store.selectionRectMode.set(null);
store.snapGrid.set(null);
store.isValidConnection.set(() => true);
store.nodes.set([]);
store.edges.set([]);
unselectNodesAndEdges();
cancelConnection();