Skip to content

Logical Nodes

bandinopla edited this page Apr 11, 2025 · 1 revision

Logical nodes are nodes that are connected with a square outlet icon, that connection goes from left to right and will travel one connected node to the other and call it's writerScript()

They are used to create logic like when coding. They live in src/nodes/logic

FunctionNode

This is is the node that creates a function that will contain all the logical nodes inside. If has one "run" outlet that is the one that will start the process of going from one node to the other to execute their writeScript. This happens then the writeScript of this node is called, it will ask the connected nodes vía the square icons to write their scripts until they reach the final output node that must be at the end of the chain (because this is the actual return of the function)

ExecutableLogicNode

This is the base for nodes that execute logic blocks, any node that is meant to be logical should extend this class. It handles the creation of the header of the node to provide the input and output sockets to the node (the square ones)

Clone this wiki locally