{
  "dependencies": [
    {
      "typeId": "nodra.adjust.huesat",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.ai.subjectmask",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.analyze.dimensions",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.blend.maskmix",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.control.slider",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.filter.gaussianblur",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.gen.gradient",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.gen.masktopath",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.gen.pathmask",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.gen.solid",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.io.fileinput",
      "version": "0.2.0"
    },
    {
      "typeId": "nodra.io.hostpathout",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.path.corners",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.path.offset",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.path.simplify",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.transform.move",
      "version": "0.1.0"
    },
    {
      "typeId": "nodra.view.preview",
      "version": "0.1.0"
    }
  ],
  "editor": {
    "names": {
      "1": "Fallback Image",
      "10": "Round Die-Cut Corners",
      "11": "Simplify for a Clean Cut Line",
      "12": "Die-Cut Path for Photoshop",
      "13": "Sticker Shape Mask",
      "14": "Backdrop",
      "15": "Backdrop Hue",
      "16": "Backdrop Hue",
      "17": "Shadow Softness (px)",
      "18": "Shadow Strength",
      "19": "Soften Shadow",
      "2": "Source Image",
      "20": "Drop Shadow Downwards",
      "21": "Shadow Colour",
      "22": "Cast Shadow",
      "23": "Sticker White",
      "24": "White Die-Cut Border",
      "25": "Subject on Sticker",
      "26": "Die-Cut Sticker Preview",
      "3": "Image Size",
      "4": "Find Subject (Apple Vision)",
      "5": "Clean Pen Path from Subject",
      "6": "Smooth Fur Outline",
      "7": "Sticker Border (px)",
      "8": "Grow Outline Outward",
      "9": "Corner Softness (px)"
    },
    "pluginPreviewNode": "26",
    "positions": {
      "1": [
        0.0,
        0.0
      ],
      "10": [
        1800.0,
        0.0
      ],
      "11": [
        2100.0,
        0.0
      ],
      "12": [
        2400.0,
        0.0
      ],
      "13": [
        2400.0,
        120.0
      ],
      "14": [
        900.0,
        120.0
      ],
      "15": [
        0.0,
        360.0
      ],
      "16": [
        1200.0,
        120.0
      ],
      "17": [
        0.0,
        480.0
      ],
      "18": [
        0.0,
        600.0
      ],
      "19": [
        2700.0,
        0.0
      ],
      "2": [
        300.0,
        0.0
      ],
      "20": [
        3000.0,
        0.0
      ],
      "21": [
        600.0,
        240.0
      ],
      "22": [
        3300.0,
        0.0
      ],
      "23": [
        600.0,
        360.0
      ],
      "24": [
        3600.0,
        0.0
      ],
      "25": [
        3900.0,
        0.0
      ],
      "26": [
        4200.0,
        0.0
      ],
      "3": [
        600.0,
        0.0
      ],
      "4": [
        600.0,
        120.0
      ],
      "5": [
        900.0,
        0.0
      ],
      "6": [
        1200.0,
        0.0
      ],
      "7": [
        0.0,
        120.0
      ],
      "8": [
        1500.0,
        0.0
      ],
      "9": [
        0.0,
        240.0
      ]
    },
    "schemaVersion": 1
  },
  "format": "nodra-patch",
  "formatVersion": 1,
  "graph": {
    "connections": [
      {
        "dst": [
          2,
          1
        ],
        "src": [
          1,
          0
        ]
      },
      {
        "dst": [
          3,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          4,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          5,
          0
        ],
        "src": [
          4,
          0
        ]
      },
      {
        "dst": [
          5,
          1
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          6,
          0
        ],
        "src": [
          5,
          7
        ]
      },
      {
        "dst": [
          8,
          0
        ],
        "src": [
          6,
          0
        ]
      },
      {
        "dst": [
          8,
          1
        ],
        "src": [
          7,
          0
        ]
      },
      {
        "dst": [
          10,
          0
        ],
        "src": [
          8,
          0
        ]
      },
      {
        "dst": [
          10,
          2
        ],
        "src": [
          9,
          0
        ]
      },
      {
        "dst": [
          11,
          0
        ],
        "src": [
          10,
          0
        ]
      },
      {
        "dst": [
          12,
          0
        ],
        "src": [
          11,
          1
        ]
      },
      {
        "dst": [
          13,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          13,
          1
        ],
        "src": [
          11,
          1
        ]
      },
      {
        "dst": [
          14,
          0
        ],
        "src": [
          3,
          0
        ]
      },
      {
        "dst": [
          14,
          1
        ],
        "src": [
          3,
          1
        ]
      },
      {
        "dst": [
          16,
          0
        ],
        "src": [
          14,
          0
        ]
      },
      {
        "dst": [
          16,
          1
        ],
        "src": [
          15,
          0
        ]
      },
      {
        "dst": [
          19,
          0
        ],
        "src": [
          13,
          0
        ]
      },
      {
        "dst": [
          19,
          1
        ],
        "src": [
          17,
          0
        ]
      },
      {
        "dst": [
          20,
          0
        ],
        "src": [
          19,
          0
        ]
      },
      {
        "dst": [
          21,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          22,
          0
        ],
        "src": [
          16,
          0
        ]
      },
      {
        "dst": [
          22,
          1
        ],
        "src": [
          21,
          0
        ]
      },
      {
        "dst": [
          22,
          2
        ],
        "src": [
          20,
          0
        ]
      },
      {
        "dst": [
          22,
          4
        ],
        "src": [
          18,
          0
        ]
      },
      {
        "dst": [
          23,
          0
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          24,
          0
        ],
        "src": [
          22,
          0
        ]
      },
      {
        "dst": [
          24,
          1
        ],
        "src": [
          23,
          0
        ]
      },
      {
        "dst": [
          24,
          2
        ],
        "src": [
          13,
          0
        ]
      },
      {
        "dst": [
          25,
          0
        ],
        "src": [
          24,
          0
        ]
      },
      {
        "dst": [
          25,
          1
        ],
        "src": [
          2,
          0
        ]
      },
      {
        "dst": [
          25,
          2
        ],
        "src": [
          4,
          0
        ]
      },
      {
        "dst": [
          26,
          0
        ],
        "src": [
          25,
          0
        ]
      }
    ],
    "nodes": [
      {
        "id": 1,
        "params": {
          "colorA": {
            "t": "color",
            "v": [
              0.5840784907341003,
              0.3613068759441376,
              0.19461780786514282,
              1.0
            ]
          },
          "colorB": {
            "t": "color",
            "v": [
              0.14702728390693665,
              0.10224174708127975,
              0.06847818195819855,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 768
          },
          "type": {
            "t": "int",
            "v": 2
          },
          "width": {
            "t": "int",
            "v": 768
          }
        },
        "type": "nodra.gen.gradient"
      },
      {
        "id": 2,
        "params": {
          "containerMode": {
            "t": "int",
            "v": 0
          },
          "exifOrientation": {
            "t": "int",
            "v": 0
          },
          "file": {
            "t": "string",
            "v": ""
          },
          "tiffPage": {
            "t": "int",
            "v": 1
          }
        },
        "type": "nodra.io.fileinput"
      },
      {
        "id": 3,
        "params": {},
        "type": "nodra.analyze.dimensions"
      },
      {
        "id": 4,
        "params": {
          "feather": {
            "t": "float",
            "v": 0.0
          },
          "index": {
            "t": "int",
            "v": 1
          },
          "invert": {
            "t": "bool",
            "v": false
          },
          "margin": {
            "t": "float",
            "v": 0.0
          },
          "selection": {
            "t": "int",
            "v": 0
          },
          "threshold": {
            "t": "float",
            "v": 0.0
          }
        },
        "type": "nodra.ai.subjectmask"
      },
      {
        "id": 5,
        "params": {
          "band": {
            "t": "float",
            "v": 6.0
          },
          "cornerAngle": {
            "t": "float",
            "v": 35.0
          },
          "edgeGuide": {
            "t": "bool",
            "v": true
          },
          "edgeThreshold": {
            "t": "float",
            "v": 4.0
          },
          "equalRadii": {
            "t": "bool",
            "v": false
          },
          "extremes": {
            "t": "bool",
            "v": true
          },
          "holes": {
            "t": "bool",
            "v": true
          },
          "inset": {
            "t": "float",
            "v": 0.5
          },
          "minArea": {
            "t": "float",
            "v": 16.0
          },
          "previewMode": {
            "t": "int",
            "v": 0
          },
          "radiusTolerance": {
            "t": "float",
            "v": 4.0
          },
          "shapes": {
            "t": "int",
            "v": 2
          },
          "showStats": {
            "t": "bool",
            "v": false
          },
          "smooth": {
            "t": "float",
            "v": 0.7
          },
          "symmetry": {
            "t": "bool",
            "v": false
          },
          "symmetryTolerance": {
            "t": "float",
            "v": 1.0
          },
          "threshold": {
            "t": "float",
            "v": 0.5
          },
          "tolerance": {
            "t": "float",
            "v": 0.5
          }
        },
        "type": "nodra.gen.masktopath"
      },
      {
        "id": 6,
        "params": {
          "concave": {
            "t": "bool",
            "v": true
          },
          "convex": {
            "t": "bool",
            "v": true
          },
          "maxAngle": {
            "t": "float",
            "v": 180.0
          },
          "mode": {
            "t": "int",
            "v": 0
          },
          "radius": {
            "t": "float",
            "v": 14.0
          }
        },
        "type": "nodra.path.corners"
      },
      {
        "id": 7,
        "params": {
          "max": {
            "t": "float",
            "v": 70.0
          },
          "min": {
            "t": "float",
            "v": 6.0
          },
          "value": {
            "t": "float",
            "v": 30.0
          }
        },
        "type": "nodra.control.slider"
      },
      {
        "id": 8,
        "params": {
          "distance": {
            "t": "float",
            "v": 30.0
          },
          "join": {
            "t": "int",
            "v": 0
          },
          "miterLimit": {
            "t": "float",
            "v": 4.0
          },
          "tolerance": {
            "t": "float",
            "v": 0.1
          }
        },
        "type": "nodra.path.offset"
      },
      {
        "id": 9,
        "params": {
          "max": {
            "t": "float",
            "v": 120.0
          },
          "min": {
            "t": "float",
            "v": 0.0
          },
          "value": {
            "t": "float",
            "v": 40.0
          }
        },
        "type": "nodra.control.slider"
      },
      {
        "id": 10,
        "params": {
          "concave": {
            "t": "bool",
            "v": true
          },
          "convex": {
            "t": "bool",
            "v": true
          },
          "maxAngle": {
            "t": "float",
            "v": 180.0
          },
          "mode": {
            "t": "int",
            "v": 0
          },
          "radius": {
            "t": "float",
            "v": 40.0
          }
        },
        "type": "nodra.path.corners"
      },
      {
        "id": 11,
        "params": {
          "mode": {
            "t": "int",
            "v": 0
          },
          "smooth": {
            "t": "float",
            "v": 0.0
          },
          "targetAnchors": {
            "t": "int",
            "v": 50
          },
          "tolerance": {
            "t": "float",
            "v": 2.5
          }
        },
        "type": "nodra.path.simplify"
      },
      {
        "id": 12,
        "params": {
          "name": {
            "t": "string",
            "v": "Schnittkontur"
          },
          "nameEn": {
            "t": "string",
            "v": "Die-Cut Path"
          },
          "target": {
            "t": "int",
            "v": 1
          }
        },
        "type": "nodra.io.hostpathout"
      },
      {
        "id": 13,
        "params": {
          "coordinateMode": {
            "t": "int",
            "v": 0
          },
          "feather": {
            "t": "float",
            "v": 1.2
          },
          "fillRule": {
            "t": "int",
            "v": 0
          },
          "invert": {
            "t": "bool",
            "v": false
          },
          "offsetX": {
            "t": "float",
            "v": 0.0
          },
          "offsetY": {
            "t": "float",
            "v": 0.0
          },
          "path": {
            "t": "string",
            "v": "M 0.5,0.05 C 0.77,0.05 0.95,0.23 0.95,0.45 C 0.95,0.68 0.73,0.86 0.5,0.98 C 0.27,0.86 0.05,0.68 0.05,0.45 C 0.05,0.23 0.23,0.05 0.5,0.05 Z"
          },
          "rotation": {
            "t": "float",
            "v": 0.0
          },
          "scale": {
            "t": "float",
            "v": 1.0
          }
        },
        "type": "nodra.gen.pathmask"
      },
      {
        "id": 14,
        "params": {
          "colorA": {
            "t": "color",
            "v": [
              0.04373502731323242,
              0.15896086394786835,
              0.3915725648403168,
              1.0
            ]
          },
          "colorB": {
            "t": "color",
            "v": [
              0.008023192174732685,
              0.02955683320760727,
              0.07818742841482162,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 512
          },
          "type": {
            "t": "int",
            "v": 2
          },
          "width": {
            "t": "int",
            "v": 512
          }
        },
        "type": "nodra.gen.gradient"
      },
      {
        "id": 15,
        "params": {
          "max": {
            "t": "float",
            "v": 180.0
          },
          "min": {
            "t": "float",
            "v": -180.0
          },
          "value": {
            "t": "float",
            "v": 0.0
          }
        },
        "type": "nodra.control.slider"
      },
      {
        "id": 16,
        "params": {
          "colorSpace": {
            "t": "int",
            "v": 0
          },
          "hue": {
            "t": "float",
            "v": 0.0
          },
          "lightness": {
            "t": "float",
            "v": 0.0
          },
          "saturation": {
            "t": "float",
            "v": 0.0
          }
        },
        "type": "nodra.adjust.huesat"
      },
      {
        "id": 17,
        "params": {
          "max": {
            "t": "float",
            "v": 60.0
          },
          "min": {
            "t": "float",
            "v": 2.0
          },
          "value": {
            "t": "float",
            "v": 16.0
          }
        },
        "type": "nodra.control.slider"
      },
      {
        "id": 18,
        "params": {
          "max": {
            "t": "float",
            "v": 1.0
          },
          "min": {
            "t": "float",
            "v": 0.0
          },
          "value": {
            "t": "float",
            "v": 0.5
          }
        },
        "type": "nodra.control.slider"
      },
      {
        "id": 19,
        "params": {
          "radius": {
            "t": "float",
            "v": 16.0
          }
        },
        "type": "nodra.filter.gaussianblur"
      },
      {
        "id": 20,
        "params": {
          "edge": {
            "t": "int",
            "v": 0
          },
          "x": {
            "t": "float",
            "v": 0.0
          },
          "y": {
            "t": "float",
            "v": 14.0
          }
        },
        "type": "nodra.transform.move"
      },
      {
        "id": 21,
        "params": {
          "color": {
            "t": "color",
            "v": [
              0.0015176349552348256,
              0.003346535610035062,
              0.006995410192757845,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 512
          },
          "width": {
            "t": "int",
            "v": 512
          }
        },
        "type": "nodra.gen.solid"
      },
      {
        "id": 22,
        "params": {
          "invert": {
            "t": "bool",
            "v": false
          },
          "opacity": {
            "t": "float",
            "v": 0.5
          }
        },
        "type": "nodra.blend.maskmix"
      },
      {
        "id": 23,
        "params": {
          "color": {
            "t": "color",
            "v": [
              0.9646862745285034,
              0.9646862745285034,
              0.9386858940124512,
              1.0
            ]
          },
          "height": {
            "t": "int",
            "v": 512
          },
          "width": {
            "t": "int",
            "v": 512
          }
        },
        "type": "nodra.gen.solid"
      },
      {
        "id": 24,
        "params": {
          "invert": {
            "t": "bool",
            "v": false
          },
          "opacity": {
            "t": "float",
            "v": 1.0
          }
        },
        "type": "nodra.blend.maskmix"
      },
      {
        "id": 25,
        "params": {
          "invert": {
            "t": "bool",
            "v": false
          },
          "opacity": {
            "t": "float",
            "v": 1.0
          }
        },
        "type": "nodra.blend.maskmix"
      },
      {
        "id": 26,
        "params": {},
        "type": "nodra.view.preview"
      }
    ]
  },
  "metadata": {
    "author": "",
    "description": "A photo subject becomes a die-cut sticker: Mask to Path traces the outline, Round Corners and Offset Path grow it into a smooth white border like a plotter cut line, Simplify keeps the cut line clean, and Path Mask turns it into the sticker shape with a soft drop shadow on a new backdrop. The same cut line is also sent to Photoshop as a path. Pick your own photo in the Image Input node; without one, a synthetic image is used.",
    "i18n": {
      "de": {
        "description": "Aus einem Motiv wird ein Die-Cut-Sticker: „Maske zu Pfad“ zeichnet den Umriss nach, „Ecken abrunden“ und „Pfad versetzen“ lassen daraus einen glatten weißen Rand wachsen wie die Schnittlinie eines Plotters, „Pfad vereinfachen“ hält die Schnittlinie sauber, und die „Pfadmaske“ macht daraus die Stickerform mit weichem Schlagschatten auf einem neuen Hintergrund. Dieselbe Schnittlinie geht auch als Pfad an Photoshop. Eigenes Foto im Bild-Eingang wählen; ohne Foto wird ein synthetisches Bild verwendet.",
        "name": "Showcase: Die-Cut-Sticker"
      }
    },
    "name": "Showcase: Die-Cut Sticker"
  },
  "ui": {
    "assets": {},
    "elements": [
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "id": 1,
        "size": 1,
        "text": "Die-Cut-Sticker",
        "textEn": "Die-Cut Sticker",
        "type": "heading"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Wie breit der weiße Rand um das Motiv ist.",
        "helpEn": "How wide the white border around the subject is.",
        "id": 2,
        "label": "Randbreite",
        "labelEn": "Sticker Border (px)",
        "nodeId": "7",
        "param": "value",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Rundet Einbuchtungen und Spitzen des Randes ab, so wie ein Schneideplotter die Kontur schneidet.",
        "helpEn": "Rounds the dents and tips of the border, the way a cutting plotter follows the contour.",
        "id": 3,
        "label": "Kantenrundung",
        "labelEn": "Corner Softness (px)",
        "nodeId": "9",
        "param": "value",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Dreht die Farbe des neuen Hintergrunds, bis sie zum Motiv passt.",
        "helpEn": "Turns the colour of the new backdrop until it suits the subject.",
        "id": 4,
        "label": "Hintergrundfarbe",
        "labelEn": "Backdrop Hue",
        "nodeId": "15",
        "param": "value",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Wie weich der Schlagschatten unter dem Sticker ausläuft.",
        "helpEn": "How softly the drop shadow under the sticker fades.",
        "id": 5,
        "label": "Schattenweichheit",
        "labelEn": "Shadow Softness (px)",
        "nodeId": "17",
        "param": "value",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      },
      {
        "frame": {
          "h": 8,
          "w": 8,
          "x": 0,
          "y": 0
        },
        "help": "Wie dunkel der Schatten ist, der den Sticker vom Untergrund abhebt.",
        "helpEn": "How dark the shadow is that lifts the sticker off the surface.",
        "id": 6,
        "label": "Schattenstärke",
        "labelEn": "Shadow Strength",
        "nodeId": "18",
        "param": "value",
        "showValue": true,
        "type": "control",
        "widget": "slider"
      }
    ],
    "layout": {
      "align": "stretch",
      "direction": "vertical",
      "gap": "md",
      "justify": "start",
      "mode": "stack",
      "padding": "lg",
      "wrap": false
    },
    "minWidth": 240,
    "style": {
      "template": "infiniteDark"
    },
    "stylePresets": [],
    "version": 3
  }
}
