components/flow/FlowIR
FlowIRBuilder
Methods
build()
static build(
nodes,
edges,
signatures): FlowIR;
Parameters
| Parameter |
Type |
nodes |
Node<FlowNodeData<AttrsT>, T>[] |
edges |
Edge[] |
signatures |
Record<string, any> |
Returns
FlowIR
FlowIR
Properties
edges
nodes
topology
FlowIRConnection
Properties
nodeId
FlowIREdge
Properties
source
sourceHandle?
optional sourceHandle?: string;
sourceOutput
target
targetHandle?
optional targetHandle?: string;
Properties
connected
dtype
fallbackValue?
optional fallbackValue?: any;
id
sourceNode?
optional sourceNode?: string;
sourceOutput?
optional sourceOutput?: string;
FlowIRNode
Properties
attrs
attrs: Record<string, any>;
category?
optional category?: string;
id
outputs
pluginId?
optional pluginId?: string;
position?
optional position?: {
x: number;
y: number;
};
x
y
type
FlowIROutput
Properties
connectedTo
connectedTo: FlowIRConnection[];
dtype
id
Properties
complexity
edgeCount
errors
isValid
nodeCount
FlowTopology
Properties
cycles
depth
endNodes
executionOrder
executionOrder: string[];
startNodes