211 lines
5.5 KiB
JSON
211 lines
5.5 KiB
JSON
{
|
|
"last_node_id": 8,
|
|
"last_link_id": 8,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [50, 50],
|
|
"size": {"0": 315, "1": 314},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{"name": "IMAGE", "type": "IMAGE", "links": [1], "slot_index": 0},
|
|
{"name": "MASK", "type": "MASK", "links": null}
|
|
],
|
|
"properties": {"Node name for S&R": "LoadImage"},
|
|
"widgets_values": ["example.png", "image"]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "DCIImage",
|
|
"pos": [400, 50],
|
|
"size": {"0": 315, "1": 334},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "image", "type": "IMAGE", "link": 1}
|
|
],
|
|
"outputs": [
|
|
{"name": "dci_image_data", "type": "DCI_IMAGE_DATA", "links": [2], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "DCIImage"},
|
|
"widgets_values": [
|
|
256,
|
|
"normal",
|
|
"dark",
|
|
1,
|
|
"webp"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "DCIFileNode",
|
|
"pos": [750, 50],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "dci_image_1", "type": "DCI_IMAGE_DATA", "link": 2}
|
|
],
|
|
"outputs": [
|
|
{"name": "dci_binary_data", "type": "BINARY_DATA", "links": [3], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "DCIFileNode"}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "DCIPreviewNode",
|
|
"pos": [1100, 50],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "dci_binary_data", "type": "BINARY_DATA", "link": 3}
|
|
],
|
|
"outputs": [],
|
|
"properties": {"Node name for S&R": "DCIPreviewNode"},
|
|
"widgets_values": [4]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "BinaryFileSaver",
|
|
"pos": [1100, 250],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "binary_data", "type": "BINARY_DATA", "link": 4},
|
|
{"name": "file_name", "type": "STRING", "link": null},
|
|
{"name": "output_directory", "type": "STRING", "link": null}
|
|
],
|
|
"outputs": [
|
|
{"name": "saved_path", "type": "STRING", "links": [], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "BinaryFileSaver"},
|
|
"widgets_values": ["example_icon.dci", ""]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "LoadImage",
|
|
"pos": [50, 450],
|
|
"size": {"0": 315, "1": 314},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{"name": "IMAGE", "type": "IMAGE", "links": [5], "slot_index": 0},
|
|
{"name": "MASK", "type": "MASK", "links": null}
|
|
],
|
|
"properties": {"Node name for S&R": "LoadImage"},
|
|
"widgets_values": ["hover_state.png", "image"]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "DCIImage",
|
|
"pos": [400, 450],
|
|
"size": {"0": 315, "1": 334},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "image", "type": "IMAGE", "link": 5}
|
|
],
|
|
"outputs": [
|
|
{"name": "dci_image_data", "type": "DCI_IMAGE_DATA", "links": [6], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "DCIImage"},
|
|
"widgets_values": [
|
|
256,
|
|
"hover",
|
|
"dark",
|
|
1,
|
|
"webp"
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "DCIFileNode",
|
|
"pos": [750, 450],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "dci_image_1", "type": "DCI_IMAGE_DATA", "link": 2},
|
|
{"name": "dci_image_2", "type": "DCI_IMAGE_DATA", "link": 6}
|
|
],
|
|
"outputs": [
|
|
{"name": "dci_binary_data", "type": "BINARY_DATA", "links": [7, 8], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "DCIFileNode"}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "DCIPreviewNode",
|
|
"pos": [1100, 450],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "dci_binary_data", "type": "BINARY_DATA", "link": 7}
|
|
],
|
|
"outputs": [],
|
|
"properties": {"Node name for S&R": "DCIPreviewNode"},
|
|
"widgets_values": [4]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "BinaryFileSaver",
|
|
"pos": [1100, 650],
|
|
"size": {"0": 315, "1": 154},
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{"name": "binary_data", "type": "BINARY_DATA", "link": 8},
|
|
{"name": "file_name", "type": "STRING", "link": null},
|
|
{"name": "output_directory", "type": "STRING", "link": null}
|
|
],
|
|
"outputs": [
|
|
{"name": "saved_path", "type": "STRING", "links": [], "slot_index": 0}
|
|
],
|
|
"properties": {"Node name for S&R": "BinaryFileSaver"},
|
|
"widgets_values": ["multi_state_icon.dci", ""]
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 2, 0, "IMAGE"],
|
|
[2, 2, 0, 3, 0, "DCI_IMAGE_DATA"],
|
|
[3, 3, 0, 4, 0, "BINARY_DATA"],
|
|
[4, 3, 0, 5, 0, "BINARY_DATA"],
|
|
[5, 6, 0, 7, 0, "IMAGE"],
|
|
[6, 7, 0, 8, 1, "DCI_IMAGE_DATA"],
|
|
[7, 8, 0, 9, 0, "BINARY_DATA"],
|
|
[8, 8, 0, 10, 0, "BINARY_DATA"]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Single Image DCI Creation & Preview",
|
|
"bounding": [25, -25, 1450, 350],
|
|
"color": "#3f789e",
|
|
"font_size": 24
|
|
},
|
|
{
|
|
"title": "Multi-State DCI Creation & Preview",
|
|
"bounding": [25, 375, 1450, 450],
|
|
"color": "#8f4673",
|
|
"font_size": 24
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
}
|