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

@@ -5,7 +5,7 @@
import Node from "../Node.svelte";
import { getContext, onMount } from "svelte";
import type { Writable } from "svelte/store";
import { activeSocket, colors } from "./stores";
import { activeSocket } from "./stores";
export let nodes: Writable<Map<number, NodeType>>;
export let edges: Writable<EdgeType[]>;