Files
ltdrdata-ComfyUI-Impact-Pack/tests/workflows/switch-inputs.json
T
Dr.Lt.Data cc015e3223 Fix Switch reconnection and add Chrome regression coverage
Restore a valid selection after reconnecting the last Switch input and remove
the redundant loading check after the early return.

Add Chrome regressions for workflow loading, routing, reconnection, legacy
Switch names, and image, mask, SEGS, conditioning, and regional-prompt combine
nodes. Wait for imported nodes to replace the previous graph, and check
non-default selections and fresh outputs after editing.

Keep the different-size mask batch test as a documented pre-existing failure;
its backend implementation is outside this change.
2026-10-30 02:03:15 +09:00

382 lines
6.6 KiB
JSON

{
"last_node_id": 20,
"last_link_id": 4,
"nodes": [
{
"id": 1,
"type": "ImpactWildcardProcessor",
"pos": [
50,
100
],
"size": [
400,
260
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "wildcard_text",
"type": "STRING",
"widget": {
"name": "wildcard_text"
},
"link": null
},
{
"name": "populated_text",
"type": "STRING",
"widget": {
"name": "populated_text"
},
"link": null
},
{
"name": "mode",
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "Select to add Wildcard",
"type": "COMBO",
"widget": {
"name": "Select to add Wildcard"
},
"link": null
}
],
"outputs": [
{
"name": "processed text",
"type": "STRING",
"links": [
1
]
}
],
"properties": {},
"widgets_values": [
"first",
"first",
"fixed",
0,
"fixed",
"Select Wildcard 🟢 Full Cache"
]
},
{
"id": 2,
"type": "ImpactWildcardProcessor",
"pos": [
50,
430
],
"size": [
400,
260
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "wildcard_text",
"type": "STRING",
"widget": {
"name": "wildcard_text"
},
"link": null
},
{
"name": "populated_text",
"type": "STRING",
"widget": {
"name": "populated_text"
},
"link": null
},
{
"name": "mode",
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "Select to add Wildcard",
"type": "COMBO",
"widget": {
"name": "Select to add Wildcard"
},
"link": null
}
],
"outputs": [
{
"name": "processed text",
"type": "STRING",
"links": [
2
]
}
],
"properties": {},
"widgets_values": [
"second",
"second",
"fixed",
0,
"fixed",
"Select Wildcard 🟢 Full Cache"
]
},
{
"id": 3,
"type": "ImpactWildcardProcessor",
"pos": [
50,
760
],
"size": [
400,
260
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "wildcard_text",
"type": "STRING",
"widget": {
"name": "wildcard_text"
},
"link": null
},
{
"name": "populated_text",
"type": "STRING",
"widget": {
"name": "populated_text"
},
"link": null
},
{
"name": "mode",
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"name": "Select to add Wildcard",
"type": "COMBO",
"widget": {
"name": "Select to add Wildcard"
},
"link": null
}
],
"outputs": [
{
"name": "processed text",
"type": "STRING",
"links": [
3
]
}
],
"properties": {},
"widgets_values": [
"third",
"third",
"fixed",
0,
"fixed",
"Select Wildcard 🟢 Full Cache"
]
},
{
"id": 10,
"type": "ImpactSwitch",
"pos": [
650,
430
],
"size": [
270,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input1",
"type": "*",
"link": 1
},
{
"name": "select",
"type": "INT",
"link": null,
"widget": {
"name": "select"
}
},
{
"name": "sel_mode",
"type": "BOOLEAN",
"link": null,
"widget": {
"name": "sel_mode"
}
},
{
"name": "input2",
"type": "*",
"link": 2
},
{
"name": "input3",
"type": "*",
"link": 3
},
{
"name": "input4",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "selected_value",
"type": "*",
"links": [
4
]
},
{
"name": "selected_label",
"type": "STRING",
"links": null
},
{
"name": "selected_index",
"type": "INT",
"links": null
}
],
"properties": {},
"widgets_values": [
2,
false
],
"widgets_values_named": {
"select": 2,
"sel_mode": false
}
},
{
"id": 20,
"type": "PreviewAny",
"pos": [
1100,
430
],
"size": [
270,
200
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 4
}
],
"outputs": [
{
"name": "STRING",
"type": "*",
"links": null
}
],
"properties": {},
"widgets_values": []
}
],
"links": [
[
1,
1,
0,
10,
0,
"STRING"
],
[
2,
2,
0,
10,
3,
"STRING"
],
[
3,
3,
0,
10,
4,
"STRING"
],
[
4,
10,
0,
20,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}