Reduce preview buttons from 4 to 2 in both FlakeGenerate and PreviewFlakeData:
- Models: checkpoint, VAE, text encoder, LoRAs with strengths, width, height,
steps, CFG, sampler, scheduler
- Inputs: prompts grouped by source with selected variants + ControlNet info
Static preview (before generation) now walks the full upstream chain:
FlakeModelPreset → FlakeStack(s)/FlakeCombos → FlakeGenerate, fetching
preset and flake configs from the API to populate both panels.
COMBO types (lists) are input-only in ComfyUI — using them as RETURN_TYPES
caused node registration to fail, hiding the node from the Add Node list.
STRING is the correct output type for passing sampler/scheduler values.
FlakeDataSplitSelect (#164):
- Remove 'selected_pins' STRING from Python INPUT_TYPES (was causing node load failure)
- Store pin selection purely in node.properties._split_pins
- Rewrite JS widget with attached-button dropdown style
IntoFlakeDataSelect (#165):
- Remove all optional fields from Python INPUT_TYPES; use None-sentinel pattern
so only connected inputs override the original flake_data
- JS now uses node.addInput/removeInput for dynamic pins — no default pins,
no hidden widget fields interfering with click events
- Dropdown styled as select + attached button (matching Load Image node)
- Chips show active pins with x to remove
Rename 'images' key to 'flake_images' in UI output so ComfyUI's default
image renderer is not triggered. The custom JS widget reads 'flake_images'
directly, so only one image is shown.
Flake Data Split (All) and Flake Data Split (Select) output pins for
sampler_name and scheduler used plain 'SAMPLER'/'SCHEDULER' string types
which did not match KSampler's input type (the actual sampler/scheduler
list tuples). This caused connection validation failures.
Change _ALL_PINS entries for sampler_name and scheduler to use the
_SAMPLER_TYPES tuple values imported from comfy.samplers.KSampler,
so output type keys match KSampler's input types exactly.
Fixes#154
Widget-only parameters (filename_prefix, width, height, steps, cfg, sampler_name,
scheduler) had default values, causing them to appear as node widgets even when
the input pin is not connected. Removing defaults makes them pin-only — widgets
only appear when the pin is manually added via the selector.
Fix FlakeDataSplitSelect not creatable: _ALL_PINS used _SAMPLER_TYPES[0] and [1]
which are tuples/lists when comfy.samplers imports successfully, not valid
RETURN_TYPES strings. Use plain 'SAMPLER'/'SCHEDULER' type names instead.
Creates FlakeGenerate node that takes flake_data input, runs KSampler, VAE Decode, and SaveImage internally. Displays seed widget with randomize/increment/decrement controls, 2x2 preview grid (reusing flake-preview.js), and generated image preview in a single DOM widget.
- Replace hide/show visibility approach with dynamic addOutput/removeOutput
and addInput/removeInput for proper pin management
- On node creation, remove all default pins and add only selected ones
- On workflow load (onConfigure), clear all dynamic pins and rebuild from
saved properties
- Remove OUTPUT_NODE from FlakeDataSplitSelect (not an output node)
- Add pin selector UI with +/- buttons that dynamically adds/removes pins
- Export DEFAULT_SPLIT_PINS and DEFAULT_INTO_PINS for use in onConfigure
Closes#139
- Python backend: new PreviewFlakeData class that takes FLAKE_DATA input
and passes it through unchanged, marked as OUTPUT_NODE for execution
- JavaScript frontend: custom widget showing a 2x2 grid with Models,
Prompts, Parameters, and Metadata categories
- Clicking a category card opens an overlay with consolidated information
- Handles combo node scenarios by displaying all available data fields
- Registers the new node in __init__.py NODE_CLASS_MAPPINGS
Closes#122
Replace yes/no group toggles on FlakeDataSplitSelect with a dropdown + +/- button
UI for individually adding/removing output pins. Similarly, redesign
IntoFlakeDataSelect to use dynamic input pins instead of FLAKES_MODEL/COND/SAMPLER
bundle types, allowing override of individual fields from an incoming FLAKE_DATA.
- Python: Add selected_pins/active_pins hidden STRING widgets for state tracking
- Python: IntoFlakeDataSelect now takes individual optional inputs (MODEL, CLIP,
VAE, etc.) and overrides only activated pins from the incoming FLAKE_DATA
- JS: Add flake-data-select.js with pin selector dropdown + button widgets
- JS: Register handlers for FlakeDataSplitSelect and IntoFlakeDataSelect nodes
- JS: Show/hide outputs and inputs based on selected pin state
Closes#119
- FlakeModelPreset now outputs a single FLAKE_DATA pin
- FlakeStack now takes and returns a single FLAKE_DATA pin
- FlakeDataSplit(All/Select) now output all 12 individual types directly
- IntoFlakeData(All/Select) now take individual Comfy types as optional inputs
- Removed FlakesModel, FlakesCond, FlakesSampler (replaced by FlakeDataSplitAll)
- Removed flake_unpack_nodes.py entirely