From 35ef662ae1dcd5de13dda436c07aff1fdde922fc Mon Sep 17 00:00:00 2001 From: chflame163 <130118553+chflame163@users.noreply.github.com> Date: Sun, 21 Jan 2024 19:09:18 +0800 Subject: [PATCH] update example workflow --- workflow/drop_shadow_example.json | 157 ++++++++++++++-------------- workflow/outer_glow_example.json | 165 +++++++++++++++--------------- 2 files changed, 162 insertions(+), 160 deletions(-) diff --git a/workflow/drop_shadow_example.json b/workflow/drop_shadow_example.json index 9becdfa..ed143ca 100644 --- a/workflow/drop_shadow_example.json +++ b/workflow/drop_shadow_example.json @@ -1,6 +1,6 @@ { - "last_node_id": 18, - "last_link_id": 35, + "last_node_id": 19, + "last_link_id": 41, "nodes": [ { "id": 4, @@ -9,10 +9,10 @@ 1360, 390 ], - "size": [ - 310.00006103515625, - 308.33331298828125 - ], + "size": { + "0": 310.00006103515625, + "1": 308.33331298828125 + }, "flags": {}, "order": 3, "mode": 0, @@ -20,13 +20,69 @@ { "name": "images", "type": "IMAGE", - "link": 34 + "link": 39 } ], "properties": { "Node name for S&R": "PreviewImage" } }, + { + "id": 19, + "type": "LayerStyle: DropShadow", + "pos": [ + 1009, + 406 + ], + "size": { + "0": 315, + "1": 266 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "background_image", + "type": "IMAGE", + "link": 36 + }, + { + "name": "layer_image", + "type": "IMAGE", + "link": 37 + }, + { + "name": "layer_mask", + "type": "MASK", + "link": 41 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 39 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LayerStyle: DropShadow" + }, + "widgets_values": [ + true, + "normal", + 50, + 25, + 25, + 6, + 18, + "#000000" + ] + }, { "id": 2, "type": "LoadImage", @@ -46,7 +102,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 32 + 36 ], "shape": 3, "slot_index": 0 @@ -54,8 +110,9 @@ { "name": "MASK", "type": "MASK", - "links": null, - "shape": 3 + "links": [], + "shape": 3, + "slot_index": 1 } ], "properties": { @@ -66,68 +123,12 @@ "image" ] }, - { - "id": 18, - "type": "LayerStyle_DropShadow", - "pos": [ - 1013, - 414 - ], - "size": { - "0": 315, - "1": 266 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "background_image", - "type": "IMAGE", - "link": 32 - }, - { - "name": "layer_image", - "type": "IMAGE", - "link": 33 - }, - { - "name": "layer_mask", - "type": "MASK", - "link": 35 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 34 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "LayerStyle_DropShadow" - }, - "widgets_values": [ - true, - "normal", - 50, - 25, - 25, - 6, - 18, - "#000000" - ] - }, { "id": 15, "type": "LoadImage", "pos": [ - 660, - 399 + 662, + 397 ], "size": { "0": 315, @@ -141,7 +142,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 33 + 37 ], "shape": 3, "slot_index": 0 @@ -150,7 +151,7 @@ "name": "MASK", "type": "MASK", "links": [ - 35 + 41 ], "shape": 3, "slot_index": 1 @@ -167,34 +168,34 @@ ], "links": [ [ - 32, + 36, 2, 0, - 18, + 19, 0, "IMAGE" ], [ - 33, + 37, 15, 0, - 18, + 19, 1, "IMAGE" ], [ - 34, - 18, + 39, + 19, 0, 4, 0, "IMAGE" ], [ - 35, + 41, 15, 1, - 18, + 19, 2, "MASK" ] diff --git a/workflow/outer_glow_example.json b/workflow/outer_glow_example.json index ce9d226..2828cac 100644 --- a/workflow/outer_glow_example.json +++ b/workflow/outer_glow_example.json @@ -1,6 +1,6 @@ { - "last_node_id": 20, - "last_link_id": 43, + "last_node_id": 21, + "last_link_id": 49, "nodes": [ { "id": 4, @@ -9,10 +9,10 @@ 1360, 390 ], - "size": [ - 310.00006103515625, - 308.33331298828125 - ], + "size": { + "0": 310.00006103515625, + "1": 308.33331298828125 + }, "flags": {}, "order": 3, "mode": 0, @@ -20,7 +20,7 @@ { "name": "images", "type": "IMAGE", - "link": 43 + "link": 47 } ], "properties": { @@ -46,7 +46,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 40 + 44 ], "shape": 3, "slot_index": 0 @@ -54,8 +54,9 @@ { "name": "MASK", "type": "MASK", - "links": null, - "shape": 3 + "links": [], + "shape": 3, + "slot_index": 1 } ], "properties": { @@ -66,6 +67,62 @@ "image" ] }, + { + "id": 21, + "type": "LayerStyle: OuterGlow", + "pos": [ + 1011, + 406 + ], + "size": { + "0": 315, + "1": 266 + }, + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [ + { + "name": "background_image", + "type": "IMAGE", + "link": 44 + }, + { + "name": "layer_image", + "type": "IMAGE", + "link": 45 + }, + { + "name": "layer_mask", + "type": "MASK", + "link": 49 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 47 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LayerStyle: OuterGlow" + }, + "widgets_values": [ + true, + "screen", + 100, + 5, + 48, + 25, + "#FFBF30", + "#FE0000" + ] + }, { "id": 15, "type": "LoadImage", @@ -85,7 +142,7 @@ "name": "IMAGE", "type": "IMAGE", "links": [ - 41 + 45 ], "shape": 3, "slot_index": 0 @@ -94,7 +151,7 @@ "name": "MASK", "type": "MASK", "links": [ - 42 + 49 ], "shape": 3, "slot_index": 1 @@ -107,96 +164,40 @@ "512x512 (14).png", "image" ] - }, - { - "id": 20, - "type": "LayerStyle_OuterGlow", - "pos": [ - 1012, - 423 - ], - "size": { - "0": 315, - "1": 266 - }, - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [ - { - "name": "background_image", - "type": "IMAGE", - "link": 40 - }, - { - "name": "layer_image", - "type": "IMAGE", - "link": 41 - }, - { - "name": "layer_mask", - "type": "MASK", - "link": 42 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 43 - ], - "shape": 3, - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "LayerStyle_OuterGlow" - }, - "widgets_values": [ - true, - "screen", - 100, - 8, - 48, - 25, - "#FFBF30", - "#FE0000" - ] } ], "links": [ [ - 40, + 44, 2, 0, - 20, + 21, 0, "IMAGE" ], [ - 41, + 45, 15, 0, - 20, + 21, 1, "IMAGE" ], [ - 42, - 15, - 1, - 20, - 2, - "MASK" - ], - [ - 43, - 20, + 47, + 21, 0, 4, 0, "IMAGE" + ], + [ + 49, + 15, + 1, + 21, + 2, + "MASK" ] ], "groups": [],