{
  "id": "c05fc5ca-84cc-4a12-9e1a-3dbddf62dcde",
  "revision": 0,
  "last_node_id": 7,
  "last_link_id": 6,
  "nodes": [
    {
      "id": 3,
      "type": "LoadImage",
      "pos": [
        3602.8349609375,
        -692.7393798828125
      ],
      "size": [
        222.798828125,
        314
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        "example.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "example.png",
        "upload": "image"
      }
    },
    {
      "id": 4,
      "type": "PrimitiveInt",
      "pos": [
        3610.344970703125,
        -312.99334716796875
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveInt",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [
        512,
        "fixed"
      ],
      "widgets_values_named": {
        "value": 512,
        "fixed": "fixed"
      }
    },
    {
      "id": 1,
      "type": "Power Puter (rgthree)",
      "pos": [
        3870.6129608154297,
        -692.7393798828125
      ],
      "size": [
        281.0826721191406,
        259.6524963378906
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "a",
          "type": "*",
          "link": 1
        },
        {
          "name": "b",
          "type": "*",
          "link": 2
        },
        {
          "name": "c",
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "label": "STRING",
          "name": "*",
          "shape": 3,
          "type": "STRING",
          "links": [
            3
          ]
        }
      ],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "0fb1e239a903e93ef626a8c20589b38f46e39dff"
      },
      "widgets_values": [
        {
          "outputs": [
            "STRING"
          ]
        },
        "# テンソルの形状から画像サイズを取得\n_, height, width, _ = a.shape\n\n# 条件に応じたメッセージを作成\nif width < b:\n    result = f\"This image is smaller than {b}\"\nelse:\n    result = f\"This image is larger than {b}\"\n\n# 結果を出力\nprint(result)\n\n# 結果を返す\nreturn result"
      ],
      "widgets_values_named": {
        "outputs": {
          "outputs": [
            "STRING"
          ]
        },
        "code": "# テンソルの形状から画像サイズを取得\n_, height, width, _ = a.shape\n\n# 条件に応じたメッセージを作成\nif width < b:\n    result = f\"This image is smaller than {b}\"\nelse:\n    result = f\"This image is larger than {b}\"\n\n# 結果を出力\nprint(result)\n\n# 結果を返す\nreturn result"
      },
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 5,
      "type": "PreviewAny",
      "pos": [
        4196.6748046875,
        -692.7393798828125
      ],
      "size": [
        231.9787423344451,
        140.7226323589715
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.3.59"
      },
      "widgets_values": [],
      "widgets_values_named": {}
    }
  ],
  "links": [
    [
      1,
      3,
      0,
      1,
      0,
      "*"
    ],
    [
      2,
      4,
      0,
      1,
      1,
      "*"
    ],
    [
      3,
      1,
      0,
      5,
      0,
      "*"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.9229599817707259,
      "offset": [
        -3016.5373781830453,
        1030.6340308008669
      ]
    },
    "frontendVersion": "1.51.9",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}