mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-27 11:29:53 +00:00
* Fix primitive resize on load Fixes #676 * Add test * Add playwright test * Update test expectations [skip ci] --------- Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca> Co-authored-by: github-actions <github-actions@github.com>
145 lines
2.4 KiB
JSON
145 lines
2.4 KiB
JSON
{
|
|
"last_node_id": 2,
|
|
"last_link_id": 1,
|
|
"nodes": [
|
|
{
|
|
"id": 2,
|
|
"type": "KSampler",
|
|
"pos": {
|
|
"0": 521.0906982421875,
|
|
"1": 40.999996185302734,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 262
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "steps",
|
|
"type": "INT",
|
|
"link": 1,
|
|
"widget": {
|
|
"name": "steps"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
"randomize",
|
|
20,
|
|
8,
|
|
"euler",
|
|
"normal",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "PrimitiveNode",
|
|
"pos": {
|
|
"0": 15,
|
|
"1": 46,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
446.96645387135936,
|
|
108.34243389566905
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "INT",
|
|
"type": "INT",
|
|
"links": [
|
|
1
|
|
],
|
|
"slot_index": 0,
|
|
"widget": {
|
|
"name": "steps"
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"Run widget replace on values": false
|
|
},
|
|
"widgets_values": [
|
|
20,
|
|
"fixed"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
4,
|
|
"INT"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |