Update defaultGraph

This commit is contained in:
space-nuko
2023-05-08 15:15:59 -05:00
parent f823818674
commit ec6e0f17b1
6 changed files with 7257 additions and 4174 deletions

View File

@@ -21,7 +21,7 @@
import queueState from "$lib/stores/queueState";
import ComfyUnlockUIButton from "./ComfyUnlockUIButton.svelte";
import ComfyGraphView from "./ComfyGraphView.svelte";
import { download } from "$lib/utils";
import { download, jsonToJsObject } from "$lib/utils";
import notify from "$lib/notify";
export let app: ComfyApp = undefined;
@@ -142,6 +142,7 @@
app.saveStateToLocalStorage();
notify("Saved to local storage.")
console.debug(jsonToJsObject(JSON.stringify(app.serialize(), null, 2)))
//
// const date = new Date();
// const formattedDate = date.toISOString().replace(/:/g, '-').replace(/\.\d{3}/g, '').replace('T', '_').replace("Z", "");