Skip to content

NodeSpec

Defined in: materialGraph.ts:350

Static schema for a node type — the single source the palette, ports, and node inspector all read, kept beside the compiler so the editor and codegen never drift.

addable: boolean

Defined in: materialGraph.ts:357

Whether the palette offers it (the singleton output node is not addable).


inputs: NodePort[]

Defined in: materialGraph.ts:352


label: string

Defined in: materialGraph.ts:351


output: GraphType | null

Defined in: materialGraph.ts:354

Output port type, or null for the output sink (no output port).


params: NodeParamSpec[]

Defined in: materialGraph.ts:355