Skip to content

Join Node

The JoinNode is a custom node in LiteGraph that allows concatenating data from multiple inputs. This node is useful for combining information from various sources before processing or sending it.


Inputs

  • Input: Each input of the JoinNode can receive data (such as text strings) that will be concatenated.

Widgets

  • Add Input: This button adds a new input to the node. You can add up to a maximum of 5 inputs.
  • Remove Input: This button removes the last input added to the node. The node will always maintain at least one input.

Timeout

The JoinNode includes a timer (timeout) functionality. You can specify a time in milliseconds, after which the node will process the data received up to that point.

Timeout Behavior

  • If all inputs receive data before the timer expires, the node concatenates and immediately sends this data.

  • If the timer expires and not all inputs have received data, the behavior will depend on the strict mode configuration.

Strict Mode

The “Strict” widget alters the behavior of the node when the timer expires:

  • Strict = true: If the timer expires and not all inputs have received data, the node will send “time-out”.
  • Strict = false: If the timer expires and not all inputs have received data, the node will send the data it has received up to that point.