ironflow.nodes.standard module

class ironflow.nodes.standard.InputArray_Node(params)[source]

Bases: DataNode

Give data as a comma-separated string and cast it to a specific type of array.

init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>, <ironflow.model.port.NodeOutputBP object>, <ironflow.model.port.NodeOutputBP object>]
inputs: List[NodeInput]
node_function(input, **kwargs) dict[source]

Takes all data input as kwargs, must return a dict with one entry for each data output

outputs: List[NodeOutput]
title = 'InputArray'
class ironflow.nodes.standard.Input_Node(params)[source]

Bases: DataNode

Give data as a string and cast it to a specific type.

init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>, <ironflow.model.port.NodeOutputBP object>, <ironflow.model.port.NodeOutputBP object>]
inputs: List[NodeInput]
node_function(input, **kwargs) dict[source]

Takes all data input as kwargs, must return a dict with one entry for each data output

outputs: List[NodeOutput]
title = 'Input'
class ironflow.nodes.standard.Sin_Node(params)[source]

Bases: DataNode

Call numpy.sin on a value.

Inputs:

x (int|float|list|numpy.ndarray|…): The value to sine transform.

Outputs:

sin (float|numpy.ndarray): The sine of x.

color = '#5d95de'
init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
inputs: List[NodeInput]
node_function(x, **kwargs) dict[source]

Takes all data input as kwargs, must return a dict with one entry for each data output

outputs: List[NodeOutput]
title = 'Sin'
version: str = 'v0.1'