add basic condfig and rendering

This commit is contained in:
2026-03-05 23:46:12 +01:00
parent 37426258fb
commit 8e5147cfd1
8 changed files with 285 additions and 48 deletions

12
src/lib/flowContext.tsx Normal file
View File

@@ -0,0 +1,12 @@
import React from 'react'
export type FlowContextValue = {
nodes: any[]
setNodes: (updater: any) => void
edges: any[]
setEdges: (updater: any) => void
}
const FlowContext = React.createContext<FlowContextValue | null>(null)
export default FlowContext