{
  "title": "On Persist Character Generate Visual",
  "id": "9537cc71-95d7-44f7-a0c4-f5b25598f7eb",
  "properties": {
    "event_name": "agent.director.character_management.after_persist_character"
  },
  "x": 0,
  "y": 0,
  "width": 200,
  "height": 100,
  "collapsed": false,
  "inherited": false,
  "registry": "agents/director/events/onPersistCharacterGenerateVisual",
  "nodes": {
    "027d577a-2b42-4176-a6b1-abdeafac5604": {
      "title": "Event",
      "id": "027d577a-2b42-4176-a6b1-abdeafac5604",
      "properties": {},
      "x": 46,
      "y": 559,
      "width": 140,
      "height": 26,
      "collapsed": false,
      "inherited": false,
      "registry": "event/Event",
      "base_type": "core/Graph"
    },
    "efa7509f-8719-4690-b424-fdf9dcbcf2c3": {
      "title": "GET obj.character",
      "id": "efa7509f-8719-4690-b424-fdf9dcbcf2c3",
      "properties": {
        "attribute": "character"
      },
      "x": 236,
      "y": 559,
      "width": 210,
      "height": 98,
      "collapsed": false,
      "inherited": false,
      "registry": "data/Get",
      "base_type": "core/Node"
    },
    "5e58b22d-1926-49e0-bce0-8929d27f2283": {
      "title": "Director Settings",
      "id": "5e58b22d-1926-49e0-bce0-8929d27f2283",
      "properties": {},
      "x": 26,
      "y": 221,
      "width": 329,
      "height": 766,
      "collapsed": true,
      "inherited": false,
      "registry": "agents/director/Settings",
      "base_type": "core/Node"
    },
    "897e4627-e5c5-408a-88a1-ad8789029256": {
      "title": "Make String",
      "id": "897e4627-e5c5-408a-88a1-ad8789029256",
      "properties": {
        "value": "CHARACTER_CARD"
      },
      "x": 866,
      "y": 511,
      "width": 210,
      "height": 58,
      "collapsed": false,
      "inherited": false,
      "registry": "data/string/Make",
      "base_type": "core/Node"
    },
    "c623e81c-0ef9-472b-9f6d-80a9e9eb629a": {
      "title": "Backend Status",
      "id": "c623e81c-0ef9-472b-9f6d-80a9e9eb629a",
      "properties": {},
      "x": 526,
      "y": 81,
      "width": 170,
      "height": 66,
      "collapsed": false,
      "inherited": false,
      "registry": "agents/visual/BackendStatus",
      "base_type": "core/Node"
    },
    "00cf2894-024c-4ef7-86af-880b016efcfb": {
      "title": "SET local.character_management_generate_visuals",
      "id": "00cf2894-024c-4ef7-86af-880b016efcfb",
      "properties": {
        "name": "character_management_generate_visuals",
        "scope": "local"
      },
      "x": 306,
      "y": 281,
      "width": 395,
      "height": 122,
      "collapsed": false,
      "inherited": false,
      "registry": "state/SetState",
      "base_type": "core/Node"
    },
    "1fd9743b-ee6b-495c-8d94-22df1f08b3ce": {
      "title": "AND Router",
      "id": "1fd9743b-ee6b-495c-8d94-22df1f08b3ce",
      "properties": {},
      "x": 856,
      "y": 231,
      "width": 140,
      "height": 106,
      "collapsed": false,
      "inherited": false,
      "registry": "core/ANDRouter",
      "base_type": "core/Node"
    },
    "73990dce-c368-4a71-8f82-4dc19f258d5d": {
      "title": "character",
      "id": "73990dce-c368-4a71-8f82-4dc19f258d5d",
      "properties": {},
      "x": 1036,
      "y": 321,
      "width": 140,
      "height": 26,
      "collapsed": false,
      "inherited": false,
      "registry": "core/Watch",
      "base_type": "core/Node"
    },
    "691caee7-f5cc-46c7-9002-8937c91d6e06": {
      "title": "Generate Visual Asset",
      "id": "691caee7-f5cc-46c7-9002-8937c91d6e06",
      "properties": {},
      "x": 1246,
      "y": 541,
      "width": 262,
      "height": 186,
      "collapsed": false,
      "inherited": false,
      "registry": "agents/visual/generateVisualAsset",
      "base_type": "core/Graph"
    },
    "929c8bae-6985-4787-b03d-ed27e3cdb1a6": {
      "title": "Argument",
      "id": "929c8bae-6985-4787-b03d-ed27e3cdb1a6",
      "properties": {
        "name": "response",
        "typ": "any"
      },
      "x": 26,
      "y": 842,
      "width": 210,
      "height": 82,
      "collapsed": false,
      "inherited": false,
      "registry": "core/functions/Argument",
      "base_type": "core/Node"
    },
    "73dc659a-ee43-4d69-b65a-483efd93420f": {
      "title": "Set Cover Image From Generation",
      "id": "73dc659a-ee43-4d69-b65a-483efd93420f",
      "properties": {},
      "x": 306,
      "y": 842,
      "width": 329,
      "height": 66,
      "collapsed": false,
      "inherited": false,
      "registry": "agents/visual/setCoverImageFromGeneration",
      "base_type": "core/Graph"
    },
    "0a39c52d-8729-4283-b080-5650ce426fc5": {
      "title": "Define Function",
      "id": "0a39c52d-8729-4283-b080-5650ce426fc5",
      "properties": {
        "name": "set_cover_image"
      },
      "x": 886,
      "y": 851,
      "width": 210,
      "height": 78,
      "collapsed": false,
      "inherited": false,
      "registry": "core/functions/DefineFunction",
      "base_type": "core/Node"
    },
    "1b5a5934-9c44-45c6-a963-6b187df2a5cf": {
      "title": "Return",
      "id": "1b5a5934-9c44-45c6-a963-6b187df2a5cf",
      "properties": {},
      "x": 686,
      "y": 862,
      "width": 140,
      "height": 26,
      "collapsed": false,
      "inherited": false,
      "registry": "core/functions/Return",
      "base_type": "core/Node"
    },
    "bdd4502a-fa69-4b85-abd2-8339ac97c39a": {
      "title": "FN set_cover_image",
      "id": "bdd4502a-fa69-4b85-abd2-8339ac97c39a",
      "properties": {
        "name": "set_cover_image"
      },
      "x": 1006,
      "y": 681,
      "width": 210,
      "height": 78,
      "collapsed": true,
      "inherited": false,
      "registry": "core/functions/GetFunction",
      "base_type": "core/Node"
    },
    "0f4f9bb1-5bc4-43a7-b365-a739cb8a9e2d": {
      "title": "SET local.character",
      "id": "0f4f9bb1-5bc4-43a7-b365-a739cb8a9e2d",
      "properties": {
        "name": "character",
        "scope": "local"
      },
      "x": 506,
      "y": 551,
      "width": 210,
      "height": 122,
      "collapsed": false,
      "inherited": false,
      "registry": "state/SetState",
      "base_type": "core/Node"
    },
    "d440192e-f409-4a21-9cc8-a1425ee69ad7": {
      "title": "Module Style",
      "id": "d440192e-f409-4a21-9cc8-a1425ee69ad7",
      "properties": {
        "node_color": "#27233a",
        "title_color": "#3d315b",
        "auto_title": null,
        "icon": "F0E0C"
      },
      "x": 1300,
      "y": 50,
      "width": 210,
      "height": 110,
      "collapsed": false,
      "inherited": false,
      "registry": "util/ModuleStyle",
      "base_type": "core/Node"
    }
  },
  "edges": {
    "027d577a-2b42-4176-a6b1-abdeafac5604.event": [
      "efa7509f-8719-4690-b424-fdf9dcbcf2c3.object"
    ],
    "efa7509f-8719-4690-b424-fdf9dcbcf2c3.value": [
      "0f4f9bb1-5bc4-43a7-b365-a739cb8a9e2d.value"
    ],
    "5e58b22d-1926-49e0-bce0-8929d27f2283.character_management_generate_visuals": [
      "00cf2894-024c-4ef7-86af-880b016efcfb.value"
    ],
    "897e4627-e5c5-408a-88a1-ad8789029256.value": [
      "691caee7-f5cc-46c7-9002-8937c91d6e06.vis_type"
    ],
    "c623e81c-0ef9-472b-9f6d-80a9e9eb629a.can_generate_images": [
      "1fd9743b-ee6b-495c-8d94-22df1f08b3ce.a"
    ],
    "00cf2894-024c-4ef7-86af-880b016efcfb.value": [
      "1fd9743b-ee6b-495c-8d94-22df1f08b3ce.b"
    ],
    "1fd9743b-ee6b-495c-8d94-22df1f08b3ce.yes": [
      "73990dce-c368-4a71-8f82-4dc19f258d5d.value"
    ],
    "73990dce-c368-4a71-8f82-4dc19f258d5d.value": [
      "691caee7-f5cc-46c7-9002-8937c91d6e06.state",
      "691caee7-f5cc-46c7-9002-8937c91d6e06.character"
    ],
    "929c8bae-6985-4787-b03d-ed27e3cdb1a6.value": [
      "73dc659a-ee43-4d69-b65a-483efd93420f.generation_response",
      "73dc659a-ee43-4d69-b65a-483efd93420f.state"
    ],
    "73dc659a-ee43-4d69-b65a-483efd93420f.asset_id": [
      "1b5a5934-9c44-45c6-a963-6b187df2a5cf.value"
    ],
    "1b5a5934-9c44-45c6-a963-6b187df2a5cf.value": [
      "0a39c52d-8729-4283-b080-5650ce426fc5.nodes"
    ],
    "bdd4502a-fa69-4b85-abd2-8339ac97c39a.fn": [
      "691caee7-f5cc-46c7-9002-8937c91d6e06.callback"
    ],
    "0f4f9bb1-5bc4-43a7-b365-a739cb8a9e2d.value": [
      "1fd9743b-ee6b-495c-8d94-22df1f08b3ce.value"
    ]
  },
  "groups": [
    {
      "title": "Function",
      "x": 1,
      "y": 762,
      "width": 1120,
      "height": 192,
      "color": "#b06634",
      "font_size": 24,
      "inherited": false
    },
    {
      "title": "Process",
      "x": 1,
      "y": 1,
      "width": 1530,
      "height": 758,
      "color": "#3f789e",
      "font_size": 24,
      "inherited": false
    }
  ],
  "comments": [],
  "extends": null,
  "base_type": "core/Event",
  "inputs": [],
  "outputs": [],
  "module_properties": {},
  "style": {
    "title_color": "#3d315b",
    "node_color": "#27233a",
    "icon": "F0E0C",
    "auto_title": null,
    "counterpart": null
  }
}