Nodes/ComfyLab Pack/XY Plot: Queue (lab)
ComfyUI Node

XY Plot: Queue (lab)

Loop through all values of dim1, optionally combined with dim2 values, and send them to outputs. IMPORTANT: for a given dim1 value, all dim2 values are first iterated, before going to the next dim1 value. So it is advised to associate slow operations (e.g. loading checkpoints) to dim1, to ensure better performance.

By bugltd·Created 2 years ago·Updated about a year ago· 10
XY Plot: Queue (lab)
  • dim1
  • dim2
  • index
  • xy_plot_data
  • dim1_value
  • dim2_value
max_dim1_per_page0
max_dim2_per_page0
CategoryComfyLab/plot

Inputs (5)

NameTypeDefaultDescription
dim1LISTlist of values, processed by queue as the 1st dimension tip: associate slow operation, like loading checkpoint, to dim1, to ensure better performance
dim2optLISToptional: list of values, processed by queue as the 2nd dimension
indexoptQUEUE_STATUScurrent queue status
max_dim1_per_pageoptINT0optional: if > 0, max number of dim1 values per page
max_dim2_per_pageoptINT0optional: if > 0, max number of dim2 values per page

Outputs (3)

NameTypeDescription
xy_plot_dataXY_PLOT_DATAdata sent by the queue, to indicate the cuttent state of processing
dim1_value*dim1 value (not typed)
dim2_value*dim2 value (not typed)