Widget instead of node arrangement

This commit is contained in:
space-nuko
2023-04-29 04:01:49 -07:00
parent 772d6b771a
commit 52fb1d7001
6 changed files with 310 additions and 251 deletions

View File

@@ -10,7 +10,12 @@ export type UIState = {
}
export type WritableUIStateStore = Writable<UIState>;
const store: WritableUIStateStore = writable({ unlocked: false, graphLocked: true, nodesLocked:false })
const store: WritableUIStateStore = writable(
{
graphLocked: true,
nodesLocked: false,
unlocked: true,
})
const uiStateStore: WritableUIStateStore =
{