ironflow.nodes.deprecated.special_nodes module
- class ironflow.nodes.deprecated.special_nodes.Button_Node(params)[source]
Bases:
NodeBase- color = '#99dd55'
- init_inputs: List[NodeInputBP] = []
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- main_widget_class = None
- main_widget_pos = 'between ports'
- title = 'Button'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Checkpoint_Node(params)[source]
Bases:
NodeBaseProvides a simple checkpoint to reroute your connections
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- style = 'small'
- title = 'checkpoint'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Clock_Node(params)[source]
Bases:
NodeBase- color = '#5d95de'
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>, <ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- main_widget_class = None
- main_widget_pos = 'below ports'
- remove_event()[source]
Called when the node is removed from the flow; useful for stopping threads and timers etc.
- title = 'clock'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.DualNodeBase(params, active=True)[source]
Bases:
NodeBaseFor nodes that can be active and passive
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Eval_Node(params)[source]
Bases:
NodeBase- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = []
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- main_widget_class = None
- main_widget_pos = 'between ports'
- place_event()[source]
place_event() is called once the node object has been fully initialized and placed in the flow. When loading content, place_event() is executed before the connections are built, which is important for nodes that need to update once and, during this process, set output data values, to prevent later connected (potentially sequential) nodes from receiving false updates because of that. Notice that this method gets executed every time the node is added to the flow, which can happen multiple times for the same object, for example due to undo/redo operations. Also note that GUI content is usually not accessible yet from here, for that use view_place_event().
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'eval'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Exec_Node(params)[source]
Bases:
_DynamicPorts_Node- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- main_widget_class = None
- main_widget_pos = 'between ports'
- place_event()[source]
place_event() is called once the node object has been fully initialized and placed in the flow. When loading content, place_event() is executed before the connections are built, which is important for nodes that need to update once and, during this process, set output data values, to prevent later connected (potentially sequential) nodes from receiving false updates because of that. Notice that this method gets executed every time the node is added to the flow, which can happen multiple times for the same object, for example due to undo/redo operations. Also note that GUI content is usually not accessible yet from here, for that use view_place_event().
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'exec'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Interpreter_Node(params)[source]
Bases:
NodeBaseProvides a python interpreter via a basic console with access to the node’s properties.
- COMMANDS = {'clear': <function Interpreter_Node.clear>, 'reset': <function Interpreter_Node.reset>}
- init_inputs: List[NodeInputBP] = []
- init_outputs: List[NodeOutputBP] = []
- main_widget_class = None
- title = 'interpreter'
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.LinkIN_Node(params)[source]
Bases:
NodeBaseYou can use link OUT nodes to link them up to this node. Whenever a link IN node receives data (or an execution signal), if there is a linked OUT node, it will receive the data and propagate it further.
- INSTANCES = {}
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = []
- remove_event()[source]
Called when the node is removed from the flow; useful for stopping threads and timers etc.
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'link IN'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.LinkOUT_Node(params)[source]
Bases:
NodeBaseThe complement to the link IN node
- INSTANCES = []
- PENDING_LINK_BUILDS = {}
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = []
- init_outputs: List[NodeOutputBP] = []
- link_to(n: LinkIN_Node)[source]
- classmethod new_link_in_loaded(n: LinkIN_Node)[source]
- remove_event()[source]
Called when the node is removed from the flow; useful for stopping threads and timers etc.
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'link OUT'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Log_Node(params)[source]
Bases:
DualNodeBase- color = '#5d95de'
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>, <ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- main_widget_class = None
- main_widget_pos = 'below ports'
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'Log'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.NodeBase(params)[source]
Bases:
Node- color = '#FFCA00'
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Print_Node(params)[source]
Bases:
DualNodeBase- color = '#5d95de'
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>, <ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- title = 'Print'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Slider_Node(params)[source]
Bases:
NodeBase- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>, <ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- input_widget
alias of
SliderControl
- main_widget_class = None
- main_widget_pos = 'below ports'
- place_event()[source]
place_event() is called once the node object has been fully initialized and placed in the flow. When loading content, place_event() is executed before the connections are built, which is important for nodes that need to update once and, during this process, set output data values, to prevent later connected (potentially sequential) nodes from receiving false updates because of that. Notice that this method gets executed every time the node is added to the flow, which can happen multiple times for the same object, for example due to undo/redo operations. Also note that GUI content is usually not accessible yet from here, for that use view_place_event().
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'slider'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'
- class ironflow.nodes.deprecated.special_nodes.Storage_Node(params)[source]
Bases:
NodeBaseSequentially stores all the data provided at the input in an array. A COPY of the storage array is provided at the output
- color = '#aadd55'
- get_state() dict[source]
Used to store node-specific custom data that needs to be reloaded when loading a project or pasting copied components. All values will be serialized by pickle and base64. The corresponding method for the opposite operation is set_state().
- init_inputs: List[NodeInputBP] = [<ironflow.model.port.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ironflow.model.port.NodeOutputBP object>]
- set_state(data: dict, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- title = 'store'
- update_event(inp=-1)[source]
Gets called when an input received a signal or some node requested data of an output in exec mode
- version: str = 'v0.1'