Joseph Holley a3795d32f5 Fix dynamic I/O handling in AnyCartesianProduct
Refactor input/output management for AnyCartesianProduct extension to handle dynamic inputs and outputs correctly.
2025-11-13 22:44:26 +09:00
2023-12-22 00:54:34 +00:00
2023-12-21 19:21:03 +00:00
2023-12-21 19:21:53 +00:00
2023-12-21 19:21:03 +00:00
2024-05-22 21:18:07 +01:00
2023-12-21 19:21:03 +00:00

Lists Cartesian Product ( ComfyUI custom node )

Given a set of lists, the node adjusts them so that when used as input to another node all the possible argument permutations are computed.

To update the input and output slots, right-click the node and at the top select the option "update I/Os".

Example

Given the following lists as inputs:

  • Positive_Cond_List_: [ A, B, C]
  • Negative_Cond_List_: [ a, b ]
  • __________CFG_List_: [ 5, 7 ]

The outputs are the following:

  • Positive_Cond_List_: [ A, A, A, A, B, B, B, B, C, C, C, C]
  • Negative_Cond_List_: [ a, a, b, b, a, a, b, b, a, a, b, b]
  • __________CFG_List_: [ 5, 7, 5, 7, 5, 7, 5, 7, 5, 7, 5, 7]

Example Workflow

image has workflow embedded

example workflow

S
Description
No description provided
Readme
1.7 MiB
Languages
JavaScript 76%
Python 24%