Actual loading screen

This commit is contained in:
space-nuko
2023-05-20 15:42:43 -05:00
parent c253e0956f
commit 3b9017dfad
4 changed files with 528 additions and 459 deletions

View File

@@ -128,6 +128,17 @@ type BackendComboNode = {
backendNode: ComfyBackendNode
}
type CanvasState = {
canvasEl: HTMLCanvasElement,
canvasCtx: CanvasRenderingContext2D,
canvas: ComfyGraphCanvas,
}
type WorkflowState = {
title: string,
graph: ComfyGraph,
}
export default class ComfyApp {
api: ComfyAPI;
rootEl: HTMLDivElement | null = null;