Nodes/comfy-ovum/Map Start Ovum
ComfyUI Node

Map Start Ovum

Start of a map loop that builds an accum by automatically adding each per-iteration result.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
Map Start Ovum
  • py_list
  • init_accum
  • flow_control
  • remaining_list
  • accum
  • value
  • index
  • array
Categoryovum/loop

Inputs (2)

NameTypeDefaultDescription
py_listITEM_LISTA list containing items to be processed iteratively.
init_accumopt*Initial value for the accumulator (accum) before processing items.

Outputs (6)

NameTypeDescription
flow_controlFOREACH_LIST_CONTROLPass ForeachListEndOvum as is to indicate the end of the iteration.
remaining_listITEM_LISTOutput the ITEM_LIST containing the remaining items during the iteration, passing ForeachListEndOvum as is to indicate the end of the iteration.
accum*Output the accumulated results during the iteration.
value*Output the current item during the iteration.
indexINTThe index of the current item (starting at 0).
arrayITEM_LISTAn immutable copy of the input list.