Update default values for `GridAnnotationNode`
Update templates
This commit is contained in:
LEv145
2023-04-09 15:02:22 +02:00
parent 45d044d4d0
commit 3dd50ec293
5 changed files with 1076 additions and 675 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class GridAnnotationNode(BaseNode):
"required": {
"column_texts": ("STRING", {"multiline": False}),
"row_texts": ("STRING", {"multiline": False}),
"font_size": ("INT", {"default": 30, "min": 1}),
"font_size": ("INT", {"default": 50, "min": 1}),
},
}
+644 -587
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 KiB

After

Width:  |  Height:  |  Size: 309 KiB

+430 -86
View File
@@ -1,19 +1,21 @@
{
"last_node_id": 56,
"last_link_id": 97,
"last_node_id": 70,
"last_link_id": 121,
"nodes": [
{
"id": 41,
"id": 68,
"type": "LoadImage",
"pos": [
69,
307
-30,
70
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"outputs": [
@@ -21,7 +23,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
119
],
"slot_index": 0
},
@@ -35,22 +37,24 @@
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00171_.png",
"394102.png",
"image"
]
},
{
"id": 42,
"id": 41,
"type": "LoadImage",
"pos": [
69,
449
-30,
210
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"outputs": [
@@ -58,7 +62,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
91
120
],
"slot_index": 0
},
@@ -72,22 +76,24 @@
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00153_.png",
"394102.png",
"image"
]
},
{
"id": 43,
"id": 42,
"type": "LoadImage",
"pos": [
68,
592
-30,
350
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"outputs": [
@@ -95,7 +101,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
94
112
],
"slot_index": 0
},
@@ -109,12 +115,171 @@
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00116_.png",
"394102.png",
"image"
]
},
{
"id": 54,
"id": 43,
"type": "LoadImage",
"pos": [
-30,
490
],
"size": {
"0": 315,
"1": 102
},
"flags": {
"collapsed": true
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
106
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"394102.png",
"image"
]
},
{
"id": 62,
"type": "LoadImage",
"pos": [
-30,
630
],
"size": {
"0": 315,
"1": 102
},
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
105
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"394102.png",
"image"
]
},
{
"id": 63,
"type": "LoadImage",
"pos": [
-30,
770
],
"size": {
"0": 315,
"1": 102
},
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
104
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"394102.png",
"image"
]
},
{
"id": 65,
"type": "ImageCombine",
"pos": [
460,
430
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 113
},
{
"name": "image_2",
"type": "IMAGE",
"link": 106
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
114
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCombine"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 67,
"type": "ImageCombine",
"pos": [
460,
@@ -125,18 +290,18 @@
"1": 46
},
"flags": {},
"order": 3,
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 90
"link": 118
},
{
"name": "image_2",
"type": "IMAGE",
"link": 91
"link": 112
}
],
"outputs": [
@@ -144,7 +309,49 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
93
113
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageCombine"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 69,
"type": "ImageCombine",
"pos": [
460,
270
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 119
},
{
"name": "image_2",
"type": "IMAGE",
"link": 120
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"slot_index": 0
}
@@ -160,25 +367,25 @@
"type": "ImageCombine",
"pos": [
460,
440
510
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 4,
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 93
"link": 114
},
{
"name": "image_2",
"type": "IMAGE",
"link": 94
"link": 105
}
],
"outputs": [
@@ -186,7 +393,7 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
95
110
],
"slot_index": 0
}
@@ -198,50 +405,29 @@
"bgcolor": "#533"
},
{
"id": 56,
"type": "PreviewImage",
"id": 54,
"type": "ImageCombine",
"pos": [
1059,
350
],
"size": [
428.921914672851,
507.1954368591306
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 97
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 53,
"type": "ImagesGridByColumns",
"pos": [
700,
350
460,
590
],
"size": {
"0": 315,
"1": 82
"0": 210,
"1": 46
},
"flags": {},
"order": 5,
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"name": "image_1",
"type": "IMAGE",
"link": 95,
"slot_index": 0
"link": 110
},
{
"name": "image_2",
"type": "IMAGE",
"link": 104
}
],
"outputs": [
@@ -249,68 +435,226 @@
"name": "IMAGE",
"type": "IMAGE",
"links": [
97
115
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImagesGridByColumns"
"Node name for S&R": "ImageCombine"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "GridAnnotation",
"pos": [
350,
690
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "GRID_ANNOTATION",
"type": "GRID_ANNOTATION",
"links": [
102
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GridAnnotation"
},
"widgets_values": [
5,
2
"Column 1; Column 2",
"My favorite; Others;Meow",
400
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 61,
"type": "ImagesGridByRows",
"pos": [
740,
380
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 115
},
{
"name": "annotation",
"type": "GRID_ANNOTATION",
"link": 102
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
121
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImagesGridByRows"
},
"widgets_values": [
30,
3
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 70,
"type": "PreviewImage",
"pos": [
1080,
380
],
"size": {
"0": 353,
"1": 510
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 121
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
90,
41,
102,
60,
0,
54,
0,
"IMAGE"
61,
1,
"GRID_ANNOTATION"
],
[
91,
42,
104,
63,
0,
54,
1,
"IMAGE"
],
[
93,
54,
105,
62,
0,
55,
0,
1,
"IMAGE"
],
[
94,
106,
43,
0,
55,
65,
1,
"IMAGE"
],
[
95,
110,
55,
0,
53,
54,
0,
"IMAGE"
],
[
97,
53,
112,
42,
0,
56,
67,
1,
"IMAGE"
],
[
113,
67,
0,
65,
0,
"IMAGE"
],
[
114,
65,
0,
55,
0,
"IMAGE"
],
[
115,
54,
0,
61,
0,
"IMAGE"
],
[
118,
69,
0,
67,
0,
"IMAGE"
],
[
119,
68,
0,
69,
0,
"IMAGE"
],
[
120,
41,
0,
69,
1,
"IMAGE"
],
[
121,
61,
0,
70,
0,
"IMAGE"
]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 273 KiB

After

Width:  |  Height:  |  Size: 96 KiB