diff --git a/README.md b/README.md index 5b36d43..f2efe02 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,103 @@
Xircuits Component Library to interface with Discord! Create Discord Bots in seconds.Uses discord.py as backend.
-# Preview -![helloXircuitsDiscord](https://user-images.githubusercontent.com/68586800/232559150-593258f0-dfd7-43d5-9afa-069210bd6787.gif) +--- +## Xircuits Component Library for Discord -### Computer Vision Example -![DiscordCVBot](https://user-images.githubusercontent.com/68586800/232880388-0a999fa2-f9cf-40df-be51-73601afc8963.gif) +This library enables Xircuits to integrate with Discord, allowing seamless interaction with Discord bots and servers. It simplifies managing bot tokens, sending and receiving messages, and handling events in Discord channels and threads. +## Table of Contents + +- [Preview](#preview) +- [Prerequisites](#prerequisites) +- [Main Xircuits Components](#main-xircuits-components) +- [Try the Examples](#try-the-examples) +- [Installation](#installation) + +## Preview + +### Discord Bot Branch Example + +![DiscordBotBranchExample](https://github.com/user-attachments/assets/02002e08-7563-4459-96a6-9e7d4f05d490) + +### Discord Bot Branch Result + +![DiscordBotBranchExample_result](https://github.com/user-attachments/assets/403da056-f383-479a-a198-45834be61d05) + +### Discord Bot Computer Vision Example + +![DiscordBotCVisionExample](https://github.com/user-attachments/assets/192040bb-e7b8-41ad-ad77-f3c89cb1836e) + +### Discord Bot Computer Vision Result + +![DiscordBotCVisionExample_result](https://github.com/user-attachments/assets/08b78d39-1f0a-499b-8321-f3277dd44a88) + +### Discord Bot Message Responder Example + +![DiscordBotMessageResponder](https://github.com/user-attachments/assets/8d575682-656e-4605-b4d1-6467346bc4b5) + +### Discord Bot Message Responder Result + +![DiscordBotMessageResponder_result](https://github.com/user-attachments/assets/d57e44fa-cf32-4962-833f-906b3c9796f8) + +## Prerequisites + +Before you begin, you will need the following: + +1. Python3.9+. +2. Xircuits. + +## Main Xircuits Components + +### DiscordMessageResponder Component: +Adds a message responder that listens for a specific trigger message and responds with a predefined response. Multiple triggers and responses can be configured. + + + +### DiscordPostMessage Component: +Sends a message, with an optional attachment, as a reply to the original Discord message. Can include files in the response. + + + +### DiscordClientInit Component: +Initializes a Discord client with default intents, enabling message content handling. Adds the client to the context for further use. + +### DiscordShutdownBot Component: +Adds a shutdown command to the bot, allowing administrators to shut down the bot by sending a specific message. + +### DiscordDeployBot Component: +Deploys the Discord bot using the provided token. It runs the bot either in a standalone script or within Xircuits, handling events such as incoming messages. + +### DiscordTriggerBranch Component: +Listens for a specific trigger message and executes a connected component when the trigger is detected. Outputs the received message and its processed content. + +### DiscordEchoMessage Component: +Takes a Discord message as input and constructs an echo response by prepending "You said:" to the message content. + +### DiscordProcessImage Component: +Processes an image attachment from a Discord message triggered by a specified message. Outputs the image data and triggers a connected component for further processing. + +## Try The Examples + +We have provided an example workflow to help you get started with the Discord component library. Give it a try and see how you can create custom Discord components for your applications. + +### Discord Bot Branch Example + +The `DiscordBotBranchExample.xircuits` workflow creates a Discord bot that listens for messages starting with `@test` and replies with "You have said: [message]". It can also shut down using the command `$ayonara`. + +### Discord Bot Computer Vision Example + +The `DiscordBotCVisionExample.xircuits` workflow creates a Discord bot that listens for the command `$predict` with an image attachment. The bot processes the image using a MobileNetV2 model for predictions and responds with the predicted class. It also includes a shutdown command `$ayonara`. + +### Discord Bot Message Responder Example + +The `DiscordBotMessageResponder.xircuits` workflow sets up a Discord bot that listens for specific text commands and responds with predefined messages. For instance: + +- `$test`: The bot replies with "it works!". +- `$Hello there!`: The bot replies with "General Kenobi!". + +Additionally, the bot can be shut down using the `$ayonara` command. ## Installation diff --git a/examples/DiscordBotBranchExample.xircuits b/examples/DiscordBotBranchExample.xircuits index f207442..0bd047c 100644 --- a/examples/DiscordBotBranchExample.xircuits +++ b/examples/DiscordBotBranchExample.xircuits @@ -1,12 +1,12 @@ { "id": "8b6e5c03-966f-4c60-9968-76ed71abe89e", - "offsetX": -36.10416386815538, - "offsetY": 111.57364532880848, - "zoom": 79.5, + "offsetX": 191.35285891103004, + "offsetY": 99.49076277999757, + "zoom": 71.5, "gridSize": 0, "layers": [ { - "id": "1e1a277b-9c02-452a-b5b3-a97d7bae245f", + "id": "42eb17e5-c47c-40b6-b719-901c325de85a", "type": "diagram-links", "isSvg": true, "transformed": true, @@ -23,13 +23,13 @@ { "id": "915c1ef5-8f06-40e7-933c-2a4c473fdbb8", "type": "point", - "x": -122.18750559942988, - "y": 79.17500055145086 + "x": -173.76248973604726, + "y": 149.6125458479819 }, { "id": "95621c4e-c084-43ae-b917-0e9b75f78610", "type": "point", - "x": -76.11248840210284, + "x": -76.11248840210281, "y": 149.7749991695228 } ], @@ -51,14 +51,14 @@ { "id": "ea04db10-cce9-4c77-81e8-e7ec008835d0", "type": "point", - "x": 1026.3750888803047, - "y": 49.874997019856906 + "x": 1191.1500267799124, + "y": 32.275010685590004 }, { "id": "81d3895d-c4f5-4d7d-8ea5-68d2d4df0669", "type": "point", - "x": 1114.937484467962, - "y": 41.162497173404475 + "x": 1257.0749663493498, + "y": 34.88750730754363 } ], "labels": [], @@ -79,14 +79,14 @@ { "id": "a9dab119-5ba8-410e-aa03-1f7f10f2ccfc", "type": "point", - "x": 549.2500829783205, - "y": 135.46252373713287 + "x": 736.6625536699294, + "y": 150.5625062327107 }, { "id": "645d365c-36ce-4ea0-83c7-b8de54700b72", "type": "point", - "x": 597.7376238891492, - "y": 66.87501544556446 + "x": 807.8000335360052, + "y": 61.85000590642211 } ], "labels": [], @@ -107,14 +107,14 @@ { "id": "9bffc1c3-61d3-4397-88c8-a6df17660d03", "type": "point", - "x": 756.0625888803048, - "y": 45.2749999372606 + "x": 966.1375894273181, + "y": 40.24999399688926 }, { "id": "cb479acf-cef2-4094-8adf-8aa5387823bb", "type": "point", - "x": 883.5125326147199, - "y": 49.874997019856906 + "x": 1048.2875316934344, + "y": 32.275010685590004 } ], "labels": [], @@ -135,14 +135,14 @@ { "id": "77ee08ea-be87-4ce3-b6b3-30e61c78bd3f", "type": "point", - "x": 701.4999998227183, - "y": 234.87503516682955 + "x": 940.500059946186, + "y": 283.93752772936944 }, { "id": "4d1fbce2-0455-4881-9009-5d81a9f5456b", "type": "point", - "x": 779.0875833525926, - "y": 367.62501851651564 + "x": 1069.6499899284972, + "y": 363.8500132958985 } ], "labels": [], @@ -163,14 +163,14 @@ { "id": "0f90672c-a8f3-4b5a-a0dd-4a004c82f460", "type": "point", - "x": 701.4999998227183, - "y": 213.2750160597547 + "x": 940.500059946186, + "y": 262.3374930276202 }, { "id": "7d12c91d-84e8-4cd0-aff5-5feed4ac6cad", "type": "point", - "x": 779.0875833525926, - "y": 346.0250293991992 + "x": 1069.6499899284972, + "y": 342.2499785941493 } ], "labels": [], @@ -191,14 +191,14 @@ { "id": "fd28185b-ad23-421f-aa3d-46f9a51d8f6b", "type": "point", - "x": 59.18750490898144, + "x": 59.187520503655826, "y": 149.7749991695228 }, { "id": "da38e7e1-9fca-41da-acaf-1b27dc7f479a", "type": "point", - "x": 107.43753892936334, - "y": 151.9000206661816 + "x": 165.30001866108506, + "y": 149.3874835076714 } ], "labels": [], @@ -219,26 +219,26 @@ { "id": "7b09ccd1-a99f-4fe0-8764-1745c468fb60", "type": "point", - "x": 288.2750717885418, - "y": 195.10001329589858 + "x": 345.77502572427295, + "y": 192.58751452427907 }, { "id": "15515422-a5d6-470c-becc-919a24745739", "type": "point", - "x": 384.51, - "y": 189.866 + "x": 385.76786163522013, + "y": 194.8974465408805 }, { "id": "2620aea9-257d-4b3a-afcc-438a7eb6bff6", "type": "point", - "x": 380.065, - "y": 373.57 + "x": 383.83858490566035, + "y": 387.4064779874214 }, { "id": "1686d311-db3f-4707-9021-5fc0d02e4828", "type": "point", - "x": 779.0875833525926, - "y": 389.22505321826486 + "x": 1069.6499899284972, + "y": 385.45004799764774 } ], "labels": [], @@ -259,14 +259,14 @@ { "id": "0dd121b5-34d4-40ae-a3f0-5790c18de432", "type": "point", - "x": 288.2750717885418, - "y": 173.50001698104006 + "x": 345.77502572427295, + "y": 170.9875182094206 }, { "id": "1efa46c0-ecf7-456c-8ed6-e43356bec6dd", "type": "point", - "x": 584.7000538714606, - "y": 213.2750160597547 + "x": 823.7000216264723, + "y": 262.3374930276202 } ], "labels": [], @@ -287,14 +287,14 @@ { "id": "6ac54149-3ede-47b0-8df7-91af8e181c1d", "type": "point", - "x": 288.2750717885418, - "y": 151.9000206661816 + "x": 345.77502572427295, + "y": 149.3874835076714 }, { "id": "af65955a-82d7-41ab-a7f0-d97f4b026377", "type": "point", - "x": 597.7376238891492, - "y": 45.2749999372606 + "x": 807.8000335360052, + "y": 40.24999399688926 } ], "labels": [], @@ -315,14 +315,14 @@ { "id": "4a1c9de0-e9b8-45a2-af14-4ab0d7d920e1", "type": "point", - "x": 526.550071922896, - "y": 317.68755076150387 + "x": 720.262599120008, + "y": 461.0750633524041 }, { "id": "857bcb3e-0508-4d18-bb7a-00b2ad3c1fcd", "type": "point", - "x": 584.7000538714606, - "y": 234.87503516682955 + "x": 823.7000216264723, + "y": 283.93752772936944 } ], "labels": [], @@ -343,14 +343,14 @@ { "id": "05bed03c-379d-478f-9127-05b2f1526b68", "type": "point", - "x": 288.2750717885418, - "y": 216.70000961075704 + "x": 345.77502572427295, + "y": 214.1875108391376 }, { "id": "603c39e7-801b-41a3-baa3-a80c3bf777ce", "type": "point", - "x": 584.7000538714606, - "y": 256.4750086894717 + "x": 823.7000216264723, + "y": 305.53748565733724 } ], "labels": [], @@ -371,14 +371,14 @@ { "id": "befe0ec8-701b-448d-9a35-a53a081c5db9", "type": "point", - "x": 32.77503647260234, - "y": 223.0000121346951 + "x": 65.47502449589247, + "y": 312.3000274222743 }, { "id": "71b2fd49-4c71-492d-9951-d55bef05ad2b", "type": "point", - "x": 107.43753892936334, - "y": 173.50001698104006 + "x": 165.30001866108506, + "y": 170.9875182094206 } ], "labels": [], @@ -399,14 +399,14 @@ { "id": "f41158d2-4f9f-43d1-b33a-46f31ceca020", "type": "point", - "x": 819.5459230677468, - "y": 141.55325652752202 + "x": 1008.2251299638747, + "y": 145.32499886242766 }, { "id": "b1695be1-067d-4138-bd3e-94b35d9131fa", "type": "point", - "x": 883.5125326147199, - "y": 71.47499333471539 + "x": 1048.2875316934344, + "y": 53.87500700044849 } ], "labels": [], @@ -418,7 +418,7 @@ } }, { - "id": "88c5d5e5-428c-44dc-b65d-80295609ff05", + "id": "09d3d257-0a1a-4535-824a-a6cc56051bf4", "type": "diagram-nodes", "isSvg": false, "transformed": true, @@ -431,15 +431,15 @@ "type": "Start", "borderColor": "rgb(0,192,255)" }, - "x": -189.947, - "y": 42.083, + "x": -241.51932704402515, + "y": 112.52325157232704, "ports": [ { "id": "bf8a4e2a-acf6-4402-ae31-00832051219c", "type": "default", "extras": {}, - "x": -132.48750730764652, - "y": 68.87499884323422, + "x": -184.06248304713154, + "y": 139.31254413976527, "name": "out-0", "alignment": "right", "parentNode": "f2e8590e-a852-4f38-beab-2f9195005df7", @@ -467,15 +467,15 @@ "extras": { "type": "string" }, - "x": 472.276, - "y": 101.37, + "x": 659.6973836477987, + "y": 116.46433962264152, "ports": [ { "id": "b8330c27-4e5b-4d74-878c-5aea434f62e0", "type": "default", "extras": {}, - "x": 538.9500356856711, - "y": 125.16252202891621, + "x": 726.3625519617127, + "y": 140.26250452449403, "name": "out-0", "alignment": "right", "parentNode": "9767a54c-dbc9-4387-8908-f18259b4c4a2", @@ -499,15 +499,15 @@ "22b80dc4-7cb3-4306-8920-03c43d41360e": { "id": "22b80dc4-7cb3-4306-8920-03c43d41360e", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "comment", "commentInput": "You can insert any components between the branch and post!\n", "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", "borderColor": "red" }, - "x": 247.25010691823897, - "y": 395.793, + "x": 130.26897484276725, + "y": 454.9124968553459, "ports": [], "name": "Comment:", "color": "rgb(255,255,255)", @@ -517,15 +517,15 @@ "720472d0-8169-44ec-87f6-e5c5a024b6a9": { "id": "720472d0-8169-44ec-87f6-e5c5a024b6a9", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "comment", "commentInput": "When bot detects the msg_trigger string,\nit will execute the on_message flow.", "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", "borderColor": "red" }, - "x": 83.979, - "y": 9.126, + "x": 2.217993710691829, + "y": -32.38343396226415, "ports": [], "name": "Comment:", "color": "rgb(255,255,255)", @@ -539,15 +539,15 @@ "extras": { "type": "string" }, - "x": 423.683, - "y": 283.59, + "x": 617.3936918238994, + "y": 426.9862264150943, "ports": [ { "id": "cf2e2fe3-4c6e-45c1-8f12-b6446e368d42", "type": "default", "extras": {}, - "x": 516.2500246302466, - "y": 307.3875490532873, + "x": 709.9625974117913, + "y": 450.7750616441874, "name": "out-0", "alignment": "right", "parentNode": "8064b37e-a953-406e-9e70-6cda15cafb74", @@ -576,15 +576,15 @@ "type": "string", "attached": false }, - "x": -35.109, - "y": 188.901, + "x": -2.404597484276735, + "y": 278.20917610062895, "ports": [ { "id": "6e3e31bf-0d64-4036-a499-fc48e660af5b", "type": "default", "extras": {}, - "x": 22.474996377494975, - "y": 212.70002602115284, + "x": 55.17502278767583, + "y": 302.0000257140577, "name": "out-0", "alignment": "right", "parentNode": "9a980c57-ca09-4618-a7c4-a502b3ae43f8", @@ -613,15 +613,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": 691.4517861278881, - "y": 107.45453417759938, + "x": 880.131031410907, + "y": 111.22811908325976, "ports": [ { "id": "26620666-1b8b-43bc-8e1b-a8c5e06d44de", "type": "default", "extras": {}, - "x": 809.2500215592953, - "y": 131.2499919335939, + "x": 997.9251594450068, + "y": 135.02499715421104, "name": "parameter-out-0", "alignment": "right", "parentNode": "d1ec6c1b-cfb4-451c-89bc-2da4bde50e23", @@ -645,19 +645,19 @@ "00d9c24d-b843-4f9b-886a-7c8591e99e8b": { "id": "00d9c24d-b843-4f9b-886a-7c8591e99e8b", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "Finish" }, - "x": 1103.847, - "y": 4.069, + "x": 1245.985364779874, + "y": -2.2203081761006285, "ports": [ { "id": "be38662e-06f1-4355-bb6b-e21bec7bac08", "type": "default", "extras": {}, - "x": 1104.637452769987, - "y": 30.862495465187838, + "x": 1246.7749346513747, + "y": 24.587505599326988, "name": "in-0", "alignment": "left", "parentNode": "00d9c24d-b843-4f9b-886a-7c8591e99e8b", @@ -674,8 +674,8 @@ "id": "d1bf4939-4ba0-408e-b551-43fc43c25aae", "type": "default", "extras": {}, - "x": 1104.637452769987, - "y": 52.46253016693705, + "x": 1246.7749346513747, + "y": 46.187501914185475, "name": "parameter-dynalist-outputs", "alignment": "left", "parentNode": "00d9c24d-b843-4f9b-886a-7c8591e99e8b", @@ -703,7 +703,7 @@ "ebe02041-be1a-4619-b705-fc37df8c4466": { "id": "ebe02041-be1a-4619-b705-fc37df8c4466", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -722,7 +722,7 @@ "id": "7d7d27ca-1680-43a0-b256-711b39d534cb", "type": "default", "extras": {}, - "x": -86.41249011031948, + "x": -86.41249011031945, "y": 139.47499746130615, "name": "in-0", "alignment": "left", @@ -740,7 +740,7 @@ "id": "8ae37e59-11f0-4789-a444-0f44f823c077", "type": "default", "extras": {}, - "x": 48.887518795439156, + "x": 48.88751879543919, "y": 139.47499746130615, "name": "out-0", "alignment": "right", @@ -767,7 +767,7 @@ "81b7ff64-a91a-4167-9d54-52e913dcc2d7": { "id": "81b7ff64-a91a-4167-9d54-52e913dcc2d7", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -777,17 +777,18 @@ "lineno": 101, "end_lineno": 134 } - ] + ], + "nextNode": "None" }, - "x": 872.414, - "y": 12.78, + "x": 1037.1938742138364, + "y": -4.830062893081761, "ports": [ { "id": "7effddbc-3409-42a0-b5c7-4525fc926478", "type": "default", "extras": {}, - "x": 873.2125620958519, - "y": 39.57499531164027, + "x": 1037.9875611745665, + "y": 21.97500897737337, "name": "in-0", "alignment": "left", "parentNode": "81b7ff64-a91a-4167-9d54-52e913dcc2d7", @@ -804,8 +805,8 @@ "id": "ffb47cd7-4a08-412e-b3a8-30b19a548775", "type": "default", "extras": {}, - "x": 873.2125620958519, - "y": 61.17499162649876, + "x": 1037.9875611745665, + "y": 43.57500529223186, "name": "parameter-string-token", "alignment": "left", "parentNode": "81b7ff64-a91a-4167-9d54-52e913dcc2d7", @@ -822,8 +823,8 @@ "id": "f688616e-7b4e-4b7a-8ba5-aec650245ca0", "type": "default", "extras": {}, - "x": 1016.0750571823298, - "y": 39.57499531164027, + "x": 1180.8500562610445, + "y": 21.97500897737337, "name": "out-0", "alignment": "right", "parentNode": "81b7ff64-a91a-4167-9d54-52e913dcc2d7", @@ -850,7 +851,7 @@ "3208834e-223b-47e4-8aa5-bbc81bf0296a": { "id": "3208834e-223b-47e4-8aa5-bbc81bf0296a", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -862,15 +863,15 @@ } ] }, - "x": 586.647, - "y": 8.185, + "x": 796.709893081761, + "y": 3.1535534591194976, "ports": [ { "id": "309479b4-8070-455b-b988-5ab510b88b21", "type": "default", "extras": {}, - "x": 587.4375921911742, - "y": 34.97499822904397, + "x": 797.5000630171372, + "y": 29.950000685804973, "name": "in-0", "alignment": "left", "parentNode": "3208834e-223b-47e4-8aa5-bbc81bf0296a", @@ -887,8 +888,8 @@ "id": "bbd85b37-8966-4cb9-924b-a75f0d023350", "type": "default", "extras": {}, - "x": 587.4375921911742, - "y": 56.57501373734782, + "x": 797.5000630171372, + "y": 51.54999700066347, "name": "parameter-string-shutdown_cmd", "alignment": "left", "parentNode": "3208834e-223b-47e4-8aa5-bbc81bf0296a", @@ -905,8 +906,8 @@ "id": "43b7070a-7e86-47bc-82a8-03168e3c9ae7", "type": "default", "extras": {}, - "x": 745.7625571823298, - "y": 34.97499822904397, + "x": 955.8376189084502, + "y": 29.950000685804973, "name": "out-0", "alignment": "right", "parentNode": "3208834e-223b-47e4-8aa5-bbc81bf0296a", @@ -933,7 +934,7 @@ "6e341760-66c8-43bb-aed3-5ec59882b1b5": { "id": "6e341760-66c8-43bb-aed3-5ec59882b1b5", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_utils/utils.py", @@ -943,17 +944,19 @@ "lineno": 78, "end_lineno": 93 } - ] + ], + "sourceBranchId": "498c47ca-84d0-4233-a8f9-33605e92e47b", + "portId": "5007b201-a028-44f6-9895-e24dac36d034" }, - "x": 573.609, - "y": 176.183, + "x": 812.6027106918239, + "y": 225.2396037735849, "ports": [ { "id": "5f40efff-c2cb-49b1-96ef-d489805517ed", "type": "default", "extras": {}, - "x": 574.4000221734856, - "y": 202.97501435153805, + "x": 813.3999899284973, + "y": 252.0374913194036, "name": "in-0", "alignment": "left", "parentNode": "6e341760-66c8-43bb-aed3-5ec59882b1b5", @@ -970,8 +973,8 @@ "id": "16156cce-fa8a-4371-9d95-89bff4878756", "type": "default", "extras": {}, - "x": 574.4000221734856, - "y": 224.57504905328727, + "x": 813.3999899284973, + "y": 273.63752602115284, "name": "parameter-string-a", "alignment": "left", "parentNode": "6e341760-66c8-43bb-aed3-5ec59882b1b5", @@ -988,8 +991,8 @@ "id": "cf178afa-3f39-47c0-85f8-2516925ca1a1", "type": "default", "extras": {}, - "x": 574.4000221734856, - "y": 246.17500698125505, + "x": 813.3999899284973, + "y": 295.2374839491206, "name": "parameter-string-b", "alignment": "left", "parentNode": "6e341760-66c8-43bb-aed3-5ec59882b1b5", @@ -1006,8 +1009,8 @@ "id": "bbc3363c-377a-4055-95a6-678a6727f1fe", "type": "default", "extras": {}, - "x": 691.1999681247434, - "y": 202.97501435153805, + "x": 930.2000894273181, + "y": 252.0374913194036, "name": "out-0", "alignment": "right", "parentNode": "6e341760-66c8-43bb-aed3-5ec59882b1b5", @@ -1024,8 +1027,8 @@ "id": "87cc924c-6614-4616-aae0-615f518049cc", "type": "default", "extras": {}, - "x": 691.1999681247434, - "y": 224.57504905328727, + "x": 930.2000894273181, + "y": 273.63752602115284, "name": "parameter-out-string-out", "alignment": "right", "parentNode": "6e341760-66c8-43bb-aed3-5ec59882b1b5", @@ -1054,7 +1057,7 @@ "89c846a2-242f-4d66-911e-ea208c83706f": { "id": "89c846a2-242f-4d66-911e-ea208c83706f", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -1064,17 +1067,18 @@ "lineno": 194, "end_lineno": 218 } - ] + ], + "nextNode": "None" }, - "x": 767.99, - "y": 308.933, + "x": 1058.556037735849, + "y": 305.15941509433964, "ports": [ { "id": "a132a3ea-6d55-471a-9fbf-0a8267fe3353", "type": "default", "extras": {}, - "x": 768.7875516546176, - "y": 335.7250588803313, + "x": 1059.3500194096293, + "y": 331.9499768859327, "name": "in-0", "alignment": "left", "parentNode": "89c846a2-242f-4d66-911e-ea208c83706f", @@ -1091,8 +1095,8 @@ "id": "1ce40a55-44ab-4a14-9640-5b6756aa40d0", "type": "default", "extras": {}, - "x": 768.7875516546176, - "y": 357.32501680829904, + "x": 1059.3500194096293, + "y": 353.5500115876819, "name": "parameter-string-msg_response", "alignment": "left", "parentNode": "89c846a2-242f-4d66-911e-ea208c83706f", @@ -1109,8 +1113,8 @@ "id": "e1cd6ca0-b3f3-4e36-b7b6-c4b398bb45c9", "type": "default", "extras": {}, - "x": 768.7875516546176, - "y": 378.92505151004826, + "x": 1059.3500194096293, + "y": 375.15004628943115, "name": "parameter-discord.message.Message-discord_msg", "alignment": "left", "parentNode": "89c846a2-242f-4d66-911e-ea208c83706f", @@ -1127,8 +1131,8 @@ "id": "7c99ec93-980e-417f-981d-f8710bf1c9aa", "type": "default", "extras": {}, - "x": 768.7875516546176, - "y": 400.525009438016, + "x": 1059.3500194096293, + "y": 396.7500042173989, "name": "parameter-string-attachment_path", "alignment": "left", "parentNode": "89c846a2-242f-4d66-911e-ea208c83706f", @@ -1143,8 +1147,8 @@ "id": "26d7cde0-bcb7-4952-aca8-0db12528f0b4", "type": "default", "extras": {}, - "x": 928.3376726500971, - "y": 335.7250588803313, + "x": 1218.8999100837646, + "y": 331.9499768859327, "name": "out-0", "alignment": "right", "parentNode": "89c846a2-242f-4d66-911e-ea208c83706f", @@ -1171,7 +1175,7 @@ "498c47ca-84d0-4233-a8f9-33605e92e47b": { "id": "498c47ca-84d0-4233-a8f9-33605e92e47b", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -1181,17 +1185,19 @@ "lineno": 137, "end_lineno": 170 } - ] + ], + "finishNodeId": "3208834e-223b-47e4-8aa5-bbc81bf0296a", + "isBranchNode": true }, - "x": 96.343, - "y": 114.81, + "x": 154.2046352201258, + "y": 112.29427672955975, "ports": [ { "id": "d4d9e142-32e4-402d-8016-d494554d2511", "type": "default", "extras": {}, - "x": 97.1375372211467, - "y": 141.60001895796495, + "x": 155.00001695286844, + "y": 139.08748179945474, "name": "in-0", "alignment": "left", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", @@ -1208,8 +1214,8 @@ "id": "5dcb215d-7aa5-4fd9-8d42-06659db5020b", "type": "default", "extras": {}, - "x": 97.1375372211467, - "y": 163.20001527282344, + "x": 155.00001695286844, + "y": 160.68751650120396, "name": "parameter-string-msg_trigger", "alignment": "left", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", @@ -1226,8 +1232,8 @@ "id": "c4e027fb-dcf4-44f8-b528-5b05a736a933", "type": "default", "extras": {}, - "x": 277.97507008032517, - "y": 141.60001895796495, + "x": 335.4750240160563, + "y": 139.08748179945474, "name": "out-0", "alignment": "right", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", @@ -1244,8 +1250,8 @@ "id": "5007b201-a028-44f6-9895-e24dac36d034", "type": "default", "extras": {}, - "x": 277.97507008032517, - "y": 163.20001527282344, + "x": 335.4750240160563, + "y": 160.68751650120396, "name": "out-flow-on_message", "alignment": "right", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", @@ -1262,8 +1268,8 @@ "id": "8096cb09-76da-440c-a822-d250de43a5b6", "type": "default", "extras": {}, - "x": 277.97507008032517, - "y": 184.80001158768192, + "x": 335.4750240160563, + "y": 182.28751281606245, "name": "parameter-out-discord.message.Message-discord_msg", "alignment": "right", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", @@ -1280,8 +1286,8 @@ "id": "9dd839d3-e841-4d50-afa1-20198cb318fd", "type": "default", "extras": {}, - "x": 277.97507008032517, - "y": 206.4000079025404, + "x": 335.4750240160563, + "y": 203.88750913092093, "name": "parameter-out-string-str_msg", "alignment": "right", "parentNode": "498c47ca-84d0-4233-a8f9-33605e92e47b", diff --git a/examples/DiscordBotCVisionExample.xircuits b/examples/DiscordBotCVisionExample.xircuits index de2e045..113982e 100644 --- a/examples/DiscordBotCVisionExample.xircuits +++ b/examples/DiscordBotCVisionExample.xircuits @@ -1,12 +1,12 @@ { "id": "8b6e5c03-966f-4c60-9968-76ed71abe89e", - "offsetX": 51.269197023265576, - "offsetY": 73.52047296207564, - "zoom": 84.5, + "offsetX": 252.2150338505665, + "offsetY": 182.73843873901882, + "zoom": 80.5, "gridSize": 0, "layers": [ { - "id": "8e4db5d0-b21a-4277-acff-e4c2591e0ba4", + "id": "604928da-b8bc-4657-beeb-c260a698599c", "type": "diagram-links", "isSvg": true, "transformed": true, @@ -23,14 +23,14 @@ { "id": "915c1ef5-8f06-40e7-933c-2a4c473fdbb8", "type": "point", - "x": -122.1874942868337, - "y": 79.1750050644266 + "x": -228.69999018946535, + "y": 150.18749694444477 }, { "id": "95621c4e-c084-43ae-b917-0e9b75f78610", "type": "point", - "x": -76.11250289134611, - "y": 149.7750057054763 + "x": -176.71248078777668, + "y": 149.77503576432056 } ], "labels": [], @@ -51,14 +51,14 @@ { "id": "ea04db10-cce9-4c77-81e8-e7ec008835d0", "type": "point", - "x": 1008.3001012205453, - "y": 45.13750419765515 + "x": 1020.1250794986563, + "y": 3.7249960346039526 }, { "id": "81d3895d-c4f5-4d7d-8ea5-68d2d4df0669", "type": "point", - "x": 1086.9375651682703, - "y": 46.50001474337445 + "x": 1082.2125270975107, + "y": 3.899988755877245 } ], "labels": [], @@ -79,14 +79,14 @@ { "id": "a9dab119-5ba8-410e-aa03-1f7f10f2ccfc", "type": "point", - "x": 571.2500278338961, - "y": 133.85000910936003 + "x": 436.33751799910215, + "y": -88.62500533015731 }, { "id": "645d365c-36ce-4ea0-83c7-b8de54700b72", "type": "point", - "x": 597.7375374315841, - "y": 66.87499451870728 + "x": 518.450047114009, + "y": 29.0250160511024 } ], "labels": [], @@ -107,14 +107,14 @@ { "id": "9bffc1c3-61d3-4397-88c8-a6df17660d03", "type": "point", - "x": 756.0624438202674, - "y": 45.274995818864454 + "x": 676.7876010978988, + "y": 7.425015444541841 }, { "id": "cb479acf-cef2-4094-8adf-8aa5387823bb", "type": "point", - "x": 865.4374438202674, - "y": 45.13750419765515 + "x": 877.2626896557404, + "y": 3.7249960346039526 } ], "labels": [], @@ -135,14 +135,14 @@ { "id": "c559221e-7f79-495c-b253-7c130a18f313", "type": "point", - "x": 59.18752282287358, - "y": 149.7750057054763 + "x": -41.412475935292235, + "y": 149.77503576432056 }, { "id": "4fc7fd75-2afe-4ba9-a6a1-b22ce18c9e2a", "type": "point", - "x": 109.63751489552638, - "y": 184.02501003933355 + "x": 101.35001385743087, + "y": 148.52502818231358 } ], "labels": [], @@ -163,14 +163,14 @@ { "id": "1c4c65ba-60c7-4bfc-8b25-1e31e2d4a01a", "type": "point", - "x": 35.13750433174932, - "y": 223.0000169103031 + "x": 12.65003922872174, + "y": 315.29999118211947 }, { "id": "9a31926f-ccb2-4774-b6a9-5ce67b012249", "type": "point", - "x": 109.63751489552638, - "y": 205.6250267969149 + "x": 101.35001385743087, + "y": 170.12499087883918 } ], "labels": [], @@ -191,26 +191,14 @@ { "id": "02011dfb-a03d-4e45-a70e-d6c6315fd310", "type": "point", - "x": 290.4750468035504, - "y": 248.82502419660057 - }, - { - "id": "8f9e2134-2059-4452-ad47-b40166eb22ed", - "type": "point", - "x": 414.881, - "y": 230.564 - }, - { - "id": "56ece712-68f6-473d-80de-98b7493f5f53", - "type": "point", - "x": 416.215, - "y": 213.421 + "x": 281.8250107203754, + "y": 213.32500038478045 }, { "id": "e041bd06-dae2-44bb-9571-8c0fc78dced4", "type": "point", - "x": 472.8625116541623, - "y": 222.43751835492216 + "x": 489.4374973760431, + "y": 186.93752272326856 } ], "labels": [], @@ -231,26 +219,33 @@ { "id": "9c357250-d6d4-4c6c-9074-4ac0fa786de3", "type": "point", - "x": 290.4750468035504, - "y": 227.2250074390192 + "x": 281.8250107203754, + "y": 191.72499148539976 }, { "id": "e62c8dc3-6fde-4a74-b72c-2dccc71ac7a5", "type": "point", - "x": 386.881, - "y": 214.184 + "x": 357.2952011834319, + "y": 190.51536094674555 }, { "id": "75d26673-fbf3-4acc-a3e9-1279b3904716", "type": "point", - "x": 392.215, - "y": 322.184 + "selected": true, + "x": 357.95427744496305, + "y": 219.19601808225224 + }, + { + "id": "38fbf815-2ab8-4e02-a358-325f7e5d99a0", + "type": "point", + "x": 784.2968082564904, + "y": 211.21837519280987 }, { "id": "88db0438-79a7-466c-ae74-db1f430477b6", "type": "point", - "x": 759.6375871264804, - "y": 333.90001437319086 + "x": 862.5875634911441, + "y": 209.63752090358687 } ], "labels": [], @@ -271,14 +266,14 @@ { "id": "27916269-dd3d-42a6-a34d-2459aecb19db", "type": "point", - "x": 688.5999752497613, - "y": 222.43751835492216 + "x": 705.1750901798086, + "y": 186.93752272326856 }, { "id": "a0c303f2-e249-41ed-b605-c18d72f4d656", "type": "point", - "x": 759.6375871264804, - "y": 312.3000337310865 + "x": 862.5875634911441, + "y": 188.0375202970263 } ], "labels": [], @@ -299,14 +294,14 @@ { "id": "9b94f844-be3b-4975-96e9-745189b09891", "type": "point", - "x": 290.4750468035504, - "y": 184.02501003933355 + "x": 281.8250107203754, + "y": 148.52502818231358 }, { "id": "3e6263e8-e594-46a2-980f-8178db7a14fe", "type": "point", - "x": 597.7375374315841, - "y": 45.274995818864454 + "x": 518.450047114009, + "y": 7.425015444541841 } ], "labels": [], @@ -327,14 +322,14 @@ { "id": "24874c12-d592-4fbc-af2e-ec9446ff8534", "type": "point", - "x": 290.4750468035504, - "y": 205.6250267969149 + "x": 281.8250107203754, + "y": 170.12499087883918 }, { "id": "8771e104-21cd-4ba6-9496-cc12b958fe7b", "type": "point", - "x": 472.8625116541623, - "y": 200.8375015973408 + "x": 489.4374973760431, + "y": 165.3375067157563 } ], "labels": [], @@ -355,14 +350,14 @@ { "id": "1e9c8414-5fb8-43d2-baf9-bd48348d77bf", "type": "point", - "x": 688.5999752497613, - "y": 200.8375015973408 + "x": 705.1750901798086, + "y": 165.3375067157563 }, { "id": "2a4ccf7d-3cff-430b-9e58-925714db0e6f", "type": "point", - "x": 759.6375871264804, - "y": 290.70001697350517 + "x": 862.5875634911441, + "y": 166.43750428951407 } ], "labels": [], @@ -374,7 +369,7 @@ "bd2d2d4e-eb1b-4e2f-8351-5face2f1ac71": { "id": "bd2d2d4e-eb1b-4e2f-8351-5face2f1ac71", "type": "triangle-link", - "selected": true, + "selected": false, "source": "6a2348c6-74a8-4861-a0f2-6a77809546bb", "sourcePort": "876aa6a9-043b-4d1b-85a7-4672f4bae299", "target": "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4", @@ -383,14 +378,14 @@ { "id": "a1eedba7-a0e0-4d6d-82ef-5c883ad68bba", "type": "point", - "x": 831.4501220230602, - "y": 136.43750246411224 + "x": 808.962545531265, + "y": -95.49999016614333 }, { "id": "8cd93e70-ed8f-4b30-bbcc-31f94d015206", "type": "point", - "x": 865.4374438202674, - "y": 66.73750289749796 + "x": 877.2626896557404, + "y": 25.325019150247755 } ], "labels": [], @@ -402,7 +397,7 @@ } }, { - "id": "e18584e4-d4c1-4bf8-b2fb-a284fa5938b4", + "id": "18255c79-383f-47f0-96bd-7c0b4c4c7166", "type": "diagram-nodes", "isSvg": false, "transformed": true, @@ -415,15 +410,15 @@ "type": "Start", "borderColor": "rgb(0,192,255)" }, - "x": -189.947, - "y": 42.083, + "x": -296.45587573964497, + "y": 113.08891715976331, "ports": [ { "id": "bf8a4e2a-acf6-4402-ae31-00832051219c", "type": "default", "extras": {}, - "x": -132.48749855748886, - "y": 68.87500079377143, + "x": -238.99999504194983, + "y": 139.8874920919603, "name": "out-0", "alignment": "right", "parentNode": "f2e8590e-a852-4f38-beab-2f9195005df7", @@ -451,15 +446,15 @@ "extras": { "type": "string" }, - "x": 494.276, - "y": 99.751, + "x": 359.36475739644976, + "y": -122.73420710059173, "ports": [ { "id": "b8330c27-4e5b-4d74-878c-5aea434f62e0", "type": "default", "extras": {}, - "x": 560.95006645037, - "y": 123.55000483870487, + "x": 426.0375131466177, + "y": -98.92501018264177, "name": "out-0", "alignment": "right", "parentNode": "9767a54c-dbc9-4387-8908-f18259b4c4a2", @@ -488,15 +483,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": -35.109, - "y": 188.901, + "x": -57.59420710059172, + "y": 281.20869230769233, "ports": [ { "id": "f966bddd-f0d6-43e9-a9f3-e8ae482e6c78", "type": "default", "extras": {}, - "x": 24.837514733006714, - "y": 212.70001263964792, + "x": 2.350034376237268, + "y": 304.99998632963496, "name": "out-0", "alignment": "right", "parentNode": "d6626896-ea06-45ca-851f-d5f63db5d64e", @@ -525,15 +520,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": 703.3500699174557, - "y": 102.34263554783949, + "x": 680.8648628168639, + "y": -129.610027174054, "ports": [ { "id": "876aa6a9-043b-4d1b-85a7-4672f4bae299", "type": "default", "extras": {}, - "x": 821.1501606395341, - "y": 126.13749819345708, + "x": 798.6626010978988, + "y": -105.7999950186278, "name": "parameter-out-0", "alignment": "right", "parentNode": "6a2348c6-74a8-4861-a0f2-6a77809546bb", @@ -557,19 +552,19 @@ "1f737ccf-c597-486d-b49c-73c563198a7e": { "id": "1f737ccf-c597-486d-b49c-73c563198a7e", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "Finish" }, - "x": 1075.847, - "y": 9.402, + "x": 1071.1132721893491, + "y": -33.20155029585799, "ports": [ { "id": "d185c03a-1a17-4898-99a5-2dc085658a1e", "type": "default", "extras": {}, - "x": 1076.6375462257026, - "y": 36.200010472719285, + "x": 1071.9125222450261, + "y": -6.400016096607227, "name": "in-0", "alignment": "left", "parentNode": "1f737ccf-c597-486d-b49c-73c563198a7e", @@ -586,8 +581,8 @@ "id": "b89e7ab8-d8f8-4ea5-a517-52c4ef3878bc", "type": "default", "extras": {}, - "x": 1076.6375462257026, - "y": 57.800009172562106, + "x": 1071.9125222450261, + "y": 15.200022419988269, "name": "parameter-dynalist-outputs", "alignment": "left", "parentNode": "1f737ccf-c597-486d-b49c-73c563198a7e", @@ -615,7 +610,7 @@ "311033c9-e6fd-4b15-a281-0ca6e6248bfc": { "id": "311033c9-e6fd-4b15-a281-0ca6e6248bfc", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -627,15 +622,15 @@ } ] }, - "x": -87.223, + "x": -187.81471597633134, "y": 112.685, "ports": [ { "id": "c06e4b32-1940-4ed0-8d71-29da02b3f6ee", "type": "default", "extras": {}, - "x": -86.41249249008871, - "y": 139.4750161067337, + "x": -187.01248564026116, + "y": 139.4750309118361, "name": "in-0", "alignment": "left", "parentNode": "311033c9-e6fd-4b15-a281-0ca6e6248bfc", @@ -652,8 +647,8 @@ "id": "93a1efd4-6378-4217-8f78-b905bbeeba18", "type": "default", "extras": {}, - "x": 48.887533224130976, - "y": 139.4750161067337, + "x": -51.712480787776705, + "y": 139.4750309118361, "name": "out-0", "alignment": "right", "parentNode": "311033c9-e6fd-4b15-a281-0ca6e6248bfc", @@ -679,7 +674,7 @@ "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4": { "id": "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -691,15 +686,15 @@ } ] }, - "x": 854.34, - "y": 8.039, + "x": 866.1743195266272, + "y": -33.38111834319526, "ports": [ { "id": "a5ff9cc4-bb0e-42ce-a178-3e3e5af56c01", "type": "default", "extras": {}, - "x": 855.1374248776997, - "y": 34.83749992699998, + "x": 866.9626848032559, + "y": -6.575008817880519, "name": "in-0", "alignment": "left", "parentNode": "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4", @@ -716,8 +711,8 @@ "id": "f1249962-8e62-477d-85ef-346a0a4983c1", "type": "default", "extras": {}, - "x": 855.1374248776997, - "y": 56.4374986268428, + "x": 866.9626848032559, + "y": 15.025029698714977, "name": "parameter-string-token", "alignment": "left", "parentNode": "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4", @@ -734,8 +729,8 @@ "id": "9a291509-b6dd-4615-95f1-16733a3737e9", "type": "default", "extras": {}, - "x": 998.0001398370192, - "y": 34.83749992699998, + "x": 1009.82513506529, + "y": -6.575008817880519, "name": "out-0", "alignment": "right", "parentNode": "1fff9d3b-99c1-4a09-bc2d-7e0a7c7e74f4", @@ -762,7 +757,7 @@ "aaee8542-3c61-42d4-b0d4-f285ed9259bb": { "id": "aaee8542-3c61-42d4-b0d4-f285ed9259bb", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -774,15 +769,15 @@ } ] }, - "x": 586.647, - "y": 8.185, + "x": 507.3570591715977, + "y": -29.684822485207093, "ports": [ { "id": "1c22b83a-e256-4b3e-b39e-3aa1fc297671", "type": "default", "extras": {}, - "x": 587.4375184890164, - "y": 34.974991548209296, + "x": 508.1500422615245, + "y": -2.874989407942631, "name": "in-0", "alignment": "left", "parentNode": "aaee8542-3c61-42d4-b0d4-f285ed9259bb", @@ -799,8 +794,8 @@ "id": "eaf5d1f3-2893-479e-9413-73583667cd9d", "type": "default", "extras": {}, - "x": 587.4375184890164, - "y": 56.574990248052124, + "x": 508.1500422615245, + "y": 18.725011198617928, "name": "parameter-string-shutdown_cmd", "alignment": "left", "parentNode": "aaee8542-3c61-42d4-b0d4-f285ed9259bb", @@ -817,8 +812,8 @@ "id": "8dcee2f1-917d-42ae-bff9-2e05d7cea8b5", "type": "default", "extras": {}, - "x": 745.7624248776997, - "y": 34.974991548209296, + "x": 666.4875962454144, + "y": -2.874989407942631, "name": "out-0", "alignment": "right", "parentNode": "aaee8542-3c61-42d4-b0d4-f285ed9259bb", @@ -845,7 +840,7 @@ "a6f80aa6-0623-4225-9362-84e018617da0": { "id": "a6f80aa6-0623-4225-9362-84e018617da0", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -857,15 +852,15 @@ } ] }, - "x": 748.539, - "y": 253.604, + "x": 851.4975798816567, + "y": 129.34364497041423, "ports": [ { "id": "4de02d62-3fcc-4936-96a8-72f4ccdf1a7e", "type": "default", "extras": {}, - "x": 749.3375681839127, - "y": 280.40002737476254, + "x": 852.2875586386597, + "y": 156.13751483798129, "name": "in-0", "alignment": "left", "parentNode": "a6f80aa6-0623-4225-9362-84e018617da0", @@ -882,8 +877,8 @@ "id": "7f96f0f5-8d87-48e1-8187-76f4ef7368da", "type": "default", "extras": {}, - "x": 749.3375681839127, - "y": 302.00004413234393, + "x": 852.2875586386597, + "y": 177.73751544454183, "name": "parameter-string-msg_response", "alignment": "left", "parentNode": "a6f80aa6-0623-4225-9362-84e018617da0", @@ -900,8 +895,8 @@ "id": "e117d406-b522-40f6-8050-6d02ec08c576", "type": "default", "extras": {}, - "x": 749.3375681839127, - "y": 323.60002477444823, + "x": 852.2875586386597, + "y": 199.3375160511024, "name": "parameter-discord.message.Message-discord_msg", "alignment": "left", "parentNode": "a6f80aa6-0623-4225-9362-84e018617da0", @@ -918,8 +913,8 @@ "id": "bf0b64b9-c260-4fb4-8099-6d80799e2b22", "type": "default", "extras": {}, - "x": 749.3375681839127, - "y": 345.20004153202956, + "x": 852.2875586386597, + "y": 220.937478747628, "name": "parameter-string-attachment_path", "alignment": "left", "parentNode": "a6f80aa6-0623-4225-9362-84e018617da0", @@ -934,8 +929,8 @@ "id": "7cdd0988-abe0-4cd9-83f3-14bc05c98cb0", "type": "default", "extras": {}, - "x": 908.887656016753, - "y": 280.40002737476254, + "x": 1011.837551359933, + "y": 156.13751483798129, "name": "out-0", "alignment": "right", "parentNode": "a6f80aa6-0623-4225-9362-84e018617da0", @@ -962,7 +957,7 @@ "2dbbb91b-8c49-414a-af88-606692ec1409": { "id": "2dbbb91b-8c49-414a-af88-606692ec1409", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/discord_components.py", @@ -974,15 +969,15 @@ } ] }, - "x": 98.541, - "y": 146.928, + "x": 90.25697633136095, + "y": 111.42504142011833, "ports": [ { "id": "4fced103-dcde-4b6c-806e-7d93ea8a7fb6", "type": "default", "extras": {}, - "x": 99.33749595295865, - "y": 173.72502044059095, + "x": 91.05003862216118, + "y": 138.2250233298291, "name": "in-0", "alignment": "left", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -999,8 +994,8 @@ "id": "d95620ec-2a6f-49e3-a61f-4cb3d84e8ee3", "type": "default", "extras": {}, - "x": 99.33749595295865, - "y": 195.3250371981723, + "x": 91.05003862216118, + "y": 159.8249860263547, "name": "parameter-string-msg_trigger", "alignment": "left", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -1017,8 +1012,8 @@ "id": "59016f0b-d6fd-4178-ab7e-94a9610fab24", "type": "default", "extras": {}, - "x": 280.1750572048078, - "y": 173.72502044059095, + "x": 271.52500586789097, + "y": 138.2250233298291, "name": "out-0", "alignment": "right", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -1035,8 +1030,8 @@ "id": "59c8a98e-511a-46ef-8893-17d95c1d6b7d", "type": "default", "extras": {}, - "x": 280.1750572048078, - "y": 195.3250371981723, + "x": 271.52500586789097, + "y": 159.8249860263547, "name": "out-flow-on_message", "alignment": "right", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -1053,8 +1048,8 @@ "id": "52e9c208-30f4-4cfe-9d8c-7bb6ccec108d", "type": "default", "extras": {}, - "x": 280.1750572048078, - "y": 216.9250178402766, + "x": 271.52500586789097, + "y": 181.42498663291528, "name": "parameter-out-discord.message.Message-discord_msg", "alignment": "right", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -1071,8 +1066,8 @@ "id": "1a35987c-c8ec-4de1-bef7-4201889e4902", "type": "default", "extras": {}, - "x": 280.1750572048078, - "y": 238.52503459785797, + "x": 271.52500586789097, + "y": 203.02502514951078, "name": "parameter-out-bytes-image_data", "alignment": "right", "parentNode": "2dbbb91b-8c49-414a-af88-606692ec1409", @@ -1102,7 +1097,7 @@ "e7557912-63df-41d6-ba01-9fa8acc3ba82": { "id": "e7557912-63df-41d6-ba01-9fa8acc3ba82", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "library_component", "path": "xai_components/xai_discord/simple_ml_predict.py", @@ -1114,15 +1109,15 @@ } ] }, - "x": 461.771, - "y": 163.746, + "x": 478.33904733727815, + "y": 128.24304142011835, "ports": [ { "id": "ab4aeef7-caf5-4429-9621-3a730b4fb904", "type": "default", "extras": {}, - "x": 462.56255027063617, - "y": 190.53749732668564, + "x": 479.13749252355865, + "y": 155.0375172642235, "name": "in-0", "alignment": "left", "parentNode": "e7557912-63df-41d6-ba01-9fa8acc3ba82", @@ -1139,8 +1134,8 @@ "id": "e812d5ef-382c-4662-a382-024e23bf9559", "type": "default", "extras": {}, - "x": 462.56255027063617, - "y": 212.137514084267, + "x": 479.13749252355865, + "y": 176.63751787078408, "name": "parameter-bytes-image_data", "alignment": "left", "parentNode": "e7557912-63df-41d6-ba01-9fa8acc3ba82", @@ -1157,8 +1152,8 @@ "id": "fa30d0b0-3c71-49a0-8024-5d3279ce3057", "type": "default", "extras": {}, - "x": 678.3000138662352, - "y": 190.53749732668564, + "x": 694.8750853273242, + "y": 155.0375172642235, "name": "out-0", "alignment": "right", "parentNode": "e7557912-63df-41d6-ba01-9fa8acc3ba82", @@ -1175,8 +1170,8 @@ "id": "31ed8f4a-901e-491a-bb49-4e0478926490", "type": "default", "extras": {}, - "x": 678.3000138662352, - "y": 212.137514084267, + "x": 694.8750853273242, + "y": 176.63751787078408, "name": "parameter-out-string-prediction", "alignment": "right", "parentNode": "e7557912-63df-41d6-ba01-9fa8acc3ba82", diff --git a/examples/DiscordBotMessageResponder.xircuits b/examples/DiscordBotMessageResponder.xircuits index 92f9d0a..185ef5d 100644 --- a/examples/DiscordBotMessageResponder.xircuits +++ b/examples/DiscordBotMessageResponder.xircuits @@ -1,12 +1,12 @@ { "id": "8b6e5c03-966f-4c60-9968-76ed71abe89e", - "offsetX": 140.87523941192, - "offsetY": -132.49151501830698, - "zoom": 88, + "offsetX": 250.12407123350116, + "offsetY": 63.011873393280325, + "zoom": 76, "gridSize": 0, "layers": [ { - "id": "61e07054-1516-471a-bf47-3ccc25deb26f", + "id": "f4b9cd70-cbcb-4367-a53e-8b5565e9a231", "type": "diagram-links", "isSvg": true, "transformed": true, @@ -23,14 +23,14 @@ { "id": "915c1ef5-8f06-40e7-933c-2a4c473fdbb8", "type": "point", - "x": -122.18750177902898, - "y": 79.17499959667842 + "x": -208.7374864349111, + "y": 154.7092209925999 }, { "id": "95621c4e-c084-43ae-b917-0e9b75f78610", "type": "point", - "x": -76.11251315376263, - "y": 149.77499989145048 + "x": -162.237491253476, + "y": 154.86249151326192 } ], "labels": [], @@ -51,14 +51,14 @@ { "id": "da80e56c-1b6e-4093-a94b-8fd1fcd6e82b", "type": "point", - "x": 36.66252651908893, - "y": 258.5874967703345 + "x": -33.78747904644478, + "y": 331.31250249055523 }, { "id": "4ac1c127-3527-4117-a60d-9918401ba4bd", "type": "point", - "x": 114.67500053579869, - "y": 249.1125170229091 + "x": 86.2624894722641, + "y": 174.1124979380152 } ], "labels": [], @@ -79,14 +79,14 @@ { "id": "b56d5cfd-44de-40bd-9421-725dfb010249", "type": "point", - "x": 64.0375299436467, - "y": 336.125011717012 + "x": -29.149963501553422, + "y": 414.5375274918803 }, { "id": "3b1b4303-7d2e-4ff0-96a1-386d896a6e53", "type": "point", - "x": 114.67500053579869, - "y": 270.7124946895906 + "x": 86.2624894722641, + "y": 195.71251849722572 } ], "labels": [], @@ -107,14 +107,14 @@ { "id": "cb938bc2-bb5f-4cfe-8098-562857a07074", "type": "point", - "x": 59.18752384013108, - "y": 149.77499989145048 + "x": -26.93748739862405, + "y": 154.86249151326192 }, { "id": "e2ad32d7-7b83-42b4-b286-0aa84bd9bdb2", "type": "point", - "x": 114.67500053579869, - "y": 227.5125046771616 + "x": 86.2624894722641, + "y": 152.51247737880468 } ], "labels": [], @@ -135,14 +135,14 @@ { "id": "6b5b8bed-4ac5-43a7-a7e0-cc299716567c", "type": "point", - "x": 282.6499927676879, - "y": 355.62500612501265 + "x": 363.337572477065, + "y": 326.074978984993 }, { "id": "3e3b566d-c017-484c-903b-b06958a60b3d", "type": "point", - "x": 368.3125842250548, - "y": 359.05001472542097 + "x": 455.8124998773528, + "y": 172.68748765840994 } ], "labels": [], @@ -163,14 +163,14 @@ { "id": "b6b49e02-d544-4cb7-9c89-3d1af980372b", "type": "point", - "x": 309.51249378205057, - "y": 439.2249983569018 + "x": 366.3250827566703, + "y": 413.0874688308712 }, { "id": "0ca125c1-45f2-43d6-94ba-e9a053a18db3", "type": "point", - "x": 368.3125842250548, - "y": 380.65000973163546 + "x": 455.8124998773528, + "y": 194.28750821762046 } ], "labels": [], @@ -191,14 +191,14 @@ { "id": "2b2d95b4-a1b2-4a38-84c7-bc0dd245aeb2", "type": "point", - "x": 553.6625384833667, - "y": 490.23752304839684 + "x": 736.6125262188414, + "y": 324.3249809676317 }, { "id": "2419811a-905d-4df0-8c2c-d4450fde4a05", "type": "point", - "x": 592.2375472658402, - "y": 433.0374900339259 + "x": 779.7375583426078, + "y": 172.81248926459827 } ], "labels": [], @@ -219,14 +219,14 @@ { "id": "ea04db10-cce9-4c77-81e8-e7ec008835d0", "type": "point", - "x": 940.437565021522, - "y": 498.95001417055596 + "x": 1196.1125516668876, + "y": 151.2249969743022 }, { "id": "81d3895d-c4f5-4d7d-8ea5-68d2d4df0669", "type": "point", - "x": 965.5375523549931, - "y": 573.8625188869089 + "x": 1256.4374514407364, + "y": 151.12501175123478 } ], "labels": [], @@ -247,14 +247,14 @@ { "id": "7f554509-8aae-45ff-89a4-54b59fe9a081", "type": "point", - "x": 750.5624651458118, - "y": 411.43752212073184 + "x": 938.0750246829236, + "y": 151.2125088600958 }, { "id": "39479bf5-a050-43fb-a4ec-6d9712c8d074", "type": "point", - "x": 797.5749882334001, - "y": 498.95001417055596 + "x": 1053.2499707149964, + "y": 151.2249969743022 } ], "labels": [], @@ -275,14 +275,14 @@ { "id": "270c9f17-fd04-40a2-86ad-04c2d419509a", "type": "point", - "x": 308.02503928098525, - "y": 227.5125046771616 + "x": 279.6125485799944, + "y": 152.51247737880468 }, { "id": "9f98b634-47df-43e6-8109-8f0b666433f6", "type": "point", - "x": 368.3125842250548, - "y": 337.4500023796735 + "x": 455.8124998773528, + "y": 151.08750725390746 } ], "labels": [], @@ -303,14 +303,14 @@ { "id": "0df750a5-4189-4eeb-881c-a445181c81db", "type": "point", - "x": 561.6625265190889, - "y": 337.4500023796735 + "x": 649.162542672233, + "y": 151.08750725390746 }, { "id": "d9f33f95-c09f-4288-98be-8cd9336522e7", "type": "point", - "x": 592.2375472658402, - "y": 411.43752212073184 + "x": 779.7375583426078, + "y": 151.2125088600958 } ], "labels": [], @@ -331,14 +331,14 @@ { "id": "46d85e38-419e-49ba-8621-c071816a0ec6", "type": "point", - "x": 684.600080098246, - "y": 585.787505292715 + "x": 1000.5125439571837, + "y": 324.424981876132 }, { "id": "34187bcd-1cf2-4343-9e1d-6d48a55aec4e", "type": "point", - "x": 797.5749882334001, - "y": 520.5500438558365 + "x": 1053.2499707149964, + "y": 172.82497737880468 } ], "labels": [], @@ -350,7 +350,7 @@ } }, { - "id": "2238e694-ea3d-4067-b38d-366dfeb35d0a", + "id": "247099c8-8bb1-4728-b0cb-95f70a57fcd6", "type": "diagram-nodes", "isSvg": false, "transformed": true, @@ -358,20 +358,20 @@ "f2e8590e-a852-4f38-beab-2f9195005df7": { "id": "f2e8590e-a852-4f38-beab-2f9195005df7", "type": "custom-node", - "selected": false, + "selected": true, "extras": { "type": "Start", "borderColor": "rgb(0,192,255)" }, - "x": -189.947, - "y": 42.083, + "x": -276.49006220095697, + "y": 117.62127751196174, "ports": [ { "id": "bf8a4e2a-acf6-4402-ae31-00832051219c", "type": "default", "extras": {}, - "x": -132.4875170985064, - "y": 68.87499728185075, + "x": -219.03749028976307, + "y": 144.40921713774802, "name": "out-0", "alignment": "right", "parentNode": "f2e8590e-a852-4f38-beab-2f9195005df7", @@ -400,15 +400,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": -56.815, - "y": 224.496, + "x": -127.26954545454545, + "y": 297.22327272727273, "ports": [ { "id": "8a0d365e-17d1-4b36-a706-b9b2466739b8", "type": "default", "extras": {}, - "x": 26.3625111996115, - "y": 248.28749445550687, + "x": -44.08748290129675, + "y": 321.0125143211361, "name": "out-0", "alignment": "right", "parentNode": "a62090e4-1c85-4b93-bc00-c9bd3d4c3b2f", @@ -437,15 +437,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": -46.574, - "y": 302.031, + "x": -139.7558181818182, + "y": 380.44009090909094, "ports": [ { "id": "0a93b1c9-5a1d-4472-b4ec-89f32192874c", "type": "default", "extras": {}, - "x": 53.73754171718962, - "y": 325.82499639753456, + "x": -39.44993535812241, + "y": 404.23752363702835, "name": "out-0", "alignment": "right", "parentNode": "05f6a2a4-09fd-4b86-9d58-7b6100a9635f", @@ -474,15 +474,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": 476.688, - "y": 456.143, + "x": 659.6425454545454, + "y": 290.2339090909091, "ports": [ { "id": "31cb8b30-97c3-4e26-982e-6ca5db462d64", "type": "default", "extras": {}, - "x": 543.362466810407, - "y": 479.9375348219398, + "x": 726.3125543622724, + "y": 314.02499279821257, "name": "out-0", "alignment": "right", "parentNode": "6e4b0b0b-a64e-408c-8eb9-0b7ef2f80d10", @@ -510,15 +510,15 @@ "extras": { "type": "string" }, - "x": 214.783, - "y": 321.529, + "x": 295.46481818181815, + "y": 291.98354545454544, "ports": [ { "id": "12a1645f-297a-4a57-9a01-4fd80908e745", "type": "default", "extras": {}, - "x": 272.3500045412308, - "y": 345.32501789855553, + "x": 353.03760062049605, + "y": 315.774975130141, "name": "out-0", "alignment": "right", "parentNode": "edeacca4-189e-4e93-977c-7baf07eed7d3", @@ -546,15 +546,15 @@ "extras": { "type": "string" }, - "x": 238.077, - "y": 405.136, + "x": 294.8951818181818, + "y": 378.9996363636364, "ports": [ { "id": "674b4e87-6d8c-4f23-a532-deb52b47a5e2", "type": "default", "extras": {}, - "x": 299.21247846257313, - "y": 428.9250101304447, + "x": 356.0251109001013, + "y": 402.7874969743022, "name": "out-0", "alignment": "right", "parentNode": "f599d71f-42f7-4d0a-a1cd-9bcfc3a080ae", @@ -583,15 +583,15 @@ "type": "string", "borderColor": "rgb(0,192,255)" }, - "x": 556.505416694995, - "y": 551.6949034298942, + "x": 872.4145076040859, + "y": 290.33126706625785, "ports": [ { "id": "3614e995-9447-4c3b-928f-31e19342bdd4", "type": "default", "extras": {}, - "x": 674.3000084252863, - "y": 575.487517066258, + "x": 990.2125081040487, + "y": 314.12497802128, "name": "parameter-out-0", "alignment": "right", "parentNode": "d92ea62e-78c1-44eb-8219-274ef1f0e699", @@ -619,15 +619,15 @@ "extras": { "type": "Finish" }, - "x": 954.44, - "y": 536.763, + "x": 1245.349090909091, + "y": 114.03572727272729, "ports": [ { "id": "0b5eadd0-2526-479e-a680-be053fb017d5", "type": "default", "extras": {}, - "x": 955.2374806820334, - "y": 563.5625306604518, + "x": 1246.1374155876013, + "y": 140.8250078963828, "name": "in-0", "alignment": "left", "parentNode": "8e6e0f94-b83d-4092-9ec7-baba2d06473e", @@ -644,8 +644,8 @@ "id": "cbd55d56-a5c4-4bac-961c-e3e3386c76dc", "type": "default", "extras": {}, - "x": 955.2374806820334, - "y": 585.1625256666663, + "x": 1246.1374155876013, + "y": 162.42498830088527, "name": "parameter-dynalist-outputs", "alignment": "left", "parentNode": "8e6e0f94-b83d-4092-9ec7-baba2d06473e", @@ -685,15 +685,15 @@ } ] }, - "x": -87.223, - "y": 112.685, + "x": -173.3474019138756, + "y": 117.76873205741627, "ports": [ { "id": "fc292275-22bf-4c63-9e89-b3ae35ec4521", "type": "default", "extras": {}, - "x": -86.41252847324006, - "y": 139.47499757662283, + "x": -172.537495108328, + "y": 144.56248765840994, "name": "in-0", "alignment": "left", "parentNode": "4bae76e6-973b-4dc5-a5e5-001f151df81d", @@ -710,8 +710,8 @@ "id": "127dc107-8b7f-45fa-b46d-cef6eb44783f", "type": "default", "extras": {}, - "x": 48.887535613674, - "y": 139.47499757662283, + "x": -37.23749125347602, + "y": 144.56248765840994, "name": "out-0", "alignment": "right", "parentNode": "4bae76e6-973b-4dc5-a5e5-001f151df81d", @@ -749,15 +749,15 @@ } ] }, - "x": 103.579, - "y": 190.422, + "x": 75.16990909090909, + "y": 115.422, "ports": [ { "id": "de6da7e1-264e-4855-a48c-9ef9473355f1", "type": "default", "extras": {}, - "x": 104.37501230934161, - "y": 217.21250236233394, + "x": 75.96248561741213, + "y": 142.2124735239527, "name": "in-0", "alignment": "left", "parentNode": "1e2d0353-e823-44b2-bb74-c0fd413e482b", @@ -774,8 +774,8 @@ "id": "c8c4e815-3043-4a05-b95c-14ab003f25a6", "type": "default", "extras": {}, - "x": 104.37501230934161, - "y": 238.81251470808144, + "x": 75.96248561741213, + "y": 163.81249408316322, "name": "parameter-string-msg_trigger", "alignment": "left", "parentNode": "1e2d0353-e823-44b2-bb74-c0fd413e482b", @@ -792,8 +792,8 @@ "id": "773cd2bc-ef4b-4d45-ba27-6d418d6dbb7b", "type": "default", "extras": {}, - "x": 104.37501230934161, - "y": 260.4124923747629, + "x": 75.96248561741213, + "y": 185.41251464237374, "name": "parameter-string-msg_response", "alignment": "left", "parentNode": "1e2d0353-e823-44b2-bb74-c0fd413e482b", @@ -810,8 +810,8 @@ "id": "cb1cc96b-e2d3-4031-a162-f6960d89e3de", "type": "default", "extras": {}, - "x": 297.7250239615078, - "y": 217.21250236233394, + "x": 269.3125447251424, + "y": 142.2124735239527, "name": "out-0", "alignment": "right", "parentNode": "1e2d0353-e823-44b2-bb74-c0fd413e482b", @@ -851,15 +851,15 @@ } ] }, - "x": 357.215, - "y": 300.353, + "x": 444.715, + "y": 113.98936363636365, "ports": [ { "id": "ed2a88cb-8ad7-4659-9ee7-7d1f53ccbbe9", "type": "default", "extras": {}, - "x": 358.0125689055774, - "y": 327.1500141532164, + "x": 445.51252802078386, + "y": 140.78750339905548, "name": "in-0", "alignment": "left", "parentNode": "2994ae19-a3f2-4643-9dac-808979acbac4", @@ -876,8 +876,8 @@ "id": "279509f8-2776-4e04-aa12-7ef7909f0089", "type": "default", "extras": {}, - "x": 358.0125689055774, - "y": 348.7500264989639, + "x": 445.51252802078386, + "y": 162.38748380355796, "name": "parameter-string-msg_trigger", "alignment": "left", "parentNode": "2994ae19-a3f2-4643-9dac-808979acbac4", @@ -894,8 +894,8 @@ "id": "6c2d4809-ad88-4f33-a7f9-8eab1e3ae79e", "type": "default", "extras": {}, - "x": 358.0125689055774, - "y": 370.3500215051784, + "x": 445.51252802078386, + "y": 183.98750436276848, "name": "parameter-string-msg_response", "alignment": "left", "parentNode": "2994ae19-a3f2-4643-9dac-808979acbac4", @@ -912,8 +912,8 @@ "id": "8c1e82af-999b-4259-8cf0-f76bdb21b2c2", "type": "default", "extras": {}, - "x": 551.3625111996115, - "y": 327.1500141532164, + "x": 638.862506819098, + "y": 140.78750339905548, "name": "out-0", "alignment": "right", "parentNode": "2994ae19-a3f2-4643-9dac-808979acbac4", @@ -953,15 +953,15 @@ } ] }, - "x": 581.143, - "y": 374.348, + "x": 768.643, + "y": 114.12072727272727, "ports": [ { "id": "e23c008c-932d-46ad-9c56-4524036818ab", "type": "default", "extras": {}, - "x": 581.9375872161243, - "y": 401.1375068012544, + "x": 769.4375864860388, + "y": 140.91250500524382, "name": "in-0", "alignment": "left", "parentNode": "e89417af-2cd3-4ded-b04c-ea03319f5da8", @@ -978,8 +978,8 @@ "id": "14b81c97-47fa-42a4-8d41-13d2afe8fc23", "type": "default", "extras": {}, - "x": 581.9375872161243, - "y": 422.73750180746885, + "x": 769.4375864860388, + "y": 162.5124854097463, "name": "parameter-string-shutdown_cmd", "alignment": "left", "parentNode": "e89417af-2cd3-4ded-b04c-ea03319f5da8", @@ -996,8 +996,8 @@ "id": "3ee4e509-31e2-4d1a-8d27-b3f45bb722b7", "type": "default", "extras": {}, - "x": 740.2625050960959, - "y": 401.1375068012544, + "x": 927.7749888297888, + "y": 140.91250500524382, "name": "out-0", "alignment": "right", "parentNode": "e89417af-2cd3-4ded-b04c-ea03319f5da8", @@ -1036,15 +1036,15 @@ } ] }, - "x": 786.479, - "y": 461.853, + "x": 1042.1608181818183, + "y": 114.12572727272726, "ports": [ { "id": "b28e7c92-5ab1-4c34-b872-3836393fc770", "type": "default", "extras": {}, - "x": 787.2749729139226, - "y": 488.65002594409884, + "x": 1042.9499348618613, + "y": 140.92499311945022, "name": "in-0", "alignment": "left", "parentNode": "fc0b902f-c64a-46b8-8767-dc306d8e3d53", @@ -1061,8 +1061,8 @@ "id": "df5c13d4-4c3a-4ffd-9349-56dca8d22515", "type": "default", "extras": {}, - "x": 787.2749729139226, - "y": 510.2500556293794, + "x": 1042.9499348618613, + "y": 162.5249735239527, "name": "parameter-string-token", "alignment": "left", "parentNode": "fc0b902f-c64a-46b8-8767-dc306d8e3d53", @@ -1079,8 +1079,8 @@ "id": "c2767775-061d-42ad-b449-7afc9021df56", "type": "default", "extras": {}, - "x": 930.1376049718061, - "y": 488.65002594409884, + "x": 1185.8125158137527, + "y": 140.92499311945022, "name": "out-0", "alignment": "right", "parentNode": "fc0b902f-c64a-46b8-8767-dc306d8e3d53",