Add image IO inspector and measured layout

This commit is contained in:
2026-06-19 10:48:57 +02:00
parent 449a7aa071
commit 543e1f5171
5 changed files with 206 additions and 10 deletions

View File

@@ -43,6 +43,15 @@ export type GraphFxImageOption = {
name: string
}
export type GraphFxImageInspection = {
nodeId: string
nodeName: string
direction: 'in' | 'out'
ioName: string
label: string
url: string
}
export type GraphFxNodeActions = {
renameNodeId: (nodeId: string, nextId: string) => void
updateIoLabel: (nodeId: string, direction: 'in' | 'out', ioName: string, label: string) => void
@@ -51,6 +60,7 @@ export type GraphFxNodeActions = {
deleteNode: (nodeId: string) => void
duplicateNode: (nodeId: string) => void
selectInputImage: (nodeId: string, ioName: string, imageId: string) => void | Promise<void>
inspectImage: (inspection: GraphFxImageInspection) => void
}
export type GraphFxNodeData = {