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:
@@ -350,8 +350,6 @@ export function createStore({
|
|||||||
store.selectionRectMode.set(null);
|
store.selectionRectMode.set(null);
|
||||||
store.snapGrid.set(null);
|
store.snapGrid.set(null);
|
||||||
store.isValidConnection.set(() => true);
|
store.isValidConnection.set(() => true);
|
||||||
store.nodes.set([]);
|
|
||||||
store.edges.set([]);
|
|
||||||
|
|
||||||
unselectNodesAndEdges();
|
unselectNodesAndEdges();
|
||||||
cancelConnection();
|
cancelConnection();
|
||||||
|
|||||||
Reference in New Issue
Block a user