feat: save graph to localstore

This commit is contained in:
2024-03-19 16:56:42 +01:00
parent 3811a6bdb4
commit b55d3d4217
7 changed files with 128 additions and 5 deletions

View File

@@ -524,7 +524,7 @@
$edges = $edges;
});
graph.history.save();
graph.save();
} else if ($hoveredSocket && $activeSocket) {
if (
typeof $hoveredSocket.index === "number" &&
@@ -547,7 +547,7 @@
$hoveredSocket.index,
);
}
graph.history.save();
graph.save();
}
mouseDown = null;