ironflow.nodes.built_in module
- class ironflow.nodes.built_in.GetVar_Node(params)[source]
Bases:
NodeBaseGets the value of a script variable
- color = '#c69a15'
- 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().
- title = 'get var'
- update_event(input_called=-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.built_in.Result_Node(params)[source]
Bases:
NodeBaseSimply shows a value converted to str
- color = '#c69a15'
- 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().
- title = 'result'
- update_event(input_called=-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.built_in.SetVar_Node(params)[source]
Bases:
NodeBaseSets the value of a script variable
- color = '#c69a15'
- get_state()[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] = [<ryvencore.NodePortBP.NodeInputBP object>, <ryvencore.NodePortBP.NodeInputBP object>, <ryvencore.NodePortBP.NodeInputBP object>]
- init_outputs: List[NodeOutputBP] = [<ryvencore.NodePortBP.NodeOutputBP object>, <ryvencore.NodePortBP.NodeOutputBP object>]
- set_state(data, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- style = 'normal'
- title = 'set var'
- update_event(input_called=-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.built_in.SetVarsPassive_Node(params)[source]
Bases:
NodeBaseSets the values of multiple script variables
- color = '#c69a15'
- get_state()[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().
- 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, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- style = 'normal'
- title = 'set vars passive'
- update_event(input_called=-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.built_in.Val_Node(params)[source]
Bases:
NodeBaseEvaluates a string from the input field
- color = '#c69a15'
- get_state()[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().
- 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, version)[source]
Used for reloading node-specific custom data which has been previously returned by get_state()
- style = 'small'
- title = 'val'
- update_event(input_called=-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'