diff --git a/.github/workflows/run-workflow-tests.yml b/.github/workflows/run-workflow-tests.yml new file mode 100644 index 0000000..e121ae7 --- /dev/null +++ b/.github/workflows/run-workflow-tests.yml @@ -0,0 +1,139 @@ +name: Run Xircuits Workflows Test + +on: + push: + branches: [ main ] + pull_request: + branches: "*" + workflow_dispatch: + +jobs: + build-and-run: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11"] + env: + TEST_XIRCUITS: | + examples/DeclarativeExample.xircuits + examples/InlineExample.xircuits + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Create virtual environment + run: | + python -m venv venv + echo "${{ github.workspace }}/venv/bin" >> $GITHUB_PATH + + - name: Install xircuits in virtual environment + run: pip install xircuits + + - name: Set Environment Variables + run: | + LIBRARY_NAME=$(echo "${GITHUB_REPOSITORY##*/}" | sed 's/-/_/g') + echo "LIBRARY_NAME=$LIBRARY_NAME" >> $GITHUB_ENV + COMPONENT_LIBRARY_PATH="xai_components/${LIBRARY_NAME}" + echo "COMPONENT_LIBRARY_PATH=$COMPONENT_LIBRARY_PATH" >> $GITHUB_ENV + if [ "${{ github.event_name }}" == "pull_request" ]; then + echo "BRANCH_NAME=${{ github.head_ref }}" >> $GITHUB_ENV + else + echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV + fi + + - name: List Xircuits + run: xircuits list + + - name: Clone Repository + run: | + rm -rf ${{ env.COMPONENT_LIBRARY_PATH }} + if [ "${{ github.event_name }}" == "pull_request" ]; then + REPO_URL="${{ github.event.pull_request.head.repo.clone_url }}" + else + REPO_URL="https://github.com/${{ github.repository }}" + fi + git clone -b ${{ env.BRANCH_NAME }} $REPO_URL ${{ env.COMPONENT_LIBRARY_PATH }} + + - name: Install Component Library + run: | + if [ -f "${{ env.COMPONENT_LIBRARY_PATH }}/requirements.txt" ]; then + echo "requirements.txt found, installing dependencies..." + pip install -r ${{ env.COMPONENT_LIBRARY_PATH }}/requirements.txt + else + echo "requirements.txt not found." + fi + + - name: Test Flask .xircuits Workflow + run: | + export PYTHONPATH="${GITHUB_WORKSPACE}:${PYTHONPATH}" + LOG_FILE="${GITHUB_WORKSPACE}/workflow_logs.txt" + TEST_FILES=$(echo "$TEST_XIRCUITS" | tr '\n' ' ') + echo "Starting Flask .xircuits workflow test..." > $LOG_FILE + IFS=' ' read -r -a FILE_ARRAY <<< "$TEST_FILES" + if [ ${#FILE_ARRAY[@]} -eq 0 ]; then + echo "Error: No .xircuits files specified for testing." | tee -a $LOG_FILE + exit 1 + fi + for FILE in "${FILE_ARRAY[@]}"; do + FULL_PATH="${COMPONENT_LIBRARY_PATH}/${FILE}" + echo "Processing file: $FULL_PATH" | tee -a $LOG_FILE + if [ ! -f "$FULL_PATH" ]; then + echo "Error: Xircuits file not found at $FULL_PATH" | tee -a $LOG_FILE + exit 1 + fi + echo "Compiling Xircuits workflow: ${FULL_PATH}" >> $LOG_FILE + xircuits compile "$FULL_PATH" "${FULL_PATH%.*}.py" 2>&1 | tee -a $LOG_FILE + if [ ! -f "${FULL_PATH%.*}.py" ]; then + echo "Error: Compiled Python file not found at ${FULL_PATH%.*}.py" | tee -a $LOG_FILE + exit 1 + fi + echo "Running Python script: ${FULL_PATH%.*}.py" >> $LOG_FILE + python "${FULL_PATH%.*}.py" 2>&1 | tee -a $LOG_FILE & + PYTHON_PID=$! + echo "Waiting for Flask server to initialize..." >> $LOG_FILE + sleep 10 + TEST_ENDPOINT="http://127.0.0.1:8080/hello/world" + RETRIES=3 + SUCCESS=0 + for i in $(seq 1 $RETRIES); do + echo "Attempt $i: Checking endpoint $TEST_ENDPOINT..." | tee -a $LOG_FILE + if curl -s "$TEST_ENDPOINT" | grep -q "Hello World!"; then + echo "Flask test successful: Endpoint $TEST_ENDPOINT is running as expected." | tee -a $LOG_FILE + SUCCESS=1 + break + else + echo "Attempt $i failed. Retrying in 5 seconds..." | tee -a $LOG_FILE + sleep 5 + fi + done + if [ $SUCCESS -ne 1 ]; then + echo "Flask test failed: Endpoint $TEST_ENDPOINT did not respond as expected after $RETRIES attempts." | tee -a $LOG_FILE + if ps -p $PYTHON_PID > /dev/null; then + echo "Killing Python script process (PID: $PYTHON_PID)..." >> $LOG_FILE + kill -9 $PYTHON_PID + fi + exit 1 + fi + if ps -p $PYTHON_PID > /dev/null; then + echo "Python script ran successfully for the duration of the test. Killing the process..." | tee -a $LOG_FILE + kill -9 $PYTHON_PID + else + echo "Python script finished execution before the test completed." | tee -a $LOG_FILE + fi + echo "Completed testing file: $FULL_PATH" | tee -a $LOG_FILE + done + echo "All Flask and Python script tests completed successfully." >> $LOG_FILE + + - name: Upload log file + if: always() + uses: actions/upload-artifact@v4 + with: + name: ${{ env.LIBRARY_NAME }}-validation-workflow-${{ matrix.python-version }} + path: ${{ github.workspace }}/workflow_logs.txt diff --git a/examples/DeclarativeExample.xircuits b/examples/DeclarativeExample.xircuits index 060c710..5a8bb6d 100644 --- a/examples/DeclarativeExample.xircuits +++ b/examples/DeclarativeExample.xircuits @@ -6,7 +6,7 @@ "gridSize": 0, "layers": [ { - "id": "de904167-3742-449b-be70-b63079737578", + "id": "eed02298-c658-4763-8f5c-24f0513fe079", "type": "diagram-links", "isSvg": true, "transformed": true, @@ -17,20 +17,20 @@ "selected": false, "source": "b1683170-ce43-46e6-b238-b359964bd1a8", "sourcePort": "3aa6ff5a-f6a0-4229-9c8e-624ab85e85dc", - "target": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", - "targetPort": "699ef987-0793-496b-8c1f-4a01b2e7af5d", + "target": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", + "targetPort": "46a70c88-e25d-4f9c-82d1-9f74ab5f2938", "points": [ { "id": "cd472cc6-ddac-4a8d-9ae1-ee4668823ab4", "type": "point", - "x": 264.154, - "y": 131.641 + "x": 300.7222573323113, + "y": 134.2777770022496 }, { "id": "64706ebb-fd81-4d37-9fe7-3a20d5914c64", "type": "point", - "x": 319.154, - "y": 131.641 + "x": 319.2778269148265, + "y": 134.2777770022496 } ], "labels": [], @@ -43,22 +43,22 @@ "id": "da38440a-8bc8-4002-8a6d-16900dd29069", "type": "parameter-link", "selected": false, - "source": "cb830a56-0b84-449a-b633-28f0a10b6646", - "sourcePort": "2bbd17dc-01e9-4340-bf5d-de120bff4151", - "target": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", - "targetPort": "8c9b720c-b967-48a3-b2cb-e18d4d9e51d2", + "source": "0c681cd1-27b2-4de7-9f05-6e11d730b5a3", + "sourcePort": "345463a4-9c7d-4ffb-aa3c-bbd14ca2ba89", + "target": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", + "targetPort": "a6b767cd-b64c-4794-8f8a-ff20e09680e6", "points": [ { "id": "74b7f0ff-3da9-44b3-a829-cefa5745c845", "type": "point", - "x": 262.956, - "y": 184.648 + "x": 263.0277417382211, + "y": 184.72222385179373 }, { "id": "c7aab648-0394-46b0-829a-9e1c8d7c70d2", "type": "point", - "x": 319.154, - "y": 153.281 + "x": 319.2778269148265, + "y": 156.0555570972886 } ], "labels": [], @@ -71,22 +71,22 @@ "id": "893541d1-911a-4f43-bd7f-cd94ff110d23", "type": "parameter-link", "selected": false, - "source": "983f35b0-15c2-4f9e-8356-772885300a9f", - "sourcePort": "821f1a81-da5c-4aa8-9313-89399dd6ed73", - "target": "74cff0f8-bfb2-493f-b190-0e43313361b9", - "targetPort": "46bcad26-8ee5-48fb-804e-b5083fea8add", + "source": "0efdd65e-fbe5-4d38-aa48-d9d14e42c37c", + "sourcePort": "8da457fd-e778-427f-b921-748ef628e2f8", + "target": "261a5b7d-574e-48f7-84f3-324524023adf", + "targetPort": "b6a66277-07fc-4b28-9160-f3bb6d46e9b5", "points": [ { "id": "ace9c8d5-12b0-41bb-8033-e3e109ac9b15", "type": "point", - "x": 71.888, - "y": 355.638 + "x": 71.91671516950095, + "y": 355.7222312113989 }, { "id": "3daea35b-b901-4024-bc77-54d4f08db4d4", "type": "point", - "x": 120.156, - "y": 355.638 + "x": 120.27776030193067, + "y": 358.27778844634145 } ], "labels": [], @@ -95,26 +95,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "2cfbf6d4-9c51-4bbb-a3bd-ab9f3745e828": { - "id": "2cfbf6d4-9c51-4bbb-a3bd-ab9f3745e828", - "type": "triangle-link", + "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe": { + "id": "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe", + "type": "parameter-link", "selected": false, - "source": "74cff0f8-bfb2-493f-b190-0e43313361b9", - "sourcePort": "1f3eeb4e-7ffe-460b-9892-7bb4a0cbf303", - "target": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "targetPort": "912e84d7-7dc8-4b6f-874d-3000dd0a8e19", + "source": "ae396d91-b9f1-4d2b-80fc-547d4dfb473e", + "sourcePort": "e9dcd136-ba16-40e5-8a80-7c664125f16c", + "target": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", + "targetPort": "66a3aeaf-7ee5-4cdd-aff8-add90a9e2ae7", "points": [ { - "id": "6c28f1ab-5fde-47a4-9f8b-da8d5e1c6ebc", + "id": "5605892f-f557-42d2-9741-94c78f386860", "type": "point", - "x": 260.69, - "y": 355.638 + "x": 537.916771674704, + "y": 426.7222050669196 }, { - "id": "171901e1-67e2-4a69-9072-189b87eeeec0", + "id": "7ba41e53-435b-43e8-b2fc-d1c8b4cc9919", "type": "point", - "x": 346.159, - "y": 355.638 + "x": 540.2778769262603, + "y": 379.055534416153 } ], "labels": [], @@ -123,26 +123,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "41dbcd6b-7c8f-4840-aa6c-c96657f072ae": { - "id": "41dbcd6b-7c8f-4840-aa6c-c96657f072ae", + "22d8f047-065c-4435-990c-543d1bd5b7ac": { + "id": "22d8f047-065c-4435-990c-543d1bd5b7ac", "type": "parameter-link", "selected": false, - "source": "74cff0f8-bfb2-493f-b190-0e43313361b9", - "sourcePort": "d6fff743-219c-4c7f-ae7d-c069129078c4", - "target": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "targetPort": "e0a69374-52af-465d-978a-6ee4918d27e4", + "source": "e841b005-8ac7-4805-bb53-add4957e611d", + "sourcePort": "8438294c-afb1-47dd-9215-d7c832d3aaa5", + "target": "08d85c34-9d03-4381-b848-3d93486f3c83", + "targetPort": "93373981-ea69-4d08-ada0-685f8ff35894", "points": [ { - "id": "d5429b00-91e1-4a0f-b24c-56fabf8313a7", + "id": "9cfb2104-5f1c-438e-aeef-dec2a92d18b3", "type": "point", - "x": 260.69, - "y": 377.279 + "x": 68.91671518832347, + "y": 482.72221756507247 }, { - "id": "52c63efb-b4fd-4488-9779-f5335b61a950", + "id": "2c0217f2-d556-4f22-aed0-db3669ddc2df", "type": "point", - "x": 346.159, - "y": 377.279 + "x": 117.27776032075317, + "y": 485.27779166499226 } ], "labels": [], @@ -151,26 +151,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "d2ffc9a4-d47c-4877-8d99-45ed9e1d41b5": { - "id": "d2ffc9a4-d47c-4877-8d99-45ed9e1d41b5", - "type": "triangle-link", + "c46b2f09-5291-4963-98a9-be09631cb932": { + "id": "c46b2f09-5291-4963-98a9-be09631cb932", + "type": "parameter-link", "selected": false, - "source": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "sourcePort": "44bf7989-cc4d-4cab-aca7-325ae198d14e", - "target": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", - "targetPort": "94e6e931-30d8-4de0-b0d9-fb4723862167", + "source": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", + "sourcePort": "d21628c9-e5c6-4a9e-9b8a-7a2ae2779665", + "target": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", + "targetPort": "08b97b31-3927-4945-9779-726d2c505426", "points": [ { - "id": "c9659651-a431-489d-933a-542b82509cd3", + "id": "f5af0af9-873a-417b-8132-f66642a89e94", "type": "point", - "x": 420.846, - "y": 355.638 + "x": 627.1804943876743, + "y": 507.05556814610765 }, { - "id": "6a9fc5e3-bc44-41c0-909d-1cb43a761647", + "id": "7c381d44-1574-4dde-ba81-e992ba73ce2c", "type": "point", - "x": 540.156, - "y": 354.648 + "x": 820.2778237714659, + "y": 507.05556814610765 } ], "labels": [], @@ -179,26 +179,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe": { - "id": "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe", + "7a500021-e78b-4e62-ab9b-690e90b2ce88": { + "id": "7a500021-e78b-4e62-ab9b-690e90b2ce88", "type": "parameter-link", "selected": false, - "source": "83f06174-a450-4991-bfe5-c69e43e43f5a", - "sourcePort": "c0813ab6-cd5b-4bcd-ab44-3a6e507c6ecd", - "target": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", - "targetPort": "4b6e9de5-9d44-499b-9501-5355c635377c", + "source": "91ed4c89-26b8-48d3-858d-d68e1408e5fd", + "sourcePort": "858d3e9a-2047-4025-91e5-709a0ece5aa1", + "target": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", + "targetPort": "6b189679-e351-4116-95fd-fa1494328884", "points": [ { - "id": "5605892f-f557-42d2-9741-94c78f386860", + "id": "86358518-f9ef-4dad-8fcf-504a3ab2a817", "type": "point", - "x": 537.865, - "y": 426.641 + "x": 69.74997998572701, + "y": 612.7222978619398 }, { - "id": "7ba41e53-435b-43e8-b2fc-d1c8b4cc9919", + "id": "9fa6838f-7aba-4a20-96a9-54950398b73b", "type": "point", - "x": 540.156, - "y": 376.289 + "x": 125.31944406964038, + "y": 610.2222721786122 } ], "labels": [], @@ -207,26 +207,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "22d8f047-065c-4435-990c-543d1bd5b7ac": { - "id": "22d8f047-065c-4435-990c-543d1bd5b7ac", - "type": "parameter-link", + "07851799-1b6b-48ab-9b5e-426e74b6278c": { + "id": "07851799-1b6b-48ab-9b5e-426e74b6278c", + "type": "triangle-link", "selected": false, - "source": "d5e9dcd1-89e1-4ea8-b9c0-c84f9877e5ad", - "sourcePort": "d4eaf513-ba53-4baa-bb9d-30d05a0ce8aa", - "target": "3f684f61-6e69-4441-9259-d600a7f9c71c", - "targetPort": "696288a3-4d0d-479d-9fec-927c6e9b2b0c", + "source": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", + "sourcePort": "512b7dd6-8ebb-46f4-84d2-99015b715434", + "target": "6269e81b-6385-4d09-b298-1f57f3004885", + "targetPort": "b353ebd2-c471-4a3e-93ae-568d5f7c56ba", "points": [ { - "id": "9cfb2104-5f1c-438e-aeef-dec2a92d18b3", + "id": "c141fdbc-8fcd-4f1e-87f4-abc6928bcd8f", "type": "point", - "x": 68.893, - "y": 482.643 + "x": 451.87508841520236, + "y": 134.2777770022496 }, { - "id": "2c0217f2-d556-4f22-aed0-db3669ddc2df", + "id": "defa5d9c-3da1-464c-a510-2e66ee2ec2bd", "type": "point", - "x": 117.148, - "y": 482.643 + "x": 509.2777743247077, + "y": 134.2777770022496 } ], "labels": [], @@ -235,26 +235,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "fd1bc2bf-3059-4bf1-9660-1dbdb94bac7a": { - "id": "fd1bc2bf-3059-4bf1-9660-1dbdb94bac7a", + "cb820b88-cb48-4e8c-8808-f6bf465e8772": { + "id": "cb820b88-cb48-4e8c-8808-f6bf465e8772", "type": "triangle-link", "selected": false, - "source": "3f684f61-6e69-4441-9259-d600a7f9c71c", - "sourcePort": "bef9f8af-34ab-441a-8a2f-cd3e720d39c4", - "target": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "targetPort": "4c407802-f0f0-491e-ac2e-d725f03033af", + "source": "6269e81b-6385-4d09-b298-1f57f3004885", + "sourcePort": "7ba771f2-7c89-4f3b-919f-604acf2f54e7", + "target": "a0167c3f-a2af-4959-b828-34b961eda73b", + "targetPort": "344845af-82b1-4303-8c05-5d21014160f1", "points": [ { - "id": "2b36f5a5-9c01-4b74-9f80-56a90f5712a0", + "id": "004bb45a-1621-41bd-8026-91167bc841f5", "type": "point", - "x": 257.682, - "y": 482.643 + "x": 655.0834547389222, + "y": 134.2777770022496 }, { - "id": "b27da224-2f1d-4f97-9b0b-dd609b23caeb", + "id": "a263a6ad-fb0f-43f6-9d89-6c56b4137967", "type": "point", - "x": 343.151, - "y": 482.643 + "x": 707.2777730824215, + "y": 133.27777058377052 } ], "labels": [], @@ -263,26 +263,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "6dacce9a-1392-4341-a3bc-61586560f8f9": { - "id": "6dacce9a-1392-4341-a3bc-61586560f8f9", - "type": "parameter-link", + "00d154ab-bd85-4dcf-bab9-992ba0296282": { + "id": "00d154ab-bd85-4dcf-bab9-992ba0296282", + "type": "triangle-link", "selected": false, - "source": "3f684f61-6e69-4441-9259-d600a7f9c71c", - "sourcePort": "a914f6a1-e623-46a2-9357-899dd21fa63f", - "target": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "targetPort": "64174db6-55e6-494a-9f4f-0ec255441306", + "source": "a0167c3f-a2af-4959-b828-34b961eda73b", + "sourcePort": "ac8e1804-fba5-47b4-9b4a-e1741ba8dbf4", + "target": "99946a86-1eda-4468-a655-346a8d04de65", + "targetPort": "8675f7a9-944e-4240-8dbb-af6b57da4d44", "points": [ { - "id": "9013c57f-ab01-4698-87d4-76fd8e95c6c4", + "id": "19eee166-e7ce-4f16-802e-d3a807d1d384", "type": "point", - "x": 257.682, - "y": 504.284 + "x": 843.7221768283966, + "y": 133.27777058377052 }, { - "id": "28055780-3f31-4ee3-b9eb-a94acf5031b5", + "id": "8424032a-24c0-4391-b1e4-967381b4eb48", "type": "point", - "x": 343.151, - "y": 504.284 + "x": 966.2778742534628, + "y": 135.27778342072867 } ], "labels": [], @@ -291,26 +291,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "c3a69fc6-23f4-4a91-aa23-7fd820e9cfda": { - "id": "c3a69fc6-23f4-4a91-aa23-7fd820e9cfda", + "d5aa8c1b-2c42-41c7-b542-8b750e58303b": { + "id": "d5aa8c1b-2c42-41c7-b542-8b750e58303b", "type": "triangle-link", "selected": false, - "source": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "sourcePort": "1d34ba71-afe1-4af7-ba0b-4f2fc532cffa", - "target": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", - "targetPort": "df51070d-e8be-4f38-b22d-2ff96cc47aa3", + "source": "97d22783-e580-4887-95e7-9dae0d64fa27", + "sourcePort": "73c24ac3-a4f5-431e-bae1-9e497769fefa", + "target": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", + "targetPort": "34595383-e74c-4700-8b96-a5be7df1b511", "points": [ { - "id": "e0f65b44-4c5b-49ea-a312-66b4f94a785e", + "id": "889c4dce-89eb-45ad-8a7c-27498fb26db4", "type": "point", - "x": 417.839, - "y": 482.643 + "x": 292.2638640876834, + "y": 731.2778503536074 }, { - "id": "3ba9d1bb-6289-49f5-b4e8-6a18131f72f1", + "id": "72d2369c-598d-4541-87ff-14b744d4b493", "type": "point", - "x": 463.151, - "y": 482.643 + "x": 439.27782616192576, + "y": 730.2778246608686 } ], "labels": [], @@ -319,26 +319,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "31f221ab-8231-4c7b-be14-293f954d45b1": { - "id": "31f221ab-8231-4c7b-be14-293f954d45b1", - "type": "triangle-link", + "144e65e0-257b-477c-b8e4-d6dfb65ef551": { + "id": "144e65e0-257b-477c-b8e4-d6dfb65ef551", + "type": "parameter-link", "selected": false, - "source": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", - "sourcePort": "5961b929-1ebc-485a-8b13-6e866c4fdd20", - "target": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "targetPort": "d5d1e82e-0da3-4f3c-88c4-bd298c2fffc9", + "source": "5359a46f-867c-44c0-9cf4-123d054a0334", + "sourcePort": "7f942e81-b8da-4b44-adf3-56ded10fa0ad", + "target": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", + "targetPort": "89851a95-883b-43ad-a5f4-4ea84d53700b", "points": [ { - "id": "c66a7d55-82ca-4e30-b132-1ac175576c65", + "id": "f7114ba1-0664-43da-91ca-59b54dcd16e0", "type": "point", - "x": 594.714, - "y": 482.643 + "x": 403.3334049204191, + "y": 822.7222965443634 }, { - "id": "0b6f0d40-8b86-4342-a19c-fdedf0e0c412", + "id": "72e01690-9504-494a-a2e0-2bc7b271e268", "type": "point", - "x": 658.151, - "y": 482.643 + "x": 439.27782616192576, + "y": 752.0556131883964 } ], "labels": [], @@ -347,26 +347,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "ea4666c2-1b93-4acc-b565-10ba2c24537a": { - "id": "ea4666c2-1b93-4acc-b565-10ba2c24537a", + "aa655f1d-4132-4623-b90d-575ba39ec802": { + "id": "aa655f1d-4132-4623-b90d-575ba39ec802", "type": "parameter-link", "selected": false, - "source": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", - "sourcePort": "9b7b6263-434c-4029-a49f-6be42fb542c6", - "target": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "targetPort": "9ddab378-781b-46ac-8f9d-e20b4f898952", + "source": "347d2606-7710-43f7-911d-4f83a39ad984", + "sourcePort": "5b467a61-33a1-4e63-9fc8-03603370283b", + "target": "97d22783-e580-4887-95e7-9dae0d64fa27", + "targetPort": "55146e38-ff24-43fe-897a-5a6b45b15758", "points": [ { - "id": "c7b5d528-42bf-4f05-b26f-b7f8f1391a2c", + "id": "fd128450-2ee0-424a-90f9-787f975f0e5a", "type": "point", - "x": 594.714, - "y": 504.284 + "x": 55.7777607066148, + "y": 728.7222714351226 }, { - "id": "08c1b09a-21dd-420f-be8e-af651874372e", + "id": "49ca3d50-64ae-4576-b465-e1f06d346bc8", "type": "point", - "x": 658.151, - "y": 504.284 + "x": 122.27773459036933, + "y": 731.2778503536074 } ], "labels": [], @@ -375,26 +375,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "7aa58c21-04aa-450d-b8d8-78b4732677a0": { - "id": "7aa58c21-04aa-450d-b8d8-78b4732677a0", - "type": "triangle-link", + "8a35c68f-29d6-4920-93e6-6ed8726793d5": { + "id": "8a35c68f-29d6-4920-93e6-6ed8726793d5", + "type": "parameter-link", "selected": false, - "source": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "sourcePort": "4c872261-70ad-4c3f-8569-65f9f6d01902", - "target": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", - "targetPort": "540d2239-c11b-4ba7-8642-f51682ba35a8", + "source": "7c1e161f-b3bc-4fad-9eeb-953627ac7a65", + "sourcePort": "04f112b0-d98d-4013-949b-ba6dbdba4571", + "target": "97d22783-e580-4887-95e7-9dae0d64fa27", + "targetPort": "aa7ac620-939f-4521-9cc7-08fc769cb6ca", "points": [ { - "id": "5fa29467-283a-4d48-8742-2d6100ac6f84", + "id": "86eb91c6-d6d0-4910-98df-15ec8fc084c8", "type": "point", - "x": 732.839, - "y": 482.643 + "x": 60.69447017412179, + "y": 803.7222709645598 }, { - "id": "71f0ee97-592b-4392-896f-42b976df9641", + "id": "6e354e02-b488-4106-a947-fbb6fb0bd68e", "type": "point", - "x": 820.156, - "y": 482.643 + "x": 122.27773459036933, + "y": 753.0556388811351 } ], "labels": [], @@ -403,26 +403,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "c46b2f09-5291-4963-98a9-be09631cb932": { - "id": "c46b2f09-5291-4963-98a9-be09631cb932", - "type": "parameter-link", + "5f9c960f-c9c5-4c18-b745-ba88791839ad": { + "id": "5f9c960f-c9c5-4c18-b745-ba88791839ad", + "type": "triangle-link", "selected": false, - "source": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", - "sourcePort": "9b7b6263-434c-4029-a49f-6be42fb542c6", - "target": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", - "targetPort": "f288e024-514b-48bf-967d-59fcbc05e38d", + "source": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", + "sourcePort": "a36fb62c-846c-4cac-8092-267a03391d4e", + "target": "efa12924-a53b-4d4e-b145-29f9906ac8da", + "targetPort": "e5583eba-34f9-4f75-82f6-388c3f5e0b6d", "points": [ { - "id": "f5af0af9-873a-417b-8132-f66642a89e94", + "id": "715d1170-f835-4260-a086-97af9e9e2441", "type": "point", - "x": 594.714, - "y": 504.284 + "x": 259.98603225895005, + "y": 962.2778489042735 }, { - "id": "7c381d44-1574-4dde-ba81-e992ba73ce2c", + "id": "cbe032ff-d3c4-41a5-ab69-dca8711c6d4a", "type": "point", - "x": 820.156, - "y": 504.284 + "x": 356.2777752846562, + "y": 961.2778232115347 } ], "labels": [], @@ -431,26 +431,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "7a500021-e78b-4e62-ab9b-690e90b2ce88": { - "id": "7a500021-e78b-4e62-ab9b-690e90b2ce88", - "type": "parameter-link", + "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d": { + "id": "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d", + "type": "triangle-link", "selected": false, - "source": "a8c0d874-ab91-4eb3-bdaa-8b3cc8a76a4e", - "sourcePort": "c66833bd-aac9-4703-9a51-3f609068b324", - "target": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "targetPort": "59434962-297e-4ac2-966c-0fe5f78a2bc2", + "source": "efa12924-a53b-4d4e-b145-29f9906ac8da", + "sourcePort": "226e173f-ba85-46cc-8b3b-87bb11b4c3a1", + "target": "34351809-e3ed-4cf5-b1a2-3953a11cb576", + "targetPort": "c85abb10-ab7c-4021-b9c1-f7620dbfb638", "points": [ { - "id": "86358518-f9ef-4dad-8fcf-504a3ab2a817", + "id": "154c49be-6d8b-4cb3-b29a-528e7cb08708", "type": "point", - "x": 69.818, - "y": 612.643 + "x": 539.1110903381862, + "y": 983.0556117390624 }, { - "id": "9fa6838f-7aba-4a20-96a9-54950398b73b", + "id": "057711c9-7587-4cca-8b60-3198418fa780", "type": "point", - "x": 120.156, - "y": 612.643 + "x": 591.2778766062775, + "y": 983.2778487725159 } ], "labels": [], @@ -459,26 +459,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "e3319030-9ab0-450f-93d5-7d5c2f8fbc91": { - "id": "e3319030-9ab0-450f-93d5-7d5c2f8fbc91", + "398aab01-7eb4-4173-859a-a8107dac623a": { + "id": "398aab01-7eb4-4173-859a-a8107dac623a", "type": "triangle-link", "selected": false, - "source": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "sourcePort": "120a5d14-d232-465a-8896-a1c69addc7df", - "target": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", - "targetPort": "6a642aa7-e4c9-4610-ad35-f6be62c8cd9c", + "source": "34351809-e3ed-4cf5-b1a2-3953a11cb576", + "sourcePort": "90972aba-85e4-4375-a5b6-7aeb43be5001", + "target": "53014233-182a-411e-834f-8c7be1629b49", + "targetPort": "ec700696-fe33-4b3f-a0d8-b3c395615f27", "points": [ { - "id": "1e4bb826-4742-46ec-81a6-ecd356f538c1", + "id": "7e2b343a-869e-4ee7-b899-393965c8ba45", "type": "point", - "x": 260.69, - "y": 612.643 + "x": 743.1528756533876, + "y": 983.2778487725159 }, { - "id": "66f877a1-7d55-45af-8b1f-4bad0fa9bebd", + "id": "62a79eaf-0f31-4e0d-a82d-f2db5af7decb", "type": "point", - "x": 334.154, - "y": 612.643 + "x": 803.2777724801009, + "y": 984.2777973682157 } ], "labels": [], @@ -487,26 +487,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "f1350fbe-8a21-42ef-bab5-7bced1f53854": { - "id": "f1350fbe-8a21-42ef-bab5-7bced1f53854", - "type": "parameter-link", + "34939999-adca-4419-b494-81736e25bb8d": { + "id": "34939999-adca-4419-b494-81736e25bb8d", + "type": "triangle-link", "selected": false, - "source": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "sourcePort": "73b0f8f2-351a-4368-815b-b158c2e64381", - "target": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", - "targetPort": "eb8a66aa-bc48-4aa4-a30f-95a0f712cfb1", + "source": "53014233-182a-411e-834f-8c7be1629b49", + "sourcePort": "203082aa-7daf-471e-a0e9-fd017683bb75", + "target": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", + "targetPort": "614c32e4-67d9-4869-8296-1e9478f25a72", "points": [ { - "id": "0c71cb15-aa90-4678-b458-73d5d4ae5f76", + "id": "c7155da8-df1c-4e2c-bf8f-aa61e5039d3c", "type": "point", - "x": 260.69, - "y": 634.284 + "x": 942.0139628070917, + "y": 984.2777973682157 }, { - "id": "14c1a351-33b2-4fba-a937-9a10d5f26956", + "id": "c5504200-2007-4ceb-89b4-e263b8415eda", "type": "point", - "x": 334.154, - "y": 634.284 + "x": 994.2778226797599, + "y": 984.2777973682157 } ], "labels": [], @@ -515,26 +515,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "07851799-1b6b-48ab-9b5e-426e74b6278c": { - "id": "07851799-1b6b-48ab-9b5e-426e74b6278c", + "c2c998f1-31b8-4f1e-8da4-18f8c10198f3": { + "id": "c2c998f1-31b8-4f1e-8da4-18f8c10198f3", "type": "triangle-link", "selected": false, - "source": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", - "sourcePort": "fff37582-f9ae-41d4-8354-9a201b26439d", - "target": "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13", - "targetPort": "341f252e-cbe0-497c-9862-8081fb596506", + "source": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", + "sourcePort": "abcfd384-3b46-4c21-9630-ffe6684be466", + "target": "2b51854e-c912-4209-a7e5-b4b0ec38d130", + "targetPort": "b2cd91e4-a658-499f-9c9f-191ecd5db784", "points": [ { - "id": "c141fdbc-8fcd-4f1e-87f4-abc6928bcd8f", + "id": "9d468475-1968-486e-a895-6a8f841df382", "type": "point", - "x": 441.354, - "y": 131.641 + "x": 1146.15282172687, + "y": 984.2777973682157 }, { - "id": "defa5d9c-3da1-464c-a510-2e66ee2ec2bd", + "id": "1530dfb9-a6ac-407f-b962-836f16909e61", "type": "point", - "x": 509.154, - "y": 131.641 + "x": 1186.2778214751188, + "y": 983.2778487725159 } ], "labels": [], @@ -543,26 +543,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "cb820b88-cb48-4e8c-8808-f6bf465e8772": { - "id": "cb820b88-cb48-4e8c-8808-f6bf465e8772", + "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68": { + "id": "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68", "type": "triangle-link", "selected": false, - "source": "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13", - "sourcePort": "14c73f6d-4f9b-49db-9842-d59dbc95387b", - "target": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", - "targetPort": "cdb48b8e-606b-44e1-a050-283067d489a9", + "source": "2b51854e-c912-4209-a7e5-b4b0ec38d130", + "sourcePort": "b8029c85-0164-433a-bc56-02080b51c8be", + "target": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", + "targetPort": "c0ceb158-fc7c-4578-b322-707dd94fc6d0", "points": [ { - "id": "004bb45a-1621-41bd-8026-91167bc841f5", + "id": "09080708-74a9-4b66-987c-3732d212aa6d", "type": "point", - "x": 622.982, - "y": 131.641 + "x": 1325.0138576080317, + "y": 983.2778487725159 }, { - "id": "a263a6ad-fb0f-43f6-9d89-6c56b4137967", + "id": "d41ac369-4aa8-4408-b119-b801f552e19f", "type": "point", - "x": 707.149, - "y": 130.638 + "x": 1370.2777689226452, + "y": 983.2778487725159 } ], "labels": [], @@ -571,26 +571,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "00d154ab-bd85-4dcf-bab9-992ba0296282": { - "id": "00d154ab-bd85-4dcf-bab9-992ba0296282", - "type": "triangle-link", + "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1": { + "id": "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1", + "type": "parameter-link", "selected": false, - "source": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", - "sourcePort": "f17b7c66-d2fb-488d-8cf0-4b961ce7c0fb", - "target": "9167c7e3-e29d-48aa-bdea-259f261c03ea", - "targetPort": "8fb2b1a0-3dff-4e6a-b193-61dfd20f6993", + "source": "c7168575-1c97-4ef3-9225-11b3a15e7893", + "sourcePort": "13317360-aa51-46bb-9adb-94d549ca0df1", + "target": "53014233-182a-411e-834f-8c7be1629b49", + "targetPort": "312f4070-eccb-4980-b41e-aaf2c99a9ee0", "points": [ { - "id": "19eee166-e7ce-4f16-802e-d3a807d1d384", + "id": "4964bc37-4a2f-43ac-ac73-13dee477cb49", "type": "point", - "x": 812.409, - "y": 130.638 + "x": 771.1111916786301, + "y": 871.722244838903 }, { - "id": "8424032a-24c0-4391-b1e4-967381b4eb48", + "id": "170fab01-98ea-4434-9f22-150a86aecb57", "type": "point", - "x": 966.159, - "y": 132.643 + "x": 803.2777724801009, + "y": 1006.0555858957434 } ], "labels": [], @@ -599,26 +599,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "d5aa8c1b-2c42-41c7-b542-8b750e58303b": { - "id": "d5aa8c1b-2c42-41c7-b542-8b750e58303b", - "type": "triangle-link", + "5b5c1f60-99e0-4da1-b932-70151728cd6c": { + "id": "5b5c1f60-99e0-4da1-b932-70151728cd6c", + "type": "parameter-link", "selected": false, - "source": "744db50f-5858-4ee5-ab8c-61706901081c", - "sourcePort": "e5300b72-aab3-4154-ac6d-be610d9b8f7e", - "target": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", - "targetPort": "b7ddd851-0f9d-4e96-82bd-5d83cfb1eb93", + "source": "c7168575-1c97-4ef3-9225-11b3a15e7893", + "sourcePort": "13317360-aa51-46bb-9adb-94d549ca0df1", + "target": "2b51854e-c912-4209-a7e5-b4b0ec38d130", + "targetPort": "ed0c26ae-383d-4ec5-add4-b535bd1e00f1", "points": [ { - "id": "889c4dce-89eb-45ad-8a7c-27498fb26db4", + "id": "406b45c8-4899-47e7-9fe6-11bceb10ae8a", "type": "point", - "x": 258.594, - "y": 728.646 + "x": 771.1111916786301, + "y": 871.722244838903 }, { - "id": "72d2369c-598d-4541-87ff-14b744d4b493", + "id": "97eeda2b-2126-4d4e-8412-cd3908f054ce", "type": "point", - "x": 439.154, - "y": 727.643 + "x": 1186.2778214751188, + "y": 1005.0556373000436 } ], "labels": [], @@ -627,26 +627,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "144e65e0-257b-477c-b8e4-d6dfb65ef551": { - "id": "144e65e0-257b-477c-b8e4-d6dfb65ef551", + "e6a6d60e-2cf2-405d-85b2-828718663ac3": { + "id": "e6a6d60e-2cf2-405d-85b2-828718663ac3", "type": "parameter-link", "selected": false, - "source": "bede947e-b5e5-4e90-a245-9691c298dba4", - "sourcePort": "c93c3087-d384-4fbc-a0d2-3c5ac0a74b08", - "target": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", - "targetPort": "83f861c6-a9af-4712-9f40-bd3b188c5c1a", + "source": "c31b24fd-1f16-468e-ad3d-c8ae6d9abf5b", + "sourcePort": "6b9de21b-b881-404b-a6e6-b1217f335347", + "target": "34351809-e3ed-4cf5-b1a2-3953a11cb576", + "targetPort": "1809b10a-0f48-4f97-94b2-d8fe9c3685e1", "points": [ { - "id": "f7114ba1-0664-43da-91ca-59b54dcd16e0", + "id": "35b798bc-fc12-4e37-b0bc-8b3c8d8ec8b3", "type": "point", - "x": 403.32, - "y": 822.643 + "x": 547.7916688166947, + "y": 1090.722243464859 }, { - "id": "72e01690-9504-494a-a2e0-2bc7b271e268", + "id": "97276457-249d-41bf-8670-d16646b60dc8", "type": "point", - "x": 439.154, - "y": 749.284 + "x": 591.2778766062775, + "y": 1005.0556373000436 } ], "labels": [], @@ -655,26 +655,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "aa655f1d-4132-4623-b90d-575ba39ec802": { - "id": "aa655f1d-4132-4623-b90d-575ba39ec802", + "0c7af87c-9c91-4760-a26a-ba6315fc528f": { + "id": "0c7af87c-9c91-4760-a26a-ba6315fc528f", "type": "parameter-link", "selected": false, - "source": "07fdaea7-3570-4910-88e0-ac4e51c6bd2e", - "sourcePort": "d27b3b33-fcbf-4b72-bbdf-417d986e511d", - "target": "744db50f-5858-4ee5-ab8c-61706901081c", - "targetPort": "58eb9a4e-0e8c-48c9-ae43-61ca98dcc356", + "source": "82283e9a-bc66-4996-b03b-db4b0f393617", + "sourcePort": "2f95a57e-40a9-4578-8070-42d61f8dde7f", + "target": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", + "targetPort": "ae91f10c-8141-429d-ad55-8b2485eadc07", "points": [ { - "id": "fd128450-2ee0-424a-90f9-787f975f0e5a", + "id": "03b274b0-806b-461a-afa7-bed25cf0bf1b", "type": "point", - "x": 51.576, - "y": 728.646 + "x": 948.6805437685539, + "y": 1090.722243464859 }, { - "id": "49ca3d50-64ae-4576-b465-e1f06d346bc8", + "id": "affaa847-aded-4fb9-bf8f-6e4eb5dc4e69", "type": "point", - "x": 122.148, - "y": 728.646 + "x": 994.2778226797599, + "y": 1006.0555858957434 } ], "labels": [], @@ -683,26 +683,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "8a35c68f-29d6-4920-93e6-6ed8726793d5": { - "id": "8a35c68f-29d6-4920-93e6-6ed8726793d5", + "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496": { + "id": "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496", "type": "parameter-link", "selected": false, - "source": "f9d4a9d1-8e9c-4407-9280-02db5fa073eb", - "sourcePort": "762fcd9f-bae7-4044-adb8-cae59fdb5f18", - "target": "744db50f-5858-4ee5-ab8c-61706901081c", - "targetPort": "3cccf910-ff0c-4f10-afb7-bc9d83a4a3c5", + "source": "3836fc38-7231-4ce8-831a-78358613e2a4", + "sourcePort": "9f281f31-9f62-4a62-806c-ece4deb7297f", + "target": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", + "targetPort": "37b3040f-e104-4fe7-92fd-404ce99ebca3", "points": [ { - "id": "86eb91c6-d6d0-4910-98df-15ec8fc084c8", + "id": "590c0700-d504-44e2-8a09-3d857e6453d6", "type": "point", - "x": 54.779, - "y": 803.646 + "x": 1349.7917665808602, + "y": 1084.7222435025042 }, { - "id": "6e354e02-b488-4106-a947-fbb6fb0bd68e", + "id": "d68f8347-d93d-4ac8-a0ff-015d29bf41e6", "type": "point", - "x": 122.148, - "y": 750.286 + "x": 1370.2777689226452, + "y": 1005.0556373000436 } ], "labels": [], @@ -711,26 +711,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "5f9c960f-c9c5-4c18-b745-ba88791839ad": { - "id": "5f9c960f-c9c5-4c18-b745-ba88791839ad", - "type": "triangle-link", + "019e983b-9040-48e7-b07e-5f77a06a1437": { + "id": "019e983b-9040-48e7-b07e-5f77a06a1437", + "type": "parameter-link", "selected": false, - "source": "a71ba970-7b6e-4e40-bea4-e858af9d2449", - "sourcePort": "a1b81a8c-aa19-4e1b-8d49-7952bc7079db", - "target": "7d5fd329-0537-408b-b627-871fcb92f1f7", - "targetPort": "06b84e07-9f8b-4e62-b532-e8ed59b51a59", + "source": "f99ad061-f9da-4909-9eb1-384c85617f95", + "sourcePort": "21234629-c04a-447f-b89f-cd45774f7ccf", + "target": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", + "targetPort": "b16c8491-cda4-44a9-b0a4-e9469a58723d", "points": [ { - "id": "715d1170-f835-4260-a086-97af9e9e2441", + "id": "9a8d386a-adb1-41e2-92a3-31dc380040e8", "type": "point", - "x": 259.87, - "y": 959.648 + "x": 40.91668966498731, + "y": 959.7222699857889 }, { - "id": "cbe032ff-d3c4-41a5-ab69-dca8711c6d4a", + "id": "6cde5896-d201-438f-9dc0-1b5958aa25d2", "type": "point", - "x": 356.159, - "y": 958.646 + "x": 99.27776043368829, + "y": 962.2778489042735 } ], "labels": [], @@ -739,26 +739,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d": { - "id": "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d", - "type": "triangle-link", + "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8": { + "id": "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8", + "type": "parameter-link", "selected": false, - "source": "7d5fd329-0537-408b-b627-871fcb92f1f7", - "sourcePort": "c8c6e2d8-c92c-4816-a56c-219e89c60396", - "target": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", - "targetPort": "446f2f02-40ea-47bc-b3b5-aeb336083b83", + "source": "61412b5d-d480-4ad3-9003-4cedd30b3353", + "sourcePort": "db19579c-e11f-4f09-a498-554ad263f38b", + "target": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", + "targetPort": "81b7fe58-af04-4c97-a12f-8d1135f99135", "points": [ { - "id": "154c49be-6d8b-4cb3-b29a-528e7cb08708", + "id": "330b4629-1585-476e-ba2e-e815f831481b", "type": "point", - "x": 505.456, - "y": 980.286 + "x": 43.98607698125576, + "y": 1030.9861132758176 }, { - "id": "057711c9-7587-4cca-8b60-3198418fa780", + "id": "1a6c3c43-b0b8-49fb-85d0-6f46b1fcceee", "type": "point", - "x": 591.159, - "y": 980.638 + "x": 99.27776043368829, + "y": 984.0556374318012 } ], "labels": [], @@ -767,26 +767,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "398aab01-7eb4-4173-859a-a8107dac623a": { - "id": "398aab01-7eb4-4173-859a-a8107dac623a", + "7ce3d652-d98f-4872-b20a-00a5d1ad2a59": { + "id": "7ce3d652-d98f-4872-b20a-00a5d1ad2a59", "type": "triangle-link", "selected": false, - "source": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", - "sourcePort": "5537cb98-cc1a-48d3-bada-24243d8ae53d", - "target": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", - "targetPort": "ff874a12-35c1-4e99-812f-8c26890ec390", + "source": "efa12924-a53b-4d4e-b145-29f9906ac8da", + "sourcePort": "b8e25855-52d7-485b-8695-eb905624dfe8", + "target": "ac603fa3-5deb-4fb5-b962-1e4f9cda4693", + "targetPort": "707efe8d-a363-41ca-a749-dbcea2c05ac8", "points": [ { - "id": "7e2b343a-869e-4ee7-b899-393965c8ba45", + "id": "4d3dd88c-11b9-4f7c-b4a6-75fe17febbd2", "type": "point", - "x": 711.081, - "y": 980.638 + "x": 539.1110903381862, + "y": 961.2778232115347 }, { - "id": "62a79eaf-0f31-4e0d-a82d-f2db5af7decb", + "id": "982d5f9c-91f7-4d00-bf04-c6353cdf7ce6", "type": "point", - "x": 803.151, - "y": 981.641 + "x": 589.6388622219013, + "y": 897.1806122778571 } ], "labels": [], @@ -795,26 +795,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "34939999-adca-4419-b494-81736e25bb8d": { - "id": "34939999-adca-4419-b494-81736e25bb8d", + "ceaf35af-de2f-4b50-8f18-694ec6526b4f": { + "id": "ceaf35af-de2f-4b50-8f18-694ec6526b4f", "type": "triangle-link", "selected": false, - "source": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", - "sourcePort": "993e26f2-e621-4e7d-9569-85fcea25b770", - "target": "068dea93-0c06-4ae2-a574-0bd28030dabc", - "targetPort": "f9d5d109-ac40-4ab8-9010-b21a5e48e4fa", + "source": "261a5b7d-574e-48f7-84f3-324524023adf", + "sourcePort": "bb8ce72d-d40b-414d-9000-43d426592a6e", + "target": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "targetPort": "0c3f3faf-ba52-4d9a-91b4-c26a9d7f79b4", "points": [ { - "id": "c7155da8-df1c-4e2c-bf8f-aa61e5039d3c", + "id": "4b3d0512-09a2-462b-98f2-33f8040d6a24", "type": "point", - "x": 911.497, - "y": 981.641 + "x": 281.15271592548874, + "y": 358.27778844634145 }, { - "id": "c5504200-2007-4ceb-89b4-e263b8415eda", + "id": "291e0a77-df27-4451-b828-5474ff546f16", "type": "point", - "x": 994.154, - "y": 981.641 + "x": 338.38886379828716, + "y": 352.1944465848383 } ], "labels": [], @@ -823,26 +823,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "c2c998f1-31b8-4f1e-8da4-18f8c10198f3": { - "id": "c2c998f1-31b8-4f1e-8da4-18f8c10198f3", - "type": "triangle-link", + "7b4e6b65-90d9-4f68-9163-e5a00c3bc5fc": { + "id": "7b4e6b65-90d9-4f68-9163-e5a00c3bc5fc", + "type": "parameter-link", "selected": false, - "source": "068dea93-0c06-4ae2-a574-0bd28030dabc", - "sourcePort": "73867777-a496-4fa1-863f-fb1163e80430", - "target": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", - "targetPort": "3f997a14-2473-4de5-bfd1-b391cac3a2cc", + "source": "261a5b7d-574e-48f7-84f3-324524023adf", + "sourcePort": "1b8cdbf6-e51e-4965-8152-0e95a5c70315", + "target": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "targetPort": "8c07fd21-f379-483e-b0ac-230c5626375a", "points": [ { - "id": "9d468475-1968-486e-a895-6a8f841df382", + "id": "c405dc6a-4c03-4f8a-a55a-93481483bf37", "type": "point", - "x": 1114.075, - "y": 981.641 + "x": 281.15271592548874, + "y": 380.0555601088918 }, { - "id": "1530dfb9-a6ac-407f-b962-836f16909e61", + "id": "64970f24-c62d-4246-b061-c5a0f570793c", "type": "point", - "x": 1186.159, - "y": 980.638 + "x": 338.38886379828716, + "y": 373.97221824738875 } ], "labels": [], @@ -851,26 +851,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68": { - "id": "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68", + "3b0056b3-113f-4bc1-bb66-90c388cf2503": { + "id": "3b0056b3-113f-4bc1-bb66-90c388cf2503", "type": "triangle-link", "selected": false, - "source": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", - "sourcePort": "146955fb-0db9-4787-b424-a192c592c71c", - "target": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", - "targetPort": "f6c63317-eaa2-4784-a126-fb343f58942e", + "source": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "sourcePort": "25b93eb5-9b7b-4137-bd35-f82f7978df32", + "target": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", + "targetPort": "2a087bea-4985-4aad-9cb8-eaf57f04a146", "points": [ { - "id": "09080708-74a9-4b66-987c-3732d212aa6d", + "id": "6f53f9d6-88a9-4a71-b90a-da6e3b4a16ee", "type": "point", - "x": 1294.505, - "y": 980.638 + "x": 442.3194585441579, + "y": 352.1944465848383 }, { - "id": "d41ac369-4aa8-4408-b119-b801f552e19f", + "id": "221f9cf3-a0b3-4a1e-bde2-1814f5eb4454", "type": "point", - "x": 1370.156, - "y": 980.638 + "x": 540.2778769262603, + "y": 357.2777627536026 } ], "labels": [], @@ -879,26 +879,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1": { - "id": "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1", - "type": "parameter-link", + "55025893-1786-4e22-aab4-1d271af4968c": { + "id": "55025893-1786-4e22-aab4-1d271af4968c", + "type": "triangle-link", "selected": false, - "source": "15e925b7-5a2f-474a-a2ce-84ce1a6fd68c", - "sourcePort": "cfe3e3b1-3538-43cb-9df7-5159d48e2ab7", - "target": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", - "targetPort": "45029af7-27a5-428e-b5e3-5d2f10ed4496", + "source": "08d85c34-9d03-4381-b848-3d93486f3c83", + "sourcePort": "1316a128-bd0f-4048-8ba3-136600922a98", + "target": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "targetPort": "7c5d20f8-d72d-4547-90cb-bb1c6ca2fc4b", "points": [ { - "id": "4964bc37-4a2f-43ac-ac73-13dee477cb49", + "id": "3be711a2-c52e-49ef-a88a-1736f90beaa8", "type": "point", - "x": 765.99, - "y": 871.641 + "x": 282.8193997143738, + "y": 485.27779166499226 }, { - "id": "170fab01-98ea-4434-9f22-150a86aecb57", + "id": "d7289f76-1bdd-4b77-9643-d5dc68c3f795", "type": "point", - "x": 803.151, - "y": 1003.281 + "x": 321.97220580095916, + "y": 478.4999813598098 } ], "labels": [], @@ -907,26 +907,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "5b5c1f60-99e0-4da1-b932-70151728cd6c": { - "id": "5b5c1f60-99e0-4da1-b932-70151728cd6c", + "79b65b28-deb1-48fa-9839-a1f6bebc220f": { + "id": "79b65b28-deb1-48fa-9839-a1f6bebc220f", "type": "parameter-link", "selected": false, - "source": "15e925b7-5a2f-474a-a2ce-84ce1a6fd68c", - "sourcePort": "cfe3e3b1-3538-43cb-9df7-5159d48e2ab7", - "target": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", - "targetPort": "2f4a680e-8240-447b-b28f-6b40250a8783", + "source": "08d85c34-9d03-4381-b848-3d93486f3c83", + "sourcePort": "0a7119e7-ff65-415f-9fb2-62c6ecc0d277", + "target": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "targetPort": "ac9c8d29-82d3-4751-885e-d75f09c59cbf", "points": [ { - "id": "406b45c8-4899-47e7-9fe6-11bceb10ae8a", + "id": "726ec84f-4c8b-44fd-b058-2d9d724a4d12", "type": "point", - "x": 765.99, - "y": 871.641 + "x": 282.8193997143738, + "y": 507.05556814610765 }, { - "id": "97eeda2b-2126-4d4e-8412-cd3908f054ce", + "id": "eef5b718-4ff5-4450-8edc-d4403285326c", "type": "point", - "x": 1186.159, - "y": 1002.279 + "x": 321.97220580095916, + "y": 500.2777698873375 } ], "labels": [], @@ -935,26 +935,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "e6a6d60e-2cf2-405d-85b2-828718663ac3": { - "id": "e6a6d60e-2cf2-405d-85b2-828718663ac3", - "type": "parameter-link", + "5458f353-c187-41b5-aab9-d73fd06a60af": { + "id": "5458f353-c187-41b5-aab9-d73fd06a60af", + "type": "triangle-link", "selected": false, - "source": "fc3a141a-6667-4477-8aa8-1e5be339dc93", - "sourcePort": "e77cdec0-70f5-472d-a1b3-149581a06239", - "target": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", - "targetPort": "377a694b-914f-4975-9ce5-c57b16423384", + "source": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "sourcePort": "ba38b858-6f0c-4706-be0f-cc40259c8bb0", + "target": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", + "targetPort": "7fcb0f28-c799-475a-8262-bd8f3177783e", "points": [ { - "id": "35b798bc-fc12-4e37-b0bc-8b3c8d8ec8b3", + "id": "e369ba30-4f3f-448e-8c92-f94242143ba4", "type": "point", - "x": 542.266, - "y": 1090.638 + "x": 425.9028776438688, + "y": 478.4999813598098 }, { - "id": "97276457-249d-41bf-8670-d16646b60dc8", + "id": "c4dbe101-b63b-4c91-905b-5d3aa644b1d0", "type": "point", - "x": 591.159, - "y": 1002.279 + "x": 463.2778260113456, + "y": 485.27779166499226 } ], "labels": [], @@ -963,26 +963,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "0c7af87c-9c91-4760-a26a-ba6315fc528f": { - "id": "0c7af87c-9c91-4760-a26a-ba6315fc528f", - "type": "parameter-link", + "1525aad7-c125-401a-8032-5f5969158639": { + "id": "1525aad7-c125-401a-8032-5f5969158639", + "type": "triangle-link", "selected": false, - "source": "babd3ac8-f444-4792-9970-5f71df7ca183", - "sourcePort": "0004c1b9-f623-47b6-864e-de5a01363875", - "target": "068dea93-0c06-4ae2-a574-0bd28030dabc", - "targetPort": "5c75faa4-8c80-41ce-a044-f51e40126a77", + "source": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", + "sourcePort": "fc526aef-655d-4002-89f1-3bd0669535e8", + "target": "6d727a62-09b8-4a40-b302-404004a9530b", + "targetPort": "5d93006a-868c-4cce-8bdd-1cb1c59e9a0a", "points": [ { - "id": "03b274b0-806b-461a-afa7-bed25cf0bf1b", + "id": "0f5da802-d956-480a-83a2-9c62c2f84a44", "type": "point", - "x": 948.633, - "y": 1090.638 + "x": 627.1804943876743, + "y": 485.27779166499226 }, { - "id": "affaa847-aded-4fb9-bf8f-6e4eb5dc4e69", + "id": "dfb6eb7a-a5c6-48d3-8978-221f09e01383", "type": "point", - "x": 994.154, - "y": 1003.281 + "x": 674.3888616901652, + "y": 487.3472303855609 } ], "labels": [], @@ -991,26 +991,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496": { - "id": "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496", + "9e3fc7f5-9709-4eb9-894f-ec06943da60a": { + "id": "9e3fc7f5-9709-4eb9-894f-ec06943da60a", "type": "parameter-link", "selected": false, - "source": "8adc36ee-7c21-4711-92f8-e31d9de9bebb", - "sourcePort": "6fc4bcb5-459a-434e-b1a8-2590f823929c", - "target": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", - "targetPort": "0e274c46-11e2-4d47-be83-9270ae53ba39", + "source": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", + "sourcePort": "d21628c9-e5c6-4a9e-9b8a-7a2ae2779665", + "target": "6d727a62-09b8-4a40-b302-404004a9530b", + "targetPort": "4913a549-bfe8-4dc5-8aca-da1267e7994b", "points": [ { - "id": "590c0700-d504-44e2-8a09-3d857e6453d6", + "id": "d471899b-a048-4bd3-bc71-926dcb3eb78f", "type": "point", - "x": 1346.185, - "y": 1084.648 + "x": 627.1804943876743, + "y": 507.05556814610765 }, { - "id": "d68f8347-d93d-4ac8-a0ff-015d29bf41e6", + "id": "d65b7c35-08d8-4aa5-8200-e888242fd593", "type": "point", - "x": 1370.156, - "y": 1002.279 + "x": 674.3888616901652, + "y": 509.12500686667624 } ], "labels": [], @@ -1019,26 +1019,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "019e983b-9040-48e7-b07e-5f77a06a1437": { - "id": "019e983b-9040-48e7-b07e-5f77a06a1437", - "type": "parameter-link", + "54def2f4-3857-4992-91af-78b9e39a2cb4": { + "id": "54def2f4-3857-4992-91af-78b9e39a2cb4", + "type": "triangle-link", "selected": false, - "source": "f090a87e-5411-4def-b9fc-af092854b9d7", - "sourcePort": "8a917077-c18d-413c-8270-9ef747a529b6", - "target": "a71ba970-7b6e-4e40-bea4-e858af9d2449", - "targetPort": "a0b99c0c-b28f-484a-83af-c4a579753490", + "source": "6d727a62-09b8-4a40-b302-404004a9530b", + "sourcePort": "64272354-4ad7-40f1-a220-067d6207d493", + "target": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", + "targetPort": "afda2bbb-832d-433d-a7f0-d3830285cf37", "points": [ { - "id": "9a8d386a-adb1-41e2-92a3-31dc380040e8", + "id": "9afa9ba2-b189-4ad2-8397-5fa7f83679e1", "type": "point", - "x": 40.846, - "y": 959.648 + "x": 778.3194564360358, + "y": 487.3472303855609 }, { - "id": "6cde5896-d201-438f-9dc0-1b5958aa25d2", + "id": "7a674a66-b763-4dd6-92ad-38a0670074b5", "type": "point", - "x": 99.154, - "y": 959.648 + "x": 820.2778237714659, + "y": 485.27779166499226 } ], "labels": [], @@ -1047,26 +1047,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8": { - "id": "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8", - "type": "parameter-link", + "c01fa579-9f15-41bf-bf30-a61307ed1623": { + "id": "c01fa579-9f15-41bf-bf30-a61307ed1623", + "type": "triangle-link", "selected": false, - "source": "ba294b06-2f30-4f47-9058-abab0b9c4a1d", - "sourcePort": "72cc5def-cabe-4048-98c9-12163f476f5b", - "target": "a71ba970-7b6e-4e40-bea4-e858af9d2449", - "targetPort": "894b0bbe-61d6-4b59-8a28-e8300b163779", + "source": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", + "sourcePort": "28f130a4-1943-4caf-8b7e-0a98530ab8e7", + "target": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "targetPort": "33e80459-985a-434e-872d-024106dba1d4", "points": [ { - "id": "330b4629-1585-476e-ba2e-e815f831481b", + "id": "989e65ce-1fdb-4368-a1a4-252b5847008b", "type": "point", - "x": 38.451, - "y": 1030.911 + "x": 284.9722574311295, + "y": 610.2222721786122 }, { - "id": "1a6c3c43-b0b8-49fb-85d0-6f46b1fcceee", + "id": "711f87fc-1382-49a1-8d7d-e9b809607ff9", "type": "point", - "x": 99.154, - "y": 981.289 + "x": 375.0277751670154, + "y": 631.3472463470573 } ], "labels": [], @@ -1075,26 +1075,26 @@ "curvyness": 50, "selectedColor": "rgb(0,192,255)" }, - "7ce3d652-d98f-4872-b20a-00a5d1ad2a59": { - "id": "7ce3d652-d98f-4872-b20a-00a5d1ad2a59", - "type": "triangle-link", + "d3625ebf-c9d2-41b4-96f7-ff91c5279a77": { + "id": "d3625ebf-c9d2-41b4-96f7-ff91c5279a77", + "type": "parameter-link", "selected": false, - "source": "7d5fd329-0537-408b-b627-871fcb92f1f7", - "sourcePort": "3c4e469d-ca7b-4d1e-a709-33a4cf536b88", - "target": "0eb7954c-bac6-4d71-b91f-667660a1ec86", - "targetPort": "bcc17734-2849-464c-ad73-548d66e57057", + "source": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", + "sourcePort": "9d1ae42e-4585-4592-ae91-ab187a1b035f", + "target": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "targetPort": "bac3404c-f56d-4c7f-8ae5-4648ad21ac16", "points": [ { - "id": "4d3dd88c-11b9-4f7c-b4a6-75fe17febbd2", + "id": "8c5dae5b-8aaa-4662-a998-c41c14cfd49a", "type": "point", - "x": 505.456, - "y": 958.646 + "x": 284.9722574311295, + "y": 632.0000703432697 }, { - "id": "982d5f9c-91f7-4d00-bf04-c6353cdf7ce6", + "id": "a634ee9e-a6f4-443a-b348-3d82cc474aee", "type": "point", - "x": 589.518, - "y": 894.557 + "x": 375.0277751670154, + "y": 653.1250445117148 } ], "labels": [], @@ -1106,7 +1106,7 @@ } }, { - "id": "1be5a32d-bf8c-4beb-833e-7ecf016c3502", + "id": "74514fd7-6c52-4640-b5e9-ba4c79e701d5", "type": "diagram-nodes", "isSvg": false, "transformed": true, @@ -1114,7 +1114,7 @@ "b1683170-ce43-46e6-b238-b359964bd1a8": { "id": "b1683170-ce43-46e6-b238-b359964bd1a8", "type": "custom-node", - "selected": true, + "selected": false, "extras": { "type": "Start", "borderColor": "rgb(0,192,255)" @@ -1126,8 +1126,8 @@ "id": "3aa6ff5a-f6a0-4229-9c8e-624ab85e85dc", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 290.333345798886, + "y": 123.88889919877886, "name": "out-0", "alignment": "right", "parentNode": "b1683170-ce43-46e6-b238-b359964bd1a8", @@ -1148,28 +1148,117 @@ "3aa6ff5a-f6a0-4229-9c8e-624ab85e85dc" ] }, - "9167c7e3-e29d-48aa-bdea-259f261c03ea": { - "id": "9167c7e3-e29d-48aa-bdea-259f261c03ea", + "c0bc242a-c236-4126-a515-863dfc83d516": { + "id": "c0bc242a-c236-4126-a515-863dfc83d516", "type": "custom-node", "selected": true, "extras": { - "type": "Finish", - "borderColor": "rgb(0,192,255)" + "type": "comment", + "commentInput": "curl http://127.0.0.1:8080/hello/world", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" }, - "x": 955, - "y": 98, - "ports": [ - { - "id": "8fb2b1a0-3dff-4e6a-b193-61dfd20f6993", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "in-0", - "alignment": "left", - "parentNode": "9167c7e3-e29d-48aa-bdea-259f261c03ea", - "links": [ - "00d154ab-bd85-4dcf-bab9-992ba0296282" + "x": -341.272, + "y": 311.182, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "50ba4892-3a23-4e1c-9726-ce7a461c09b6": { + "id": "50ba4892-3a23-4e1c-9726-ce7a461c09b6", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "curl --json '{\"hello\": \"world\"}' http://127.0.0.1:8080/hello/world", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": -510.364, + "y": 432.273, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "d3b47ef3-35c7-43fb-9f9f-9754d68d5222": { + "id": "d3b47ef3-35c7-43fb-9f9f-9754d68d5222", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "curl -X PUT http://127.0.0.1:8080/here/is/something", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": -490.727, + "y": 565.363, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "66408a0a-6b97-4661-b560-7522e34905dc": { + "id": "66408a0a-6b97-4661-b560-7522e34905dc", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "curl http://127.0.0.1:8080/stream", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": -291.091, + "y": 912.272, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "8e5fed4b-8974-4069-8843-c448269969ed": { + "id": "8e5fed4b-8974-4069-8843-c448269969ed", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "Run the commands in the other comments in the terminal.", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": -486.363, + "y": 210.818, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "99946a86-1eda-4468-a655-346a8d04de65": { + "id": "99946a86-1eda-4468-a655-346a8d04de65", + "type": "custom-node", + "selected": true, + "extras": { + "type": "Finish" + }, + "x": 955, + "y": 98, + "ports": [ + { + "id": "8675f7a9-944e-4240-8dbb-af6b57da4d44", + "type": "default", + "extras": {}, + "x": 955.8890313845878, + "y": 124.88890561725793, + "name": "in-0", + "alignment": "left", + "parentNode": "99946a86-1eda-4468-a655-346a8d04de65", + "links": [ + "00d154ab-bd85-4dcf-bab9-992ba0296282" ], "in": true, "label": "▶", @@ -1178,14 +1267,14 @@ "dataType": "" }, { - "id": "5f69c591-c8d9-4df6-84e2-1111aa4d50d4", + "id": "5c259dee-fa07-4071-8b35-aa47f9ed9fef", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 955.8890313845878, + "y": 146.66666041483106, "name": "parameter-dynalist-outputs", "alignment": "left", - "parentNode": "9167c7e3-e29d-48aa-bdea-259f261c03ea", + "parentNode": "99946a86-1eda-4468-a655-346a8d04de65", "links": [], "in": true, "label": "outputs", @@ -1202,30 +1291,31 @@ "name": "Finish", "color": "rgb(255,102,102)", "portsInOrder": [ - "8fb2b1a0-3dff-4e6a-b193-61dfd20f6993", - "5f69c591-c8d9-4df6-84e2-1111aa4d50d4" + "8675f7a9-944e-4240-8dbb-af6b57da4d44", + "5c259dee-fa07-4071-8b35-aa47f9ed9fef" ], "portsOutOrder": [] }, - "cb830a56-0b84-449a-b633-28f0a10b6646": { - "id": "cb830a56-0b84-449a-b633-28f0a10b6646", + "0c681cd1-27b2-4de7-9f05-6e11d730b5a3": { + "id": "0c681cd1-27b2-4de7-9f05-6e11d730b5a3", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 189, "y": 150, "ports": [ { - "id": "2bbd17dc-01e9-4340-bf5d-de120bff4151", + "id": "345463a4-9c7d-4ffb-aa3c-bbd14ca2ba89", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 252.6388302047958, + "y": 174.33333761583438, "name": "out-0", "alignment": "right", - "parentNode": "cb830a56-0b84-449a-b633-28f0a10b6646", + "parentNode": "0c681cd1-27b2-4de7-9f05-6e11d730b5a3", "links": [ "da38440a-8bc8-4002-8a6d-16900dd29069" ], @@ -1233,35 +1323,36 @@ "label": "Example", "varName": "Example", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "2bbd17dc-01e9-4340-bf5d-de120bff4151" + "345463a4-9c7d-4ffb-aa3c-bbd14ca2ba89" ] }, - "983f35b0-15c2-4f9e-8356-772885300a9f": { - "id": "983f35b0-15c2-4f9e-8356-772885300a9f", + "0efdd65e-fbe5-4d38-aa48-d9d14e42c37c": { + "id": "0efdd65e-fbe5-4d38-aa48-d9d14e42c37c", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": -29, "y": 321, "ports": [ { - "id": "821f1a81-da5c-4aa8-9313-89399dd6ed73", + "id": "8da457fd-e778-427f-b921-748ef628e2f8", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 61.52783736603022, + "y": 345.33333654295086, "name": "out-0", "alignment": "right", - "parentNode": "983f35b0-15c2-4f9e-8356-772885300a9f", + "parentNode": "0efdd65e-fbe5-4d38-aa48-d9d14e42c37c", "links": [ "893541d1-911a-4f43-bd7f-cd94ff110d23" ], @@ -1269,35 +1360,36 @@ "label": "/hello/", "varName": "/hello/", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "821f1a81-da5c-4aa8-9313-89399dd6ed73" + "8da457fd-e778-427f-b921-748ef628e2f8" ] }, - "83f06174-a450-4991-bfe5-c69e43e43f5a": { - "id": "83f06174-a450-4991-bfe5-c69e43e43f5a", + "ae396d91-b9f1-4d2b-80fc-547d4dfb473e": { + "id": "ae396d91-b9f1-4d2b-80fc-547d4dfb473e", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 447, "y": 392, "ports": [ { - "id": "c0813ab6-cd5b-4bcd-ab44-3a6e507c6ecd", + "id": "e9dcd136-ba16-40e5-8a80-7c664125f16c", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 527.5278601412788, + "y": 416.3333103984716, "name": "out-0", "alignment": "right", - "parentNode": "83f06174-a450-4991-bfe5-c69e43e43f5a", + "parentNode": "ae396d91-b9f1-4d2b-80fc-547d4dfb473e", "links": [ "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe" ], @@ -1305,35 +1397,36 @@ "label": "Hello World!\n", "varName": "Hello World!\n", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "c0813ab6-cd5b-4bcd-ab44-3a6e507c6ecd" + "e9dcd136-ba16-40e5-8a80-7c664125f16c" ] }, - "d5e9dcd1-89e1-4ea8-b9c0-c84f9877e5ad": { - "id": "d5e9dcd1-89e1-4ea8-b9c0-c84f9877e5ad", + "e841b005-8ac7-4805-bb53-add4957e611d": { + "id": "e841b005-8ac7-4805-bb53-add4957e611d", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": -32, "y": 448, "ports": [ { - "id": "d4eaf513-ba53-4baa-bb9d-30d05a0ce8aa", + "id": "8438294c-afb1-47dd-9215-d7c832d3aaa5", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 58.52783738485274, + "y": 472.33332289662445, "name": "out-0", "alignment": "right", - "parentNode": "d5e9dcd1-89e1-4ea8-b9c0-c84f9877e5ad", + "parentNode": "e841b005-8ac7-4805-bb53-add4957e611d", "links": [ "22d8f047-065c-4435-990c-543d1bd5b7ac" ], @@ -1341,35 +1434,36 @@ "label": "/hello/", "varName": "/hello/", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "d4eaf513-ba53-4baa-bb9d-30d05a0ce8aa" + "8438294c-afb1-47dd-9215-d7c832d3aaa5" ] }, - "a8c0d874-ab91-4eb3-bdaa-8b3cc8a76a4e": { - "id": "a8c0d874-ab91-4eb3-bdaa-8b3cc8a76a4e", + "91ed4c89-26b8-48d3-858d-d68e1408e5fd": { + "id": "91ed4c89-26b8-48d3-858d-d68e1408e5fd", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": -113, "y": 578, "ports": [ { - "id": "c66833bd-aac9-4703-9a51-3f609068b324", + "id": "858d3e9a-2047-4025-91e5-709a0ece5aa1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 59.361102182256275, + "y": 602.3333863285145, "name": "out-0", "alignment": "right", - "parentNode": "a8c0d874-ab91-4eb3-bdaa-8b3cc8a76a4e", + "parentNode": "91ed4c89-26b8-48d3-858d-d68e1408e5fd", "links": [ "7a500021-e78b-4e62-ab9b-690e90b2ce88" ], @@ -1377,35 +1471,36 @@ "label": "///", "varName": "///", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "c66833bd-aac9-4703-9a51-3f609068b324" + "858d3e9a-2047-4025-91e5-709a0ece5aa1" ] }, - "bede947e-b5e5-4e90-a245-9691c298dba4": { - "id": "bede947e-b5e5-4e90-a245-9691c298dba4", + "5359a46f-867c-44c0-9cf4-123d054a0334": { + "id": "5359a46f-867c-44c0-9cf4-123d054a0334", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 289, "y": 788, "ports": [ { - "id": "c93c3087-d384-4fbc-a0d2-3c5ac0a74b08", + "id": "7f942e81-b8da-4b44-adf3-56ded10fa0ad", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 392.9444933869938, + "y": 812.3333850109382, "name": "out-0", "alignment": "right", - "parentNode": "bede947e-b5e5-4e90-a245-9691c298dba4", + "parentNode": "5359a46f-867c-44c0-9cf4-123d054a0334", "links": [ "144e65e0-257b-477c-b8e4-d6dfb65ef551" ], @@ -1413,35 +1508,36 @@ "label": "Every 5 Seconds", "varName": "Every 5 Seconds", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "c93c3087-d384-4fbc-a0d2-3c5ac0a74b08" + "7f942e81-b8da-4b44-adf3-56ded10fa0ad" ] }, - "07fdaea7-3570-4910-88e0-ac4e51c6bd2e": { - "id": "07fdaea7-3570-4910-88e0-ac4e51c6bd2e", + "347d2606-7710-43f7-911d-4f83a39ad984": { + "id": "347d2606-7710-43f7-911d-4f83a39ad984", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": -12, "y": 694, "ports": [ { - "id": "d27b3b33-fcbf-4b72-bbdf-417d986e511d", + "id": "5b467a61-33a1-4e63-9fc8-03603370283b", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 45.38888290314407, + "y": 718.3333599016973, "name": "out-0", "alignment": "right", - "parentNode": "07fdaea7-3570-4910-88e0-ac4e51c6bd2e", + "parentNode": "347d2606-7710-43f7-911d-4f83a39ad984", "links": [ "aa655f1d-4132-4623-b90d-575ba39ec802" ], @@ -1449,35 +1545,36 @@ "label": "Printer", "varName": "Printer", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "d27b3b33-fcbf-4b72-bbdf-417d986e511d" + "5b467a61-33a1-4e63-9fc8-03603370283b" ] }, - "f9d4a9d1-8e9c-4407-9280-02db5fa073eb": { - "id": "f9d4a9d1-8e9c-4407-9280-02db5fa073eb", + "7c1e161f-b3bc-4fad-9eeb-953627ac7a65": { + "id": "7c1e161f-b3bc-4fad-9eeb-953627ac7a65", "type": "custom-node", "selected": true, "extras": { - "type": "int" + "type": "int", + "attached": false }, "x": -13, "y": 769, "ports": [ { - "id": "762fcd9f-bae7-4044-adb8-cae59fdb5f18", + "id": "04f112b0-d98d-4013-949b-ba6dbdba4571", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 50.305592370651055, + "y": 793.3333594311345, "name": "out-0", "alignment": "right", - "parentNode": "f9d4a9d1-8e9c-4407-9280-02db5fa073eb", + "parentNode": "7c1e161f-b3bc-4fad-9eeb-953627ac7a65", "links": [ "8a35c68f-29d6-4920-93e6-6ed8726793d5" ], @@ -1485,36 +1582,36 @@ "label": "5", "varName": "5", "portType": "", - "dataType": "" + "dataType": "int" } ], "name": "Literal Integer", "color": "blue", "portsInOrder": [], "portsOutOrder": [ - "762fcd9f-bae7-4044-adb8-cae59fdb5f18" + "04f112b0-d98d-4013-949b-ba6dbdba4571" ] }, - "f090a87e-5411-4def-b9fc-af092854b9d7": { - "id": "f090a87e-5411-4def-b9fc-af092854b9d7", + "f99ad061-f9da-4909-9eb1-384c85617f95": { + "id": "f99ad061-f9da-4909-9eb1-384c85617f95", "type": "custom-node", "selected": true, "extras": { "type": "string", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": -27, "y": 925, "ports": [ { - "id": "8a917077-c18d-413c-8270-9ef747a529b6", + "id": "21234629-c04a-447f-b89f-cd45774f7ccf", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 30.52781186151658, + "y": 949.3333584523635, "name": "out-0", "alignment": "right", - "parentNode": "f090a87e-5411-4def-b9fc-af092854b9d7", + "parentNode": "f99ad061-f9da-4909-9eb1-384c85617f95", "links": [ "019e983b-9040-48e7-b07e-5f77a06a1437" ], @@ -1522,36 +1619,36 @@ "label": "/stream", "varName": "/stream", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "8a917077-c18d-413c-8270-9ef747a529b6" + "21234629-c04a-447f-b89f-cd45774f7ccf" ] }, - "15e925b7-5a2f-474a-a2ce-84ce1a6fd68c": { - "id": "15e925b7-5a2f-474a-a2ce-84ce1a6fd68c", + "c7168575-1c97-4ef3-9225-11b3a15e7893": { + "id": "c7168575-1c97-4ef3-9225-11b3a15e7893", "type": "custom-node", "selected": true, "extras": { "type": "float", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": 708, "y": 837, "ports": [ { - "id": "cfe3e3b1-3538-43cb-9df7-5159d48e2ab7", + "id": "13317360-aa51-46bb-9adb-94d549ca0df1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 760.7223488097552, + "y": 861.3333333054777, "name": "out-0", "alignment": "right", - "parentNode": "15e925b7-5a2f-474a-a2ce-84ce1a6fd68c", + "parentNode": "c7168575-1c97-4ef3-9225-11b3a15e7893", "links": [ "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1", "5b5c1f60-99e0-4da1-b932-70151728cd6c" @@ -1560,35 +1657,36 @@ "label": "1.5", "varName": "1.5", "portType": "", - "dataType": "" + "dataType": "float" } ], "name": "Literal Float", "color": "green", "portsInOrder": [], "portsOutOrder": [ - "cfe3e3b1-3538-43cb-9df7-5159d48e2ab7" + "13317360-aa51-46bb-9adb-94d549ca0df1" ] }, - "fc3a141a-6667-4477-8aa8-1e5be339dc93": { - "id": "fc3a141a-6667-4477-8aa8-1e5be339dc93", + "c31b24fd-1f16-468e-ad3d-c8ae6d9abf5b": { + "id": "c31b24fd-1f16-468e-ad3d-c8ae6d9abf5b", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 480, "y": 1056, "ports": [ { - "id": "e77cdec0-70f5-472d-a1b3-149581a06239", + "id": "6b9de21b-b881-404b-a6e6-b1217f335347", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 537.4027572832694, + "y": 1080.3333319314338, "name": "out-0", "alignment": "right", - "parentNode": "fc3a141a-6667-4477-8aa8-1e5be339dc93", + "parentNode": "c31b24fd-1f16-468e-ad3d-c8ae6d9abf5b", "links": [ "e6a6d60e-2cf2-405d-85b2-828718663ac3" ], @@ -1596,35 +1694,36 @@ "label": "I am\n", "varName": "I am\n", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "e77cdec0-70f5-472d-a1b3-149581a06239" + "6b9de21b-b881-404b-a6e6-b1217f335347" ] }, - "babd3ac8-f444-4792-9970-5f71df7ca183": { - "id": "babd3ac8-f444-4792-9970-5f71df7ca183", + "82283e9a-bc66-4996-b03b-db4b0f393617": { + "id": "82283e9a-bc66-4996-b03b-db4b0f393617", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 860, "y": 1056, "ports": [ { - "id": "0004c1b9-f623-47b6-864e-de5a01363875", + "id": "2f95a57e-40a9-4578-8070-42d61f8dde7f", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 938.2916322351285, + "y": 1080.3333319314338, "name": "out-0", "alignment": "right", - "parentNode": "babd3ac8-f444-4792-9970-5f71df7ca183", + "parentNode": "82283e9a-bc66-4996-b03b-db4b0f393617", "links": [ "0c7af87c-9c91-4760-a26a-ba6315fc528f" ], @@ -1632,35 +1731,36 @@ "label": "a streaming\n", "varName": "a streaming\n", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "0004c1b9-f623-47b6-864e-de5a01363875" + "2f95a57e-40a9-4578-8070-42d61f8dde7f" ] }, - "8adc36ee-7c21-4711-92f8-e31d9de9bebb": { - "id": "8adc36ee-7c21-4711-92f8-e31d9de9bebb", + "3836fc38-7231-4ce8-831a-78358613e2a4": { + "id": "3836fc38-7231-4ce8-831a-78358613e2a4", "type": "custom-node", "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": 1282, "y": 1050, "ports": [ { - "id": "6fc4bcb5-459a-434e-b1a8-2590f823929c", + "id": "9f281f31-9f62-4a62-806c-ece4deb7297f", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1339.402855047435, + "y": 1074.333331969079, "name": "out-0", "alignment": "right", - "parentNode": "8adc36ee-7c21-4711-92f8-e31d9de9bebb", + "parentNode": "3836fc38-7231-4ce8-831a-78358613e2a4", "links": [ "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496" ], @@ -1668,36 +1768,36 @@ "label": "Output\n", "varName": "Output\n", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "6fc4bcb5-459a-434e-b1a8-2590f823929c" + "9f281f31-9f62-4a62-806c-ece4deb7297f" ] }, - "ba294b06-2f30-4f47-9058-abab0b9c4a1d": { - "id": "ba294b06-2f30-4f47-9058-abab0b9c4a1d", + "61412b5d-d480-4ad3-9003-4cedd30b3353": { + "id": "61412b5d-d480-4ad3-9003-4cedd30b3353", "type": "custom-node", "selected": true, "extras": { "type": "string", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": -23.818, "y": 996.272, "ports": [ { - "id": "72cc5def-cabe-4048-98c9-12163f476f5b", + "id": "db19579c-e11f-4f09-a498-554ad263f38b", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 33.59719917778503, + "y": 1020.5972354723469, "name": "out-0", "alignment": "right", - "parentNode": "ba294b06-2f30-4f47-9058-abab0b9c4a1d", + "parentNode": "61412b5d-d480-4ad3-9003-4cedd30b3353", "links": [ "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8" ], @@ -1705,102 +1805,22 @@ "label": "GET", "varName": "GET", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "72cc5def-cabe-4048-98c9-12163f476f5b" + "db19579c-e11f-4f09-a498-554ad263f38b" ] }, - "c0bc242a-c236-4126-a515-863dfc83d516": { - "id": "c0bc242a-c236-4126-a515-863dfc83d516", + "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8": { + "id": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "type": "custom-node", "selected": true, "extras": { - "type": "comment", - "commentInput": "curl http://127.0.0.1:8080/hello/world" - }, - "x": -341.272, - "y": 311.182, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "50ba4892-3a23-4e1c-9726-ce7a461c09b6": { - "id": "50ba4892-3a23-4e1c-9726-ce7a461c09b6", - "type": "custom-node", - "selected": true, - "extras": { - "type": "comment", - "commentInput": "curl --json '{\"hello\": \"world\"}' http://127.0.0.1:8080/hello/world" - }, - "x": -510.364, - "y": 432.273, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "d3b47ef3-35c7-43fb-9f9f-9754d68d5222": { - "id": "d3b47ef3-35c7-43fb-9f9f-9754d68d5222", - "type": "custom-node", - "selected": true, - "extras": { - "type": "comment", - "commentInput": "curl -X PUT http://127.0.0.1:8080/here/is/something" - }, - "x": -490.727, - "y": 565.363, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "66408a0a-6b97-4661-b560-7522e34905dc": { - "id": "66408a0a-6b97-4661-b560-7522e34905dc", - "type": "custom-node", - "selected": true, - "extras": { - "type": "comment", - "commentInput": "curl http://127.0.0.1:8080/stream" - }, - "x": -291.091, - "y": 912.272, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "8e5fed4b-8974-4069-8843-c448269969ed": { - "id": "8e5fed4b-8974-4069-8843-c448269969ed", - "type": "custom-node", - "selected": true, - "extras": { - "type": "comment", - "commentInput": "Run the commands in the other comments in the terminal." - }, - "x": -486.363, - "y": 210.818, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378": { - "id": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", - "type": "custom-node", - "selected": true, - "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Initializes a Flask application with optional configurations for static files and secret key.\n\n##### inPorts:\n- name: The name of the Flask application.\n- public_path: The filesystem path to the folder containing static files. Default is 'public'.\n- static_url_path: The URL path at which the static files are accessible. Default is an empty string.\n- secret_key: A secret key used for session management and security. Default is 'opensesame'.", "lineNo": [ @@ -1814,14 +1834,14 @@ "y": 97, "ports": [ { - "id": "699ef987-0793-496b-8c1f-4a01b2e7af5d", + "id": "46a70c88-e25d-4f9c-82d1-9f74ab5f2938", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 308.8889840459516, + "y": 123.88889919877886, "name": "in-0", "alignment": "left", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [ "58263af2-0959-45eb-afa5-23c8c5b1888d" ], @@ -1832,14 +1852,14 @@ "dataType": "" }, { - "id": "8c9b720c-b967-48a3-b2cb-e18d4d9e51d2", + "id": "a6b767cd-b64c-4794-8f8a-ff20e09680e6", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 308.8889840459516, + "y": 145.66665399635198, "name": "parameter-string-name", "alignment": "left", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [ "da38440a-8bc8-4002-8a6d-16900dd29069" ], @@ -1850,14 +1870,14 @@ "dataType": "string" }, { - "id": "31b896cf-bedf-4c3d-830f-9d3c76f365d7", + "id": "fcb2ebd8-0896-4e34-92ad-6405b566acbc", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 308.8889840459516, + "y": 167.44446661670437, "name": "parameter-string-public_path", "alignment": "left", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [], "in": true, "label": "public_path", @@ -1866,14 +1886,14 @@ "dataType": "string" }, { - "id": "e158fbcf-b83f-4fe1-80e9-ff032554f448", + "id": "52f4aabc-e1b6-4c31-ab62-53a5319b4546", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 308.8889840459516, + "y": 189.22224068853725, "name": "parameter-string-static_url_path", "alignment": "left", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [], "in": true, "label": "static_url_path", @@ -1882,14 +1902,14 @@ "dataType": "string" }, { - "id": "ba35adad-f0a9-4827-b60b-1217d1ef39cd", + "id": "a45662e7-f17a-463b-b856-9281fa84d314", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 308.8889840459516, + "y": 211.00001476037014, "name": "parameter-string-secret_key", "alignment": "left", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [], "in": true, "label": "secret_key", @@ -1898,14 +1918,14 @@ "dataType": "string" }, { - "id": "fff37582-f9ae-41d4-8354-9a201b26439d", + "id": "512b7dd6-8ebb-46f4-84d2-99015b715434", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 441.48617688177706, + "y": 123.88889919877886, "name": "out-0", "alignment": "right", - "parentNode": "b368aa64-2eee-4e9f-8fd5-5a42bb4bc378", + "parentNode": "1d552ecc-ed15-4c1a-bb5f-1fcce10964b8", "links": [ "07851799-1b6b-48ab-9b5e-426e74b6278c" ], @@ -1917,24 +1937,24 @@ } ], "name": "FlaskCreateApp", - "color": "rgb(153,0,102)", + "color": "rgb(255,204,0)", "portsInOrder": [ - "699ef987-0793-496b-8c1f-4a01b2e7af5d", - "8c9b720c-b967-48a3-b2cb-e18d4d9e51d2", - "31b896cf-bedf-4c3d-830f-9d3c76f365d7", - "e158fbcf-b83f-4fe1-80e9-ff032554f448", - "ba35adad-f0a9-4827-b60b-1217d1ef39cd" + "46a70c88-e25d-4f9c-82d1-9f74ab5f2938", + "a6b767cd-b64c-4794-8f8a-ff20e09680e6", + "fcb2ebd8-0896-4e34-92ad-6405b566acbc", + "52f4aabc-e1b6-4c31-ab62-53a5319b4546", + "a45662e7-f17a-463b-b856-9281fa84d314" ], "portsOutOrder": [ - "fff37582-f9ae-41d4-8354-9a201b26439d" + "512b7dd6-8ebb-46f4-84d2-99015b715434" ] }, - "b52b582a-6855-489d-b9cc-4309ab4e3ebd": { - "id": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "a0167c3f-a2af-4959-b828-34b961eda73b": { + "id": "a0167c3f-a2af-4959-b828-34b961eda73b", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Starts the Flask Server\n\n ", "lineNo": [ @@ -1948,14 +1968,14 @@ "y": 96, "ports": [ { - "id": "cdb48b8e-606b-44e1-a050-283067d489a9", + "id": "344845af-82b1-4303-8c05-5d21014160f1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 696.8889302135466, + "y": 122.88889278029978, "name": "in-0", "alignment": "left", - "parentNode": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "parentNode": "a0167c3f-a2af-4959-b828-34b961eda73b", "links": [ "cb820b88-cb48-4e8c-8808-f6bf465e8772" ], @@ -1966,14 +1986,14 @@ "dataType": "" }, { - "id": "51b54f51-1f58-4d59-943e-6e25891b3ee3", + "id": "9d194d59-1b7e-4f66-a319-c20472608f91", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 696.8889302135466, + "y": 144.6666475778729, "name": "parameter-boolean-debug", "alignment": "left", - "parentNode": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "parentNode": "a0167c3f-a2af-4959-b828-34b961eda73b", "links": [], "in": true, "label": "debug", @@ -1982,14 +2002,14 @@ "dataType": "boolean" }, { - "id": "da3c2a76-16f9-4fb7-a694-510bcf4215b6", + "id": "5a0ba9be-c77c-4ecc-b404-b2fc6f671400", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 696.8889302135466, + "y": 166.4444601982253, "name": "parameter-string-host", "alignment": "left", - "parentNode": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "parentNode": "a0167c3f-a2af-4959-b828-34b961eda73b", "links": [], "in": true, "label": "host", @@ -1998,14 +2018,14 @@ "dataType": "string" }, { - "id": "f0cc87b9-00c5-4a06-b2a1-3cbf64d21fc8", + "id": "091fa2b3-2b74-4f74-8e32-9acd050992bb", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 696.8889302135466, + "y": 188.22223427005818, "name": "parameter-int-port", "alignment": "left", - "parentNode": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "parentNode": "a0167c3f-a2af-4959-b828-34b961eda73b", "links": [], "in": true, "label": "port", @@ -2014,14 +2034,14 @@ "dataType": "int" }, { - "id": "f17b7c66-d2fb-488d-8cf0-4b961ce7c0fb", + "id": "ac8e1804-fba5-47b4-9b4a-e1741ba8dbf4", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 833.3332652949713, + "y": 122.88889278029978, "name": "out-0", "alignment": "right", - "parentNode": "b52b582a-6855-489d-b9cc-4309ab4e3ebd", + "parentNode": "a0167c3f-a2af-4959-b828-34b961eda73b", "links": [ "00d154ab-bd85-4dcf-bab9-992ba0296282" ], @@ -2033,19 +2053,19 @@ } ], "name": "FlaskStartServer", - "color": "rgb(102,51,102)", + "color": "rgb(204,204,204)", "portsInOrder": [ - "cdb48b8e-606b-44e1-a050-283067d489a9", - "51b54f51-1f58-4d59-943e-6e25891b3ee3", - "da3c2a76-16f9-4fb7-a694-510bcf4215b6", - "f0cc87b9-00c5-4a06-b2a1-3cbf64d21fc8" + "344845af-82b1-4303-8c05-5d21014160f1", + "9d194d59-1b7e-4f66-a319-c20472608f91", + "5a0ba9be-c77c-4ecc-b404-b2fc6f671400", + "091fa2b3-2b74-4f74-8e32-9acd050992bb" ], "portsOutOrder": [ - "f17b7c66-d2fb-488d-8cf0-4b961ce7c0fb" + "ac8e1804-fba5-47b4-9b4a-e1741ba8dbf4" ] }, - "74cff0f8-bfb2-493f-b190-0e43313361b9": { - "id": "74cff0f8-bfb2-493f-b190-0e43313361b9", + "261a5b7d-574e-48f7-84f3-324524023adf": { + "id": "261a5b7d-574e-48f7-84f3-324524023adf", "type": "custom-node", "selected": true, "extras": { @@ -2063,14 +2083,14 @@ "y": 321, "ports": [ { - "id": "46bcad26-8ee5-48fb-804e-b5083fea8add", + "id": "b6a66277-07fc-4b28-9160-f3bb6d46e9b5", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 109.88888249845994, + "y": 347.8889106428707, "name": "parameter-string-route", "alignment": "left", - "parentNode": "74cff0f8-bfb2-493f-b190-0e43313361b9", + "parentNode": "261a5b7d-574e-48f7-84f3-324524023adf", "links": [ "893541d1-911a-4f43-bd7f-cd94ff110d23" ], @@ -2081,16 +2101,16 @@ "dataType": "string" }, { - "id": "1f3eeb4e-7ffe-460b-9892-7bb4a0cbf303", + "id": "bb8ce72d-d40b-414d-9000-43d426592a6e", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 270.76380439206343, + "y": 347.8889106428707, "name": "out-0", "alignment": "right", - "parentNode": "74cff0f8-bfb2-493f-b190-0e43313361b9", + "parentNode": "261a5b7d-574e-48f7-84f3-324524023adf", "links": [ - "2cfbf6d4-9c51-4bbb-a3bd-ab9f3745e828" + "ceaf35af-de2f-4b50-8f18-694ec6526b4f" ], "in": false, "label": "▶", @@ -2099,119 +2119,36 @@ "dataType": "" }, { - "id": "d6fff743-219c-4c7f-ae7d-c069129078c4", + "id": "1b8cdbf6-e51e-4965-8152-0e95a5c70315", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 270.76380439206343, + "y": 369.6666654404438, "name": "parameter-out-dict-parameters", "alignment": "right", - "parentNode": "74cff0f8-bfb2-493f-b190-0e43313361b9", + "parentNode": "261a5b7d-574e-48f7-84f3-324524023adf", "links": [ - "41dbcd6b-7c8f-4840-aa6c-c96657f072ae" + "7b4e6b65-90d9-4f68-9163-e5a00c3bc5fc" ], "in": false, "label": "parameters", "varName": "parameters", "portType": "", - "dataType": "" + "dataType": "dict" } ], "name": "FlaskDefineGetRoute", "color": "red", "portsInOrder": [ - "46bcad26-8ee5-48fb-804e-b5083fea8add" + "b6a66277-07fc-4b28-9160-f3bb6d46e9b5" ], "portsOutOrder": [ - "1f3eeb4e-7ffe-460b-9892-7bb4a0cbf303", - "d6fff743-219c-4c7f-ae7d-c069129078c4" + "bb8ce72d-d40b-414d-9000-43d426592a6e", + "1b8cdbf6-e51e-4965-8152-0e95a5c70315" ] }, - "089d3891-d3eb-46fe-993c-4a16088eed5a": { - "id": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "type": "custom-node", - "selected": true, - "extras": { - "type": "debug", - "path": "xai_components/xai_utils/utils.py", - "description": null, - "lineNo": [ - { - "lineno": 16, - "end_lineno": 22 - } - ] - }, - "x": 335, - "y": 321, - "ports": [ - { - "id": "912e84d7-7dc8-4b6f-874d-3000dd0a8e19", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "in-0", - "alignment": "left", - "parentNode": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "links": [ - "2cfbf6d4-9c51-4bbb-a3bd-ab9f3745e828" - ], - "in": true, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - }, - { - "id": "e0a69374-52af-465d-978a-6ee4918d27e4", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-any-msg", - "alignment": "left", - "parentNode": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "links": [ - "41dbcd6b-7c8f-4840-aa6c-c96657f072ae" - ], - "in": true, - "label": "msg", - "varName": "msg", - "portType": "", - "dataType": "any" - }, - { - "id": "44bf7989-cc4d-4cab-aca7-325ae198d14e", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "out-0", - "alignment": "right", - "parentNode": "089d3891-d3eb-46fe-993c-4a16088eed5a", - "links": [ - "d2ffc9a4-d47c-4877-8d99-45ed9e1d41b5" - ], - "in": false, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - } - ], - "name": "PrettyPrint", - "color": "rgb(153,204,51)", - "portsInOrder": [ - "912e84d7-7dc8-4b6f-874d-3000dd0a8e19", - "e0a69374-52af-465d-978a-6ee4918d27e4" - ], - "portsOutOrder": [ - "44bf7989-cc4d-4cab-aca7-325ae198d14e" - ] - }, - "3f684f61-6e69-4441-9259-d600a7f9c71c": { - "id": "3f684f61-6e69-4441-9259-d600a7f9c71c", + "08d85c34-9d03-4381-b848-3d93486f3c83": { + "id": "08d85c34-9d03-4381-b848-3d93486f3c83", "type": "custom-node", "selected": true, "extras": { @@ -2229,14 +2166,14 @@ "y": 448, "ports": [ { - "id": "696288a3-4d0d-479d-9fec-927c6e9b2b0c", + "id": "93373981-ea69-4d08-ada0-685f8ff35894", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 106.88888251728245, + "y": 474.88889699654425, "name": "parameter-string-route", "alignment": "left", - "parentNode": "3f684f61-6e69-4441-9259-d600a7f9c71c", + "parentNode": "08d85c34-9d03-4381-b848-3d93486f3c83", "links": [ "22d8f047-065c-4435-990c-543d1bd5b7ac" ], @@ -2247,16 +2184,16 @@ "dataType": "string" }, { - "id": "bef9f8af-34ab-441a-8a2f-cd3e720d39c4", + "id": "1316a128-bd0f-4048-8ba3-136600922a98", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 272.4304881809485, + "y": 474.88889699654425, "name": "out-0", "alignment": "right", - "parentNode": "3f684f61-6e69-4441-9259-d600a7f9c71c", + "parentNode": "08d85c34-9d03-4381-b848-3d93486f3c83", "links": [ - "fd1bc2bf-3059-4bf1-9660-1dbdb94bac7a" + "55025893-1786-4e22-aab4-1d271af4968c" ], "in": false, "label": "▶", @@ -2265,206 +2202,40 @@ "dataType": "" }, { - "id": "a914f6a1-e623-46a2-9357-899dd21fa63f", + "id": "0a7119e7-ff65-415f-9fb2-62c6ecc0d277", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 272.4304881809485, + "y": 496.6666903426369, "name": "parameter-out-dict-parameters", "alignment": "right", - "parentNode": "3f684f61-6e69-4441-9259-d600a7f9c71c", + "parentNode": "08d85c34-9d03-4381-b848-3d93486f3c83", "links": [ - "6dacce9a-1392-4341-a3bc-61586560f8f9" + "79b65b28-deb1-48fa-9839-a1f6bebc220f" ], "in": false, "label": "parameters", "varName": "parameters", "portType": "", - "dataType": "" + "dataType": "dict" } ], "name": "FlaskDefinePostRoute", "color": "red", "portsInOrder": [ - "696288a3-4d0d-479d-9fec-927c6e9b2b0c" - ], - "portsOutOrder": [ - "bef9f8af-34ab-441a-8a2f-cd3e720d39c4", - "a914f6a1-e623-46a2-9357-899dd21fa63f" - ] - }, - "ed5aeea0-c8f1-47af-9015-5f774118dcdc": { - "id": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "type": "custom-node", - "selected": true, - "extras": { - "type": "debug", - "path": "xai_components/xai_utils/utils.py", - "description": null, - "lineNo": [ - { - "lineno": 16, - "end_lineno": 22 - } - ] - }, - "x": 332, - "y": 448, - "ports": [ - { - "id": "4c407802-f0f0-491e-ac2e-d725f03033af", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "in-0", - "alignment": "left", - "parentNode": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "links": [ - "fd1bc2bf-3059-4bf1-9660-1dbdb94bac7a" - ], - "in": true, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - }, - { - "id": "64174db6-55e6-494a-9f4f-0ec255441306", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-any-msg", - "alignment": "left", - "parentNode": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "links": [ - "6dacce9a-1392-4341-a3bc-61586560f8f9" - ], - "in": true, - "label": "msg", - "varName": "msg", - "portType": "", - "dataType": "any" - }, - { - "id": "1d34ba71-afe1-4af7-ba0b-4f2fc532cffa", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "out-0", - "alignment": "right", - "parentNode": "ed5aeea0-c8f1-47af-9015-5f774118dcdc", - "links": [ - "c3a69fc6-23f4-4a91-aa23-7fd820e9cfda" - ], - "in": false, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - } - ], - "name": "PrettyPrint", - "color": "rgb(153,204,51)", - "portsInOrder": [ - "4c407802-f0f0-491e-ac2e-d725f03033af", - "64174db6-55e6-494a-9f4f-0ec255441306" - ], - "portsOutOrder": [ - "1d34ba71-afe1-4af7-ba0b-4f2fc532cffa" - ] - }, - "8674a759-dbfc-4a3e-93f9-79e798f2d871": { - "id": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "type": "custom-node", - "selected": true, - "extras": { - "type": "debug", - "path": "xai_components/xai_utils/utils.py", - "description": null, - "lineNo": [ - { - "lineno": 16, - "end_lineno": 22 - } - ] - }, - "x": 647, - "y": 448, - "ports": [ - { - "id": "d5d1e82e-0da3-4f3c-88c4-bd298c2fffc9", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "in-0", - "alignment": "left", - "parentNode": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "links": [ - "31f221ab-8231-4c7b-be14-293f954d45b1" - ], - "in": true, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - }, - { - "id": "9ddab378-781b-46ac-8f9d-e20b4f898952", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-any-msg", - "alignment": "left", - "parentNode": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "links": [ - "ea4666c2-1b93-4acc-b565-10ba2c24537a" - ], - "in": true, - "label": "msg", - "varName": "msg", - "portType": "", - "dataType": "any" - }, - { - "id": "4c872261-70ad-4c3f-8569-65f9f6d01902", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "out-0", - "alignment": "right", - "parentNode": "8674a759-dbfc-4a3e-93f9-79e798f2d871", - "links": [ - "7aa58c21-04aa-450d-b8d8-78b4732677a0" - ], - "in": false, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - } - ], - "name": "PrettyPrint", - "color": "rgb(153,204,51)", - "portsInOrder": [ - "d5d1e82e-0da3-4f3c-88c4-bd298c2fffc9", - "9ddab378-781b-46ac-8f9d-e20b4f898952" + "93373981-ea69-4d08-ada0-685f8ff35894" ], "portsOutOrder": [ - "4c872261-70ad-4c3f-8569-65f9f6d01902" + "1316a128-bd0f-4048-8ba3-136600922a98", + "0a7119e7-ff65-415f-9fb2-62c6ecc0d277" ] }, - "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa": { - "id": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", + "e9d9475d-ca7b-4301-84e0-d97f40f041a6": { + "id": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Retrieves JSON data from a request payload in a Flask application.\n\n##### outPorts:\n- value: The JSON data parsed from the request payload.", "lineNo": [ @@ -2478,16 +2249,16 @@ "y": 448, "ports": [ { - "id": "df51070d-e8be-4f38-b22d-2ff96cc47aa3", + "id": "7fcb0f28-c799-475a-8262-bd8f3177783e", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 452.8889831424707, + "y": 474.88889699654425, "name": "in-0", "alignment": "left", - "parentNode": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", + "parentNode": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", "links": [ - "c3a69fc6-23f4-4a91-aa23-7fd820e9cfda" + "5458f353-c187-41b5-aab9-d73fd06a60af" ], "in": true, "label": "▶", @@ -2496,16 +2267,16 @@ "dataType": "" }, { - "id": "5961b929-1ebc-485a-8b13-6e866c4fdd20", + "id": "fc526aef-655d-4002-89f1-3bd0669535e8", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 616.7915828542491, + "y": 474.88889699654425, "name": "out-0", "alignment": "right", - "parentNode": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", + "parentNode": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", "links": [ - "31f221ab-8231-4c7b-be14-293f954d45b1" + "1525aad7-c125-401a-8032-5f5969158639" ], "in": false, "label": "▶", @@ -2514,37 +2285,37 @@ "dataType": "" }, { - "id": "9b7b6263-434c-4029-a49f-6be42fb542c6", + "id": "d21628c9-e5c6-4a9e-9b8a-7a2ae2779665", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 616.7915828542491, + "y": 496.6666903426369, "name": "parameter-out-any-value", "alignment": "right", - "parentNode": "2d7ec190-d2a4-4c46-99dc-6adaf0c216aa", + "parentNode": "e9d9475d-ca7b-4301-84e0-d97f40f041a6", "links": [ - "ea4666c2-1b93-4acc-b565-10ba2c24537a", - "c46b2f09-5291-4963-98a9-be09631cb932" + "c46b2f09-5291-4963-98a9-be09631cb932", + "9e3fc7f5-9709-4eb9-894f-ec06943da60a" ], "in": false, "label": "value", "varName": "value", "portType": "", - "dataType": "" + "dataType": "any" } ], "name": "FlaskGetRequestJson", - "color": "rgb(153,204,204)", + "color": "rgb(255,153,0)", "portsInOrder": [ - "df51070d-e8be-4f38-b22d-2ff96cc47aa3" + "7fcb0f28-c799-475a-8262-bd8f3177783e" ], "portsOutOrder": [ - "5961b929-1ebc-485a-8b13-6e866c4fdd20", - "9b7b6263-434c-4029-a49f-6be42fb542c6" + "fc526aef-655d-4002-89f1-3bd0669535e8", + "d21628c9-e5c6-4a9e-9b8a-7a2ae2779665" ] }, - "8d5bfbf1-800c-4833-9e0c-789708323cca": { - "id": "8d5bfbf1-800c-4833-9e0c-789708323cca", + "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9": { + "id": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", "type": "custom-node", "selected": true, "extras": { @@ -2557,162 +2328,81 @@ "end_lineno": 146 } ] - }, - "x": 109, - "y": 578, - "ports": [ - { - "id": "59434962-297e-4ac2-966c-0fe5f78a2bc2", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-string-route", - "alignment": "left", - "parentNode": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "links": [ - "7a500021-e78b-4e62-ab9b-690e90b2ce88" - ], - "in": true, - "label": "★route", - "varName": "★route", - "portType": "", - "dataType": "string" - }, - { - "id": "120a5d14-d232-465a-8896-a1c69addc7df", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "out-0", - "alignment": "right", - "parentNode": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "links": [ - "e3319030-9ab0-450f-93d5-7d5c2f8fbc91" - ], - "in": false, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - }, - { - "id": "73b0f8f2-351a-4368-815b-b158c2e64381", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-out-dict-parameters", - "alignment": "right", - "parentNode": "8d5bfbf1-800c-4833-9e0c-789708323cca", - "links": [ - "f1350fbe-8a21-42ef-bab5-7bced1f53854" - ], - "in": false, - "label": "parameters", - "varName": "parameters", - "portType": "", - "dataType": "" - } - ], - "name": "FlaskDefinePutRoute", - "color": "red", - "portsInOrder": [ - "59434962-297e-4ac2-966c-0fe5f78a2bc2" - ], - "portsOutOrder": [ - "120a5d14-d232-465a-8896-a1c69addc7df", - "73b0f8f2-351a-4368-815b-b158c2e64381" - ] - }, - "38e9f48f-76ef-4a4b-9867-4b1211f1d817": { - "id": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", - "type": "custom-node", - "selected": true, - "extras": { - "type": "debug", - "path": "xai_components/xai_utils/utils.py", - "description": null, - "lineNo": [ - { - "lineno": 16, - "end_lineno": 22 - } - ] - }, - "x": 323, - "y": 578, - "ports": [ - { - "id": "6a642aa7-e4c9-4610-ad35-f6be62c8cd9c", - "type": "default", - "extras": {}, - "x": 0, - "y": 0, - "name": "in-0", - "alignment": "left", - "parentNode": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", - "links": [ - "e3319030-9ab0-450f-93d5-7d5c2f8fbc91" - ], - "in": true, - "label": "▶", - "varName": "▶", - "portType": "", - "dataType": "" - }, + }, + "x": 114.05263154724628, + "y": 572.9473684527537, + "ports": [ { - "id": "eb8a66aa-bc48-4aa4-a30f-95a0f712cfb1", + "id": "6b189679-e351-4116-95fd-fa1494328884", "type": "default", "extras": {}, - "x": 0, - "y": 0, - "name": "parameter-any-msg", + "x": 114.93056626616965, + "y": 599.8333606451869, + "name": "parameter-string-route", "alignment": "left", - "parentNode": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", + "parentNode": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", "links": [ - "f1350fbe-8a21-42ef-bab5-7bced1f53854" + "7a500021-e78b-4e62-ab9b-690e90b2ce88" ], "in": true, - "label": "msg", - "varName": "msg", + "label": "★route", + "varName": "★route", "portType": "", - "dataType": "any" + "dataType": "string" }, { - "id": "f4570ee0-5037-4642-b4ca-9d6740fe77f8", + "id": "28f130a4-1943-4caf-8b7e-0a98530ab8e7", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 274.5833458977042, + "y": 599.8333606451869, "name": "out-0", "alignment": "right", - "parentNode": "38e9f48f-76ef-4a4b-9867-4b1211f1d817", - "links": [], + "parentNode": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", + "links": [ + "c01fa579-9f15-41bf-bf30-a61307ed1623" + ], "in": false, "label": "▶", "varName": "▶", "portType": "", "dataType": "" + }, + { + "id": "9d1ae42e-4585-4592-ae91-ab187a1b035f", + "type": "default", + "extras": {}, + "x": 274.5833458977042, + "y": 621.611192539799, + "name": "parameter-out-dict-parameters", + "alignment": "right", + "parentNode": "2e5dd2f5-6238-4d65-b736-1a49e6d70cb9", + "links": [ + "d3625ebf-c9d2-41b4-96f7-ff91c5279a77" + ], + "in": false, + "label": "parameters", + "varName": "parameters", + "portType": "", + "dataType": "dict" } ], - "name": "PrettyPrint", - "color": "rgb(153,204,51)", + "name": "FlaskDefinePutRoute", + "color": "red", "portsInOrder": [ - "6a642aa7-e4c9-4610-ad35-f6be62c8cd9c", - "eb8a66aa-bc48-4aa4-a30f-95a0f712cfb1" + "6b189679-e351-4116-95fd-fa1494328884" ], "portsOutOrder": [ - "f4570ee0-5037-4642-b4ca-9d6740fe77f8" + "28f130a4-1943-4caf-8b7e-0a98530ab8e7", + "9d1ae42e-4585-4592-ae91-ab187a1b035f" ] }, - "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13": { - "id": "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13", + "6269e81b-6385-4d09-b298-1f57f3004885": { + "id": "6269e81b-6385-4d09-b298-1f57f3004885", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Initializes a scheduler for running background jobs in a Flask application.\n\n##### Note:\n- This component must be executed before starting the server if background jobs are to be scheduled.", "lineNo": [ @@ -2726,14 +2416,14 @@ "y": 97, "ports": [ { - "id": "341f252e-cbe0-497c-9862-8081fb596506", + "id": "b353ebd2-c471-4a3e-93ae-568d5f7c56ba", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 498.88893145583273, + "y": 123.88889919877886, "name": "in-0", "alignment": "left", - "parentNode": "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13", + "parentNode": "6269e81b-6385-4d09-b298-1f57f3004885", "links": [ "07851799-1b6b-48ab-9b5e-426e74b6278c" ], @@ -2744,14 +2434,14 @@ "dataType": "" }, { - "id": "14c73f6d-4f9b-49db-9842-d59dbc95387b", + "id": "7ba771f2-7c89-4f3b-919f-604acf2f54e7", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 644.6945432054969, + "y": 123.88889919877886, "name": "out-0", "alignment": "right", - "parentNode": "5bdf8ea0-f9c1-4bf9-86cf-3eff8d19cc13", + "parentNode": "6269e81b-6385-4d09-b298-1f57f3004885", "links": [ "cb820b88-cb48-4e8c-8808-f6bf465e8772" ], @@ -2763,16 +2453,16 @@ } ], "name": "FlaskInitScheduler", - "color": "rgb(51,51,51)", + "color": "rgb(153,51,204)", "portsInOrder": [ - "341f252e-cbe0-497c-9862-8081fb596506" + "b353ebd2-c471-4a3e-93ae-568d5f7c56ba" ], "portsOutOrder": [ - "14c73f6d-4f9b-49db-9842-d59dbc95387b" + "7ba771f2-7c89-4f3b-919f-604acf2f54e7" ] }, - "744db50f-5858-4ee5-ab8c-61706901081c": { - "id": "744db50f-5858-4ee5-ab8c-61706901081c", + "97d22783-e580-4887-95e7-9dae0d64fa27": { + "id": "97d22783-e580-4887-95e7-9dae0d64fa27", "type": "custom-node", "selected": true, "extras": { @@ -2790,14 +2480,14 @@ "y": 694, "ports": [ { - "id": "58eb9a4e-0e8c-48c9-ae43-61ca98dcc356", + "id": "55146e38-ff24-43fe-897a-5a6b45b15758", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 111.8888567868986, + "y": 720.8889725501367, "name": "parameter-string-job_id", "alignment": "left", - "parentNode": "744db50f-5858-4ee5-ab8c-61706901081c", + "parentNode": "97d22783-e580-4887-95e7-9dae0d64fa27", "links": [ "aa655f1d-4132-4623-b90d-575ba39ec802" ], @@ -2808,14 +2498,14 @@ "dataType": "string" }, { - "id": "3cccf910-ff0c-4f10-afb7-bc9d83a4a3c5", + "id": "aa7ac620-939f-4521-9cc7-08fc769cb6ca", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 111.8888567868986, + "y": 742.6667273477099, "name": "parameter-int-seconds", "alignment": "left", - "parentNode": "744db50f-5858-4ee5-ab8c-61706901081c", + "parentNode": "97d22783-e580-4887-95e7-9dae0d64fa27", "links": [ "8a35c68f-29d6-4920-93e6-6ed8726793d5" ], @@ -2826,14 +2516,14 @@ "dataType": "int" }, { - "id": "e5300b72-aab3-4154-ac6d-be610d9b8f7e", + "id": "73c24ac3-a4f5-431e-bae1-9e497769fefa", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 281.8749525542581, + "y": 720.8889725501367, "name": "out-0", "alignment": "right", - "parentNode": "744db50f-5858-4ee5-ab8c-61706901081c", + "parentNode": "97d22783-e580-4887-95e7-9dae0d64fa27", "links": [ "d5aa8c1b-2c42-41c7-b542-8b750e58303b" ], @@ -2847,25 +2537,25 @@ "name": "FlaskCreateIntervalJob", "color": "red", "portsInOrder": [ - "58eb9a4e-0e8c-48c9-ae43-61ca98dcc356", - "3cccf910-ff0c-4f10-afb7-bc9d83a4a3c5" + "55146e38-ff24-43fe-897a-5a6b45b15758", + "aa7ac620-939f-4521-9cc7-08fc769cb6ca" ], "portsOutOrder": [ - "e5300b72-aab3-4154-ac6d-be610d9b8f7e" + "73c24ac3-a4f5-431e-bae1-9e497769fefa" ] }, - "340447c5-ca77-4bd8-a724-4ce23bba1f1b": { - "id": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", + "7d2e3401-307a-4326-b1fa-35fc7a7d8446": { + "id": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_utils/utils.py", - "description": null, + "description": "Prints a message to the console.\n\n##### inPorts:\n- msg (any): The message to be printed.", "lineNo": [ { - "lineno": 9, - "end_lineno": 13 + "lineno": 52, + "end_lineno": 61 } ] }, @@ -2873,14 +2563,14 @@ "y": 693, "ports": [ { - "id": "b7ddd851-0f9d-4e96-82bd-5d83cfb1eb93", + "id": "34595383-e74c-4700-8b96-a5be7df1b511", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 428.88898329305084, + "y": 719.8889468573979, "name": "in-0", "alignment": "left", - "parentNode": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", + "parentNode": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", "links": [ "d5aa8c1b-2c42-41c7-b542-8b750e58303b" ], @@ -2891,14 +2581,14 @@ "dataType": "" }, { - "id": "83f861c6-a9af-4712-9f40-bd3b188c5c1a", + "id": "89851a95-883b-43ad-a5f4-4ea84d53700b", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 428.88898329305084, + "y": 741.666701654971, "name": "parameter-any-msg", "alignment": "left", - "parentNode": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", + "parentNode": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", "links": [ "144e65e0-257b-477c-b8e4-d6dfb65ef551" ], @@ -2909,14 +2599,14 @@ "dataType": "any" }, { - "id": "5975ec8e-7a04-4c18-974d-3669eddee9b9", + "id": "af4efb9e-18ae-4e13-ab92-ef532bf5338d", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 501.7083701716957, + "y": 719.8889468573979, "name": "out-0", "alignment": "right", - "parentNode": "340447c5-ca77-4bd8-a724-4ce23bba1f1b", + "parentNode": "7d2e3401-307a-4326-b1fa-35fc7a7d8446", "links": [], "in": false, "label": "▶", @@ -2926,21 +2616,21 @@ } ], "name": "Print", - "color": "rgb(102,102,102)", + "color": "rgb(153,204,51)", "portsInOrder": [ - "b7ddd851-0f9d-4e96-82bd-5d83cfb1eb93", - "83f861c6-a9af-4712-9f40-bd3b188c5c1a" + "34595383-e74c-4700-8b96-a5be7df1b511", + "89851a95-883b-43ad-a5f4-4ea84d53700b" ], "portsOutOrder": [ - "5975ec8e-7a04-4c18-974d-3669eddee9b9" + "af4efb9e-18ae-4e13-ab92-ef532bf5338d" ] }, - "7d5fd329-0537-408b-b627-871fcb92f1f7": { - "id": "7d5fd329-0537-408b-b627-871fcb92f1f7", + "efa12924-a53b-4d4e-b145-29f9906ac8da": { + "id": "efa12924-a53b-4d4e-b145-29f9906ac8da", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Returns a generator as the Flask response\n\n##### Branch:\n- body: The first component to be used to generate the response. Must use FlaskStreamEmitter components to produce\n the overall response", "lineNo": [ @@ -2954,14 +2644,14 @@ "y": 924, "ports": [ { - "id": "06b84e07-9f8b-4e62-b532-e8ed59b51a59", + "id": "e5583eba-34f9-4f75-82f6-388c3f5e0b6d", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 345.8889324157812, + "y": 950.888945408064, "name": "in-0", "alignment": "left", - "parentNode": "7d5fd329-0537-408b-b627-871fcb92f1f7", + "parentNode": "efa12924-a53b-4d4e-b145-29f9906ac8da", "links": [ "5f9c960f-c9c5-4c18-b745-ba88791839ad" ], @@ -2972,14 +2662,14 @@ "dataType": "" }, { - "id": "3c4e469d-ca7b-4d1e-a709-33a4cf536b88", + "id": "b8e25855-52d7-485b-8695-eb905624dfe8", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 528.7222474693112, + "y": 950.888945408064, "name": "out-0", "alignment": "right", - "parentNode": "7d5fd329-0537-408b-b627-871fcb92f1f7", + "parentNode": "efa12924-a53b-4d4e-b145-29f9906ac8da", "links": [ "7ce3d652-d98f-4872-b20a-00a5d1ad2a59" ], @@ -2990,14 +2680,14 @@ "dataType": "" }, { - "id": "c8c6e2d8-c92c-4816-a56c-219e89c60396", + "id": "226e173f-ba85-46cc-8b3b-87bb11b4c3a1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 528.7222474693112, + "y": 972.6667002056371, "name": "out-flow-body", "alignment": "right", - "parentNode": "7d5fd329-0537-408b-b627-871fcb92f1f7", + "parentNode": "efa12924-a53b-4d4e-b145-29f9906ac8da", "links": [ "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d" ], @@ -3011,25 +2701,25 @@ "name": "FlaskStreamingResponse", "color": "#8B008B", "portsInOrder": [ - "06b84e07-9f8b-4e62-b532-e8ed59b51a59" + "e5583eba-34f9-4f75-82f6-388c3f5e0b6d" ], "portsOutOrder": [ - "3c4e469d-ca7b-4d1e-a709-33a4cf536b88", - "c8c6e2d8-c92c-4816-a56c-219e89c60396" + "b8e25855-52d7-485b-8695-eb905624dfe8", + "226e173f-ba85-46cc-8b3b-87bb11b4c3a1" ] }, - "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b": { - "id": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", + "53014233-182a-411e-834f-8c7be1629b49": { + "id": "53014233-182a-411e-834f-8c7be1629b49", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_utils/utils.py", - "description": "Pauses the python process.\n\n##### inPorts:\n- sleep_timer: the number of seconds to pause.\n Default `5.0` seconds.", + "description": "Pauses the python process.\n\n##### inPorts:\n- sleep_timer (float): The number of seconds to pause. Default `5.0` seconds.", "lineNo": [ { - "lineno": 165, - "end_lineno": 178 + "lineno": 312, + "end_lineno": 323 } ] }, @@ -3037,14 +2727,14 @@ "y": 947, "ports": [ { - "id": "ff874a12-35c1-4e99-812f-8c26890ec390", + "id": "ec700696-fe33-4b3f-a0d8-b3c395615f27", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 792.888929611226, + "y": 973.888919564745, "name": "in-0", "alignment": "left", - "parentNode": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", + "parentNode": "53014233-182a-411e-834f-8c7be1629b49", "links": [ "398aab01-7eb4-4173-859a-a8107dac623a" ], @@ -3055,14 +2745,14 @@ "dataType": "" }, { - "id": "45029af7-27a5-428e-b5e3-5d2f10ed4496", + "id": "312f4070-eccb-4980-b41e-aaf2c99a9ee0", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 792.888929611226, + "y": 995.6666743623182, "name": "parameter-float-sleep_timer", "alignment": "left", - "parentNode": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", + "parentNode": "53014233-182a-411e-834f-8c7be1629b49", "links": [ "1a2c1294-4cfd-40b2-9dcb-b3b15c17c0d1" ], @@ -3073,14 +2763,14 @@ "dataType": "float" }, { - "id": "993e26f2-e621-4e7d-9569-85fcea25b770", + "id": "203082aa-7daf-471e-a0e9-fd017683bb75", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 931.6250512736664, + "y": 973.888919564745, "name": "out-0", "alignment": "right", - "parentNode": "61df802f-1ba6-4b79-8b21-f2f4d0bbda9b", + "parentNode": "53014233-182a-411e-834f-8c7be1629b49", "links": [ "34939999-adca-4419-b494-81736e25bb8d" ], @@ -3094,25 +2784,25 @@ "name": "SleepComponent", "color": "green", "portsInOrder": [ - "ff874a12-35c1-4e99-812f-8c26890ec390", - "45029af7-27a5-428e-b5e3-5d2f10ed4496" + "ec700696-fe33-4b3f-a0d8-b3c395615f27", + "312f4070-eccb-4980-b41e-aaf2c99a9ee0" ], "portsOutOrder": [ - "993e26f2-e621-4e7d-9569-85fcea25b770" + "203082aa-7daf-471e-a0e9-fd017683bb75" ] }, - "908c7adb-5aaa-42c0-978b-b408bd68f8e7": { - "id": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", + "2b51854e-c912-4209-a7e5-b4b0ec38d130": { + "id": "2b51854e-c912-4209-a7e5-b4b0ec38d130", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_utils/utils.py", - "description": "Pauses the python process.\n\n##### inPorts:\n- sleep_timer: the number of seconds to pause.\n Default `5.0` seconds.", + "description": "Pauses the python process.\n\n##### inPorts:\n- sleep_timer (float): The number of seconds to pause. Default `5.0` seconds.", "lineNo": [ { - "lineno": 165, - "end_lineno": 178 + "lineno": 312, + "end_lineno": 323 } ] }, @@ -3120,14 +2810,14 @@ "y": 946, "ports": [ { - "id": "3f997a14-2473-4de5-bfd1-b391cac3a2cc", + "id": "b2cd91e4-a658-499f-9c9f-191ecd5db784", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1175.8889786062439, + "y": 972.8889709690452, "name": "in-0", "alignment": "left", - "parentNode": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", + "parentNode": "2b51854e-c912-4209-a7e5-b4b0ec38d130", "links": [ "c2c998f1-31b8-4f1e-8da4-18f8c10198f3" ], @@ -3138,14 +2828,14 @@ "dataType": "" }, { - "id": "2f4a680e-8240-447b-b28f-6b40250a8783", + "id": "ed0c26ae-383d-4ec5-add4-b535bd1e00f1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1175.8889786062439, + "y": 994.6667257666184, "name": "parameter-float-sleep_timer", "alignment": "left", - "parentNode": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", + "parentNode": "2b51854e-c912-4209-a7e5-b4b0ec38d130", "links": [ "5b5c1f60-99e0-4da1-b932-70151728cd6c" ], @@ -3156,14 +2846,14 @@ "dataType": "float" }, { - "id": "146955fb-0db9-4787-b424-a192c592c71c", + "id": "b8029c85-0164-433a-bc56-02080b51c8be", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1314.6249460746064, + "y": 972.8889709690452, "name": "out-0", "alignment": "right", - "parentNode": "908c7adb-5aaa-42c0-978b-b408bd68f8e7", + "parentNode": "2b51854e-c912-4209-a7e5-b4b0ec38d130", "links": [ "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68" ], @@ -3177,15 +2867,15 @@ "name": "SleepComponent", "color": "green", "portsInOrder": [ - "3f997a14-2473-4de5-bfd1-b391cac3a2cc", - "2f4a680e-8240-447b-b28f-6b40250a8783" + "b2cd91e4-a658-499f-9c9f-191ecd5db784", + "ed0c26ae-383d-4ec5-add4-b535bd1e00f1" ], "portsOutOrder": [ - "146955fb-0db9-4787-b424-a192c592c71c" + "b8029c85-0164-433a-bc56-02080b51c8be" ] }, - "a71ba970-7b6e-4e40-bea4-e858af9d2449": { - "id": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "9c5551dc-caa0-4869-8d8c-4ceffed1c275": { + "id": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "type": "custom-node", "selected": true, "extras": { @@ -3203,14 +2893,14 @@ "y": 925, "ports": [ { - "id": "a0b99c0c-b28f-484a-83af-c4a579753490", + "id": "b16c8491-cda4-44a9-b0a4-e9469a58723d", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 88.88888263021757, + "y": 951.8889711008028, "name": "parameter-string-route", "alignment": "left", - "parentNode": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "parentNode": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "links": [ "019e983b-9040-48e7-b07e-5f77a06a1437" ], @@ -3221,14 +2911,14 @@ "dataType": "string" }, { - "id": "894b0bbe-61d6-4b59-8a28-e8300b163779", + "id": "81b7fe58-af04-4c97-a12f-8d1135f99135", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 88.88888263021757, + "y": 973.666725898376, "name": "parameter-dynalist-methods", "alignment": "left", - "parentNode": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "parentNode": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "links": [ "82f6c9b3-7e8c-4da8-800c-57394a5d7fa8" ], @@ -3240,18 +2930,18 @@ "dynaPortOrder": 0, "dynaPortRef": { "previous": null, - "next": "ad924b7f-52fa-48e2-abdb-fea46a8ef694" + "next": "4ae7113e-d7dd-448f-bd67-bc68edfcf2d2" } }, { - "id": "ad924b7f-52fa-48e2-abdb-fea46a8ef694", + "id": "4ae7113e-d7dd-448f-bd67-bc68edfcf2d2", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 88.88888263021757, + "y": 995.4444806959491, "name": "parameter-dynalist-methods-1", "alignment": "left", - "parentNode": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "parentNode": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "links": [], "in": true, "label": "methods[1]", @@ -3260,19 +2950,19 @@ "dataType": "dynalist", "dynaPortOrder": 1, "dynaPortRef": { - "previous": "894b0bbe-61d6-4b59-8a28-e8300b163779", + "previous": "81b7fe58-af04-4c97-a12f-8d1135f99135", "next": null } }, { - "id": "a1b81a8c-aa19-4e1b-8d49-7952bc7079db", + "id": "a36fb62c-846c-4cac-8092-267a03391d4e", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 249.59712072552475, + "y": 951.8889711008028, "name": "out-0", "alignment": "right", - "parentNode": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "parentNode": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "links": [ "5f9c960f-c9c5-4c18-b745-ba88791839ad" ], @@ -3283,46 +2973,46 @@ "dataType": "" }, { - "id": "986078f8-6e12-4634-8fc7-cac07434f37f", + "id": "2c8e7501-f7d0-452b-b2fe-c47fb23e8cfe", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 249.59712072552475, + "y": 973.666725898376, "name": "parameter-out-dict-parameters", "alignment": "right", - "parentNode": "a71ba970-7b6e-4e40-bea4-e858af9d2449", + "parentNode": "9c5551dc-caa0-4869-8d8c-4ceffed1c275", "links": [], "in": false, "label": "parameters", "varName": "parameters", "portType": "", - "dataType": "" + "dataType": "dict" } ], "name": "FlaskDefineRoute", "color": "red", "portsInOrder": [ - "a0b99c0c-b28f-484a-83af-c4a579753490", - "894b0bbe-61d6-4b59-8a28-e8300b163779", - "ad924b7f-52fa-48e2-abdb-fea46a8ef694" + "b16c8491-cda4-44a9-b0a4-e9469a58723d", + "81b7fe58-af04-4c97-a12f-8d1135f99135", + "4ae7113e-d7dd-448f-bd67-bc68edfcf2d2" ], "portsOutOrder": [ - "a1b81a8c-aa19-4e1b-8d49-7952bc7079db", - "986078f8-6e12-4634-8fc7-cac07434f37f" + "a36fb62c-846c-4cac-8092-267a03391d4e", + "2c8e7501-f7d0-452b-b2fe-c47fb23e8cfe" ] }, - "0eb7954c-bac6-4d71-b91f-667660a1ec86": { - "id": "0eb7954c-bac6-4d71-b91f-667660a1ec86", + "ac603fa3-5deb-4fb5-b962-1e4f9cda4693": { + "id": "ac603fa3-5deb-4fb5-b962-1e4f9cda4693", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_utils/utils.py", - "description": null, + "description": "Prints a message to the console.\n\n##### inPorts:\n- msg (any): The message to be printed.", "lineNo": [ { - "lineno": 9, - "end_lineno": 13 + "lineno": 52, + "end_lineno": 61 } ] }, @@ -3330,14 +3020,14 @@ "y": 859.909, "ports": [ { - "id": "bcc17734-2849-464c-ad73-548d66e57057", + "id": "707efe8d-a363-41ca-a749-dbcea2c05ac8", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 579.2499506884759, + "y": 886.7917007444318, "name": "in-0", "alignment": "left", - "parentNode": "0eb7954c-bac6-4d71-b91f-667660a1ec86", + "parentNode": "ac603fa3-5deb-4fb5-b962-1e4f9cda4693", "links": [ "7ce3d652-d98f-4872-b20a-00a5d1ad2a59" ], @@ -3348,14 +3038,14 @@ "dataType": "" }, { - "id": "1e31a22c-8977-49b9-a05b-6a4f1be4c0ad", + "id": "232d8d2a-4cf7-4f8d-9b19-1fb46cbc58e7", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 579.2499506884759, + "y": 908.5695326390438, "name": "parameter-any-msg", "alignment": "left", - "parentNode": "0eb7954c-bac6-4d71-b91f-667660a1ec86", + "parentNode": "ac603fa3-5deb-4fb5-b962-1e4f9cda4693", "links": [], "in": true, "label": "msg", @@ -3364,14 +3054,14 @@ "dataType": "any" }, { - "id": "7afa5772-387a-4027-b899-28a1c70e9981", + "id": "5a863b96-813c-4720-b010-cb4a84b38d0f", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 652.0694917611988, + "y": 886.7917007444318, "name": "out-0", "alignment": "right", - "parentNode": "0eb7954c-bac6-4d71-b91f-667660a1ec86", + "parentNode": "ac603fa3-5deb-4fb5-b962-1e4f9cda4693", "links": [], "in": false, "label": "▶", @@ -3381,21 +3071,21 @@ } ], "name": "Print", - "color": "rgb(102,102,102)", + "color": "rgb(153,204,51)", "portsInOrder": [ - "bcc17734-2849-464c-ad73-548d66e57057", - "1e31a22c-8977-49b9-a05b-6a4f1be4c0ad" + "707efe8d-a363-41ca-a749-dbcea2c05ac8", + "232d8d2a-4cf7-4f8d-9b19-1fb46cbc58e7" ], "portsOutOrder": [ - "7afa5772-387a-4027-b899-28a1c70e9981" + "5a863b96-813c-4720-b010-cb4a84b38d0f" ] }, - "da25bc54-b6ea-4e5d-906a-075fc5e3492b": { - "id": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", + "85ad378d-02d1-4178-bcf9-ea40aa4c97e3": { + "id": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Sets a string response for a Flask route in the ctx.\n\n##### inPorts:\n- response: The string to be returned as the response.", "lineNo": [ @@ -3409,16 +3099,16 @@ "y": 320, "ports": [ { - "id": "94e6e931-30d8-4de0-b0d9-fb4723862167", + "id": "2a087bea-4985-4aad-9cb8-eaf57f04a146", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 529.8890340573854, + "y": 346.88888495013185, "name": "in-0", "alignment": "left", - "parentNode": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", + "parentNode": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", "links": [ - "d2ffc9a4-d47c-4877-8d99-45ed9e1d41b5" + "3b0056b3-113f-4bc1-bb66-90c388cf2503" ], "in": true, "label": "▶", @@ -3427,14 +3117,14 @@ "dataType": "" }, { - "id": "4b6e9de5-9d44-499b-9501-5355c635377c", + "id": "66a3aeaf-7ee5-4cdd-aff8-add90a9e2ae7", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 529.8890340573854, + "y": 368.666639747705, "name": "parameter-string-response", "alignment": "left", - "parentNode": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", + "parentNode": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", "links": [ "8f54d355-e56f-44ab-b64e-8b4a0c4aaffe" ], @@ -3445,14 +3135,14 @@ "dataType": "string" }, { - "id": "1e5b7b4f-76e3-45c8-b9c3-ddd64b3b0432", + "id": "2c82277f-802d-442f-bbec-4579794b8ad5", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 725.5139814319743, + "y": 346.88888495013185, "name": "out-0", "alignment": "right", - "parentNode": "da25bc54-b6ea-4e5d-906a-075fc5e3492b", + "parentNode": "85ad378d-02d1-4178-bcf9-ea40aa4c97e3", "links": [], "in": false, "label": "▶", @@ -3464,19 +3154,19 @@ "name": "FlaskReturnStringResponse", "color": "red", "portsInOrder": [ - "94e6e931-30d8-4de0-b0d9-fb4723862167", - "4b6e9de5-9d44-499b-9501-5355c635377c" + "2a087bea-4985-4aad-9cb8-eaf57f04a146", + "66a3aeaf-7ee5-4cdd-aff8-add90a9e2ae7" ], "portsOutOrder": [ - "1e5b7b4f-76e3-45c8-b9c3-ddd64b3b0432" + "2c82277f-802d-442f-bbec-4579794b8ad5" ] }, - "a4819c8d-206e-4a08-bea6-5cb5467f3fc7": { - "id": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", + "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a": { + "id": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Sets a JSON response for a Flask route in the ctx.\n\n##### inPorts:\n- response: The data to be returned as a JSON response.", "lineNo": [ @@ -3490,16 +3180,16 @@ "y": 448, "ports": [ { - "id": "540d2239-c11b-4ba7-8642-f51682ba35a8", + "id": "afda2bbb-832d-433d-a7f0-d3830285cf37", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 809.888980902591, + "y": 474.88889699654425, "name": "in-0", "alignment": "left", - "parentNode": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", + "parentNode": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", "links": [ - "7aa58c21-04aa-450d-b8d8-78b4732677a0" + "54def2f4-3857-4992-91af-78b9e39a2cb4" ], "in": true, "label": "▶", @@ -3508,14 +3198,14 @@ "dataType": "" }, { - "id": "f288e024-514b-48bf-967d-59fcbc05e38d", + "id": "08b97b31-3927-4945-9779-726d2c505426", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 809.888980902591, + "y": 496.6666903426369, "name": "parameter-any-response", "alignment": "left", - "parentNode": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", + "parentNode": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", "links": [ "c46b2f09-5291-4963-98a9-be09631cb932" ], @@ -3526,14 +3216,14 @@ "dataType": "any" }, { - "id": "bd887ba4-35f0-433e-8347-9c90a5befe12", + "id": "484b6479-0c56-4237-b4af-379127d143eb", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1005.3194895448473, + "y": 474.88889699654425, "name": "out-0", "alignment": "right", - "parentNode": "a4819c8d-206e-4a08-bea6-5cb5467f3fc7", + "parentNode": "0e22b6ac-d0a2-4bb4-8087-16dfc397e90a", "links": [], "in": false, "label": "▶", @@ -3545,19 +3235,19 @@ "name": "FlaskReturnJSONResponse", "color": "red", "portsInOrder": [ - "540d2239-c11b-4ba7-8642-f51682ba35a8", - "f288e024-514b-48bf-967d-59fcbc05e38d" + "afda2bbb-832d-433d-a7f0-d3830285cf37", + "08b97b31-3927-4945-9779-726d2c505426" ], "portsOutOrder": [ - "bd887ba4-35f0-433e-8347-9c90a5befe12" + "484b6479-0c56-4237-b4af-379127d143eb" ] }, - "c31ff6fd-be54-4bcb-87d7-58852f0069b3": { - "id": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", + "34351809-e3ed-4cf5-b1a2-3953a11cb576": { + "id": "34351809-e3ed-4cf5-b1a2-3953a11cb576", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Adds the value to the current response and streams it out\n\n##### inPorts:\n- value: A string to be added to the response. If the value ands in a new line, it will be immediately flushed", "lineNo": [ @@ -3571,14 +3261,14 @@ "y": 946, "ports": [ { - "id": "446f2f02-40ea-47bc-b3b5-aeb336083b83", + "id": "c85abb10-ab7c-4021-b9c1-f7620dbfb638", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 580.8890337374025, + "y": 972.8889709690452, "name": "in-0", "alignment": "left", - "parentNode": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", + "parentNode": "34351809-e3ed-4cf5-b1a2-3953a11cb576", "links": [ "5e6e63c5-8113-4e27-8f2b-c0a60907ab5d" ], @@ -3589,14 +3279,14 @@ "dataType": "" }, { - "id": "377a694b-914f-4975-9ce5-c57b16423384", + "id": "1809b10a-0f48-4f97-94b2-d8fe9c3685e1", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 580.8890337374025, + "y": 994.6667257666184, "name": "parameter-string-value", "alignment": "left", - "parentNode": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", + "parentNode": "34351809-e3ed-4cf5-b1a2-3953a11cb576", "links": [ "e6a6d60e-2cf2-405d-85b2-828718663ac3" ], @@ -3607,14 +3297,14 @@ "dataType": "string" }, { - "id": "5537cb98-cc1a-48d3-bada-24243d8ae53d", + "id": "90972aba-85e4-4375-a5b6-7aeb43be5001", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 732.7640327845127, + "y": 972.8889709690452, "name": "out-0", "alignment": "right", - "parentNode": "c31ff6fd-be54-4bcb-87d7-58852f0069b3", + "parentNode": "34351809-e3ed-4cf5-b1a2-3953a11cb576", "links": [ "398aab01-7eb4-4173-859a-a8107dac623a" ], @@ -3628,19 +3318,19 @@ "name": "FlaskStreamEmitter", "color": "#8B008B", "portsInOrder": [ - "446f2f02-40ea-47bc-b3b5-aeb336083b83", - "377a694b-914f-4975-9ce5-c57b16423384" + "c85abb10-ab7c-4021-b9c1-f7620dbfb638", + "1809b10a-0f48-4f97-94b2-d8fe9c3685e1" ], "portsOutOrder": [ - "5537cb98-cc1a-48d3-bada-24243d8ae53d" + "90972aba-85e4-4375-a5b6-7aeb43be5001" ] }, - "7675c808-1d74-4c8c-b5ef-40e95af9dd3b": { - "id": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", + "ce23aaf1-903c-4012-b4de-206c2dfe69ed": { + "id": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Adds the value to the current response and streams it out\n\n##### inPorts:\n- value: A string to be added to the response. If the value ands in a new line, it will be immediately flushed", "lineNo": [ @@ -3654,14 +3344,14 @@ "y": 946, "ports": [ { - "id": "f6c63317-eaa2-4784-a126-fb343f58942e", + "id": "c0ceb158-fc7c-4578-b322-707dd94fc6d0", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1359.8889260537703, + "y": 972.8889709690452, "name": "in-0", "alignment": "left", - "parentNode": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", + "parentNode": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", "links": [ "ba58b5d3-8bce-4023-9a3e-70b6b89b3f68" ], @@ -3672,14 +3362,14 @@ "dataType": "" }, { - "id": "0e274c46-11e2-4d47-be83-9270ae53ba39", + "id": "37b3040f-e104-4fe7-92fd-404ce99ebca3", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1359.8889260537703, + "y": 994.6667257666184, "name": "parameter-string-value", "alignment": "left", - "parentNode": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", + "parentNode": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", "links": [ "1083fce9-d8b9-4eb6-a4ca-3f962fc2d496" ], @@ -3690,14 +3380,14 @@ "dataType": "string" }, { - "id": "b9c6d5d7-7ab3-4605-a05b-0de9527abe63", + "id": "85d602fb-2673-4904-b527-2acf9a6a17c2", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1511.7637709068022, + "y": 972.8889709690452, "name": "out-0", "alignment": "right", - "parentNode": "7675c808-1d74-4c8c-b5ef-40e95af9dd3b", + "parentNode": "ce23aaf1-903c-4012-b4de-206c2dfe69ed", "links": [], "in": false, "label": "▶", @@ -3709,19 +3399,19 @@ "name": "FlaskStreamEmitter", "color": "#8B008B", "portsInOrder": [ - "f6c63317-eaa2-4784-a126-fb343f58942e", - "0e274c46-11e2-4d47-be83-9270ae53ba39" + "c0ceb158-fc7c-4578-b322-707dd94fc6d0", + "37b3040f-e104-4fe7-92fd-404ce99ebca3" ], "portsOutOrder": [ - "b9c6d5d7-7ab3-4605-a05b-0de9527abe63" + "85d602fb-2673-4904-b527-2acf9a6a17c2" ] }, - "068dea93-0c06-4ae2-a574-0bd28030dabc": { - "id": "068dea93-0c06-4ae2-a574-0bd28030dabc", + "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a": { + "id": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", "type": "custom-node", "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Adds the value to the current response and streams it out\n\n##### inPorts:\n- value: A string to be added to the response. If the value ands in a new line, it will be immediately flushed", "lineNo": [ @@ -3735,14 +3425,14 @@ "y": 947, "ports": [ { - "id": "f9d5d109-ac40-4ab8-9010-b21a5e48e4fa", + "id": "614c32e4-67d9-4869-8296-1e9478f25a72", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 983.888979810885, + "y": 973.888919564745, "name": "in-0", "alignment": "left", - "parentNode": "068dea93-0c06-4ae2-a574-0bd28030dabc", + "parentNode": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", "links": [ "34939999-adca-4419-b494-81736e25bb8d" ], @@ -3753,14 +3443,14 @@ "dataType": "" }, { - "id": "5c75faa4-8c80-41ce-a044-f51e40126a77", + "id": "ae91f10c-8141-429d-ad55-8b2485eadc07", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 983.888979810885, + "y": 995.6666743623182, "name": "parameter-string-value", "alignment": "left", - "parentNode": "068dea93-0c06-4ae2-a574-0bd28030dabc", + "parentNode": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", "links": [ "0c7af87c-9c91-4760-a26a-ba6315fc528f" ], @@ -3771,14 +3461,14 @@ "dataType": "string" }, { - "id": "73867777-a496-4fa1-863f-fb1163e80430", + "id": "abcfd384-3b46-4c21-9630-ffe6684be466", "type": "default", "extras": {}, - "x": 0, - "y": 0, + "x": 1135.763978857995, + "y": 973.888919564745, "name": "out-0", "alignment": "right", - "parentNode": "068dea93-0c06-4ae2-a574-0bd28030dabc", + "parentNode": "8d86acfc-ca2a-4c69-a1eb-3c67ee59f15a", "links": [ "c2c998f1-31b8-4f1e-8da4-18f8c10198f3" ], @@ -3792,11 +3482,341 @@ "name": "FlaskStreamEmitter", "color": "#8B008B", "portsInOrder": [ - "f9d5d109-ac40-4ab8-9010-b21a5e48e4fa", - "5c75faa4-8c80-41ce-a044-f51e40126a77" + "614c32e4-67d9-4869-8296-1e9478f25a72", + "ae91f10c-8141-429d-ad55-8b2485eadc07" + ], + "portsOutOrder": [ + "abcfd384-3b46-4c21-9630-ffe6684be466" + ] + }, + "ddc46e57-39d2-4bea-b004-d6e9284aa181": { + "id": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "type": "custom-node", + "selected": true, + "extras": { + "type": "library_component", + "path": "xai_components/xai_utils/utils.py", + "description": "Prints a message in a pretty format using pprint.\n\n##### inPorts:\n- msg (any): The message to be pretty printed.", + "lineNo": [ + { + "lineno": 64, + "end_lineno": 75 + } + ] + }, + "x": 327.1218169907662, + "y": 314.9190172436439, + "ports": [ + { + "id": "0c3f3faf-ba52-4d9a-91b4-c26a9d7f79b4", + "type": "default", + "extras": {}, + "x": 327.99995226486186, + "y": 341.8055687813676, + "name": "in-0", + "alignment": "left", + "parentNode": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "links": [ + "ceaf35af-de2f-4b50-8f18-694ec6526b4f" + ], + "in": true, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + }, + { + "id": "8c07fd21-f379-483e-b0ac-230c5626375a", + "type": "default", + "extras": {}, + "x": 327.99995226486186, + "y": 363.58332357894074, + "name": "parameter-any-msg", + "alignment": "left", + "parentNode": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "links": [ + "7b4e6b65-90d9-4f68-9163-e5a00c3bc5fc" + ], + "in": true, + "label": "msg", + "varName": "msg", + "portType": "", + "dataType": "any" + }, + { + "id": "25b93eb5-9b7b-4137-bd35-f82f7978df32", + "type": "default", + "extras": {}, + "x": 431.9306156752829, + "y": 341.8055687813676, + "name": "out-0", + "alignment": "right", + "parentNode": "ddc46e57-39d2-4bea-b004-d6e9284aa181", + "links": [ + "3b0056b3-113f-4bc1-bb66-90c388cf2503" + ], + "in": false, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + } + ], + "name": "PrettyPrint", + "color": "rgb(255,153,0)", + "portsInOrder": [ + "0c3f3faf-ba52-4d9a-91b4-c26a9d7f79b4", + "8c07fd21-f379-483e-b0ac-230c5626375a" + ], + "portsOutOrder": [ + "25b93eb5-9b7b-4137-bd35-f82f7978df32" + ] + }, + "e4ade3e6-d98d-4f75-a501-9c5b414fb44c": { + "id": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "type": "custom-node", + "selected": true, + "extras": { + "type": "library_component", + "path": "xai_components/xai_utils/utils.py", + "description": "Prints a message in a pretty format using pprint.\n\n##### inPorts:\n- msg (any): The message to be pretty printed.", + "lineNo": [ + { + "lineno": 64, + "end_lineno": 75 + } + ] + }, + "x": 310.7007644622157, + "y": 441.2348059248011, + "ports": [ + { + "id": "7c5d20f8-d72d-4547-90cb-bb1c6ca2fc4b", + "type": "default", + "extras": {}, + "x": 311.58329426753386, + "y": 468.11110355633906, + "name": "in-0", + "alignment": "left", + "parentNode": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "links": [ + "55025893-1786-4e22-aab4-1d271af4968c" + ], + "in": true, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + }, + { + "id": "ac9c8d29-82d3-4751-885e-d75f09c59cbf", + "type": "default", + "extras": {}, + "x": 311.58329426753386, + "y": 489.8888583539122, + "name": "parameter-any-msg", + "alignment": "left", + "parentNode": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "links": [ + "79b65b28-deb1-48fa-9839-a1f6bebc220f" + ], + "in": true, + "label": "msg", + "varName": "msg", + "portType": "", + "dataType": "any" + }, + { + "id": "ba38b858-6f0c-4706-be0f-cc40259c8bb0", + "type": "default", + "extras": {}, + "x": 415.5140347749939, + "y": 468.11110355633906, + "name": "out-0", + "alignment": "right", + "parentNode": "e4ade3e6-d98d-4f75-a501-9c5b414fb44c", + "links": [ + "5458f353-c187-41b5-aab9-d73fd06a60af" + ], + "in": false, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + } + ], + "name": "PrettyPrint", + "color": "rgb(255,153,0)", + "portsInOrder": [ + "7c5d20f8-d72d-4547-90cb-bb1c6ca2fc4b", + "ac9c8d29-82d3-4751-885e-d75f09c59cbf" + ], + "portsOutOrder": [ + "ba38b858-6f0c-4706-be0f-cc40259c8bb0" + ] + }, + "6d727a62-09b8-4a40-b302-404004a9530b": { + "id": "6d727a62-09b8-4a40-b302-404004a9530b", + "type": "custom-node", + "selected": true, + "extras": { + "type": "library_component", + "path": "xai_components/xai_utils/utils.py", + "description": "Prints a message in a pretty format using pprint.\n\n##### inPorts:\n- msg (any): The message to be pretty printed.", + "lineNo": [ + { + "lineno": 64, + "end_lineno": 75 + } + ] + }, + "x": 663.1218148826441, + "y": 450.07691113248217, + "ports": [ + { + "id": "5d93006a-868c-4cce-8bdd-1cb1c59e9a0a", + "type": "default", + "extras": {}, + "x": 663.9999501567398, + "y": 476.9583357171129, + "name": "in-0", + "alignment": "left", + "parentNode": "6d727a62-09b8-4a40-b302-404004a9530b", + "links": [ + "1525aad7-c125-401a-8032-5f5969158639" + ], + "in": true, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + }, + { + "id": "4913a549-bfe8-4dc5-8aca-da1267e7994b", + "type": "default", + "extras": {}, + "x": 663.9999501567398, + "y": 498.7361290632055, + "name": "parameter-any-msg", + "alignment": "left", + "parentNode": "6d727a62-09b8-4a40-b302-404004a9530b", + "links": [ + "9e3fc7f5-9709-4eb9-894f-ec06943da60a" + ], + "in": true, + "label": "msg", + "varName": "msg", + "portType": "", + "dataType": "any" + }, + { + "id": "64272354-4ad7-40f1-a220-067d6207d493", + "type": "default", + "extras": {}, + "x": 767.9306135671609, + "y": 476.9583357171129, + "name": "out-0", + "alignment": "right", + "parentNode": "6d727a62-09b8-4a40-b302-404004a9530b", + "links": [ + "54def2f4-3857-4992-91af-78b9e39a2cb4" + ], + "in": false, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + } + ], + "name": "PrettyPrint", + "color": "rgb(255,153,0)", + "portsInOrder": [ + "5d93006a-868c-4cce-8bdd-1cb1c59e9a0a", + "4913a549-bfe8-4dc5-8aca-da1267e7994b" + ], + "portsOutOrder": [ + "64272354-4ad7-40f1-a220-067d6207d493" + ] + }, + "e6be2fbd-2244-41db-bb02-4f449cec27c2": { + "id": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "type": "custom-node", + "selected": true, + "extras": { + "type": "library_component", + "path": "xai_components/xai_utils/utils.py", + "description": "Prints a message in a pretty format using pprint.\n\n##### inPorts:\n- msg (any): The message to be pretty printed.", + "lineNo": [ + { + "lineno": 64, + "end_lineno": 75 + } + ] + }, + "x": 363.7533957083017, + "y": 594.0769102290012, + "ports": [ + { + "id": "33e80459-985a-434e-872d-024106dba1d4", + "type": "default", + "extras": {}, + "x": 364.63893229814045, + "y": 620.9583348136321, + "name": "in-0", + "alignment": "left", + "parentNode": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "links": [ + "c01fa579-9f15-41bf-bf30-a61307ed1623" + ], + "in": true, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + }, + { + "id": "bac3404c-f56d-4c7f-8ae5-4648ad21ac16", + "type": "default", + "extras": {}, + "x": 364.63893229814045, + "y": 642.7361667082441, + "name": "parameter-any-msg", + "alignment": "left", + "parentNode": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "links": [ + "d3625ebf-c9d2-41b4-96f7-ff91c5279a77" + ], + "in": true, + "label": "msg", + "varName": "msg", + "portType": "", + "dataType": "any" + }, + { + "id": "b215247a-9d83-4054-919c-3163d6e2983b", + "type": "default", + "extras": {}, + "x": 468.5694415144835, + "y": 620.9583348136321, + "name": "out-0", + "alignment": "right", + "parentNode": "e6be2fbd-2244-41db-bb02-4f449cec27c2", + "links": [], + "in": false, + "label": "▶", + "varName": "▶", + "portType": "", + "dataType": "" + } + ], + "name": "PrettyPrint", + "color": "rgb(255,153,0)", + "portsInOrder": [ + "33e80459-985a-434e-872d-024106dba1d4", + "bac3404c-f56d-4c7f-8ae5-4648ad21ac16" ], "portsOutOrder": [ - "73867777-a496-4fa1-863f-fb1163e80430" + "b215247a-9d83-4054-919c-3163d6e2983b" ] } } diff --git a/examples/InlineExample.xircuits b/examples/InlineExample.xircuits index a997f19..52e218f 100644 --- a/examples/InlineExample.xircuits +++ b/examples/InlineExample.xircuits @@ -1,12 +1,12 @@ { "id": "30c38457-b9ce-42fd-9188-881913c82716", - "offsetX": 94.4608398783775, - "offsetY": 178.3037869032781, - "zoom": 59.259256381229754, + "offsetX": 358.10370071540495, + "offsetY": 213.46806946873616, + "zoom": 59.25925638122974, "gridSize": 0, "layers": [ { - "id": "fc7dc6e6-6a43-4184-9e72-893b6507d8b6", + "id": "cb5f8262-3575-4353-9cc4-e3e1cd9ed978", "type": "diagram-links", "isSvg": true, "transformed": true, @@ -15,22 +15,22 @@ "id": "21232755-9baf-438e-ae3b-726a8b3d9788", "type": "parameter-link", "selected": false, - "source": "7d92c8a9-a383-4691-ba29-3e2a830e9740", - "sourcePort": "e474fa83-5394-444d-a55b-27d5cfd65638", - "target": "49709a75-94c8-46bd-a250-ddd40c028524", - "targetPort": "688892e1-ec1b-4242-8476-9a3e0229ee9c", + "source": "1edd187b-796d-4dd1-b489-31f5633767ba", + "sourcePort": "d1ff94ad-5f94-4eda-ae1c-4c0590eade05", + "target": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", + "targetPort": "ddc1540e-4a87-47e1-bcc8-e65e479f1ec6", "points": [ { "id": "eff6b64f-a9eb-4add-af2b-4f560189bc59", "type": "point", - "x": 29.281, - "y": 19.422 + "x": 28.93054803469269, + "y": 19.63890805234535 }, { "id": "8a17bb7a-0c01-41c0-93e1-97f6065fb7c3", "type": "point", - "x": 88.313, - "y": -26.187 + "x": 88.08337912410607, + "y": -23.6388902881774 } ], "labels": [], @@ -45,20 +45,20 @@ "selected": false, "source": "6bbd3afa-5ad0-4e36-9d3a-fce527612783", "sourcePort": "0f1a2a69-6f4f-488f-8a02-a2b88b4e4b6f", - "target": "49709a75-94c8-46bd-a250-ddd40c028524", - "targetPort": "80773a00-43b2-48e9-85b7-8b3922569b46", + "target": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", + "targetPort": "85b0f135-2d2f-4b9c-ac87-e05417ddf5dc", "points": [ { "id": "2a9e9cdf-8866-4da0-b743-fe4f95c16b76", "type": "point", - "x": -64.75, - "y": -103.734 + "x": -28.52777918824446, + "y": -100.95830487406609 }, { "id": "c5b69cb8-bc3b-433a-9385-52c120f0d806", "type": "point", - "x": 88.313, - "y": -48.187 + "x": 88.08337912410607, + "y": -45.41667143165549 } ], "labels": [], @@ -71,22 +71,22 @@ "id": "a5bfc74b-d9c2-4ac3-917c-a3e8315f21aa", "type": "triangle-link", "selected": false, - "source": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", - "sourcePort": "58606674-b996-4fe5-b7da-8315ae6c7611", - "target": "7926a4d2-f454-4f24-9b2a-31f0d3db61de", - "targetPort": "98d34e82-0ef7-4cc2-baf6-c5dbd8ac03e4", + "source": "736e5298-550c-4cbc-9890-e7f65cb553ae", + "sourcePort": "a834ad77-8e4c-49c8-9afd-ccf25aada816", + "target": "7c6f6a5d-679b-48ce-be82-ada3cd7e7a2a", + "targetPort": "85d21d6e-1a99-4d65-8c9c-8542bf37746f", "points": [ { "id": "aa365fb5-cf1e-497c-a16e-f186089cf07d", "type": "point", - "x": 1487.969, - "y": -32.641 + "x": 1519.2638870014016, + "y": -29.861111517847327 }, { "id": "02067c53-9387-4e4d-888b-ec0e1c611cff", "type": "point", - "x": 1563.797, - "y": -114.297 + "x": 1563.5833325287254, + "y": -111.52778577674802 } ], "labels": [], @@ -99,22 +99,22 @@ "id": "b02d1c23-7045-4516-ab04-557d1f2965f6", "type": "parameter-link", "selected": false, - "source": "5bacf667-c786-4197-8def-8fd1bf6af974", - "sourcePort": "35e86b11-5f60-4461-aee1-8c412d39a698", - "target": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", - "targetPort": "378553ba-fdd7-41bc-a813-e69b66b3b3da", + "source": "102343f1-8f0d-4e79-a76f-8b412bed98f6", + "sourcePort": "0f6f5fb6-f520-47c5-af28-4ec32d185d5b", + "target": "736e5298-550c-4cbc-9890-e7f65cb553ae", + "targetPort": "88476889-5058-4360-8b17-782bb0c5c399", "points": [ { "id": "58fd3311-50d1-43c8-94df-b73313027e20", "type": "point", - "x": 1322.609, - "y": 137.969 + "x": 1328.5416798781653, + "y": 138.1944687067965 }, { "id": "e23f5a4f-d3e1-4640-8ea4-4ee596b05fec", "type": "point", - "x": 1383.031, - "y": 33.359 + "x": 1382.819361957615, + "y": 35.47222708461048 } ], "labels": [], @@ -127,22 +127,22 @@ "id": "8605ba06-b7f8-4ed9-815f-160443d3c45f", "type": "triangle-link", "selected": false, - "source": "e04beb6a-5515-488e-818f-d2573fa74c06", - "sourcePort": "3fc21d02-8c0c-42ca-8d4e-edf8f08fa712", - "target": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", - "targetPort": "a1fa7cae-292d-4438-958d-71883109f840", + "source": "120da1f5-c188-4b6e-abd4-c96a5b14043a", + "sourcePort": "f7d735df-b1fa-41f5-8b93-cc67ba42842e", + "target": "0a37145f-9413-48c7-a922-10e8302e1011", + "targetPort": "f131e27f-9df3-4cad-83de-8f566f97a067", "points": [ { "id": "c06374f3-ac48-408e-a39d-1a8f73aee470", "type": "point", - "x": 213.406, - "y": 270.312 + "x": 245.84727618833665, + "y": 273.09726958989904 }, { "id": "27cb3289-a57c-402b-b792-982ca75c54f9", "type": "point", - "x": 296.375, - "y": 230.828 + "x": 296.1527824767263, + "y": 233.59718902317977 } ], "labels": [], @@ -155,22 +155,22 @@ "id": "64ce1fac-553c-485b-abd4-ced829f96733", "type": "triangle-link", "selected": false, - "source": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", - "sourcePort": "90625f42-b8b9-4f4e-9704-9ddab2eb18f8", - "target": "afd2b697-d932-4f87-8875-2ac53a147e4f", - "targetPort": "4188abf1-f144-40d2-bac8-6e6c37590a93", + "source": "0a37145f-9413-48c7-a922-10e8302e1011", + "sourcePort": "e962688c-e225-4922-9faa-ba3b92693efe", + "target": "cfd50554-4192-4311-87b4-e595ea5a5d88", + "targetPort": "525eba94-6a9b-4592-95d2-6f2db5d017ca", "points": [ { "id": "ae37bc4a-0908-48a2-af2e-979722103468", "type": "point", - "x": 368.156, - "y": 230.828 + "x": 368.97226309463053, + "y": 233.59718902317977 }, { "id": "19797d43-1d89-47a9-947d-b23fa9135c55", "type": "point", - "x": 409.016, - "y": 348.953 + "x": 408.80562370444886, + "y": 351.73612266755526 } ], "labels": [], @@ -183,22 +183,22 @@ "id": "cf16e236-06eb-4666-80b5-f09fefc6db23", "type": "parameter-link", "selected": false, - "source": "e04beb6a-5515-488e-818f-d2573fa74c06", - "sourcePort": "51074411-993f-423f-aea2-e46dfacfdfc4", - "target": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", - "targetPort": "f8839614-37de-497e-b2e0-fdae4ec86d6b", + "source": "120da1f5-c188-4b6e-abd4-c96a5b14043a", + "sourcePort": "e4c476a8-ebc7-408f-90e9-5c98332758c6", + "target": "0a37145f-9413-48c7-a922-10e8302e1011", + "targetPort": "7999dacb-3d6c-4d43-a092-4f1fc8b5e1c4", "points": [ { "id": "edc3a066-eb06-4fc2-abcf-296bb2d07d5c", "type": "point", - "x": 213.406, - "y": 292.313 + "x": 245.84727618833665, + "y": 294.87497107176546 }, { "id": "0343756c-4908-4f26-b999-f4b0d987bcc3", "type": "point", - "x": 296.375, - "y": 252.828 + "x": 296.1527824767263, + "y": 255.375016837097 } ], "labels": [], @@ -211,22 +211,22 @@ "id": "cd65e7d7-ee16-4dcb-98ad-88b5c1daa5cc", "type": "parameter-link", "selected": false, - "source": "e04beb6a-5515-488e-818f-d2573fa74c06", - "sourcePort": "51074411-993f-423f-aea2-e46dfacfdfc4", - "target": "afd2b697-d932-4f87-8875-2ac53a147e4f", - "targetPort": "4e2c338d-1279-4151-b972-bbf17350d6fc", + "source": "120da1f5-c188-4b6e-abd4-c96a5b14043a", + "sourcePort": "e4c476a8-ebc7-408f-90e9-5c98332758c6", + "target": "cfd50554-4192-4311-87b4-e595ea5a5d88", + "targetPort": "612c8f88-a2d1-4184-991d-535cc70e491a", "points": [ { "id": "04a126f0-54fa-4ce7-b20d-18c052040ce0", "type": "point", - "x": 213.406, - "y": 292.313 + "x": 245.84727618833665, + "y": 294.87497107176546 }, { "id": "57c29277-19c5-4b4b-ae8d-28afb529962d", "type": "point", - "x": 409.016, - "y": 370.953 + "x": 408.80562370444886, + "y": 373.5138241494217 } ], "labels": [], @@ -239,22 +239,22 @@ "id": "7b70ca8f-bd1c-4cf5-9e29-14c9088a5a68", "type": "parameter-link", "selected": false, - "source": "03327ae8-c6b3-4c31-8648-56dc97acd9a0", - "sourcePort": "f8875dee-9f2a-48a5-9abd-0d0c30e87f05", - "target": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", - "targetPort": "abb8401d-3ffa-4351-a722-7e1514735956", + "source": "17b827f8-f615-43af-96a2-7a7ba4ed5cb4", + "sourcePort": "525d0cb6-a34f-491b-b1b4-338c5e7d32d4", + "target": "4d3076ea-5d8c-45c1-a276-c88f20201798", + "targetPort": "36ccef55-c3f6-46a3-ae96-070e57510d4e", "points": [ { "id": "72028a7b-0d2a-4a72-90fd-7f138db8e2bd", "type": "point", - "x": 1046.687, - "y": 350.109 + "x": 1046.250024932826, + "y": 350.33335732537967 }, { "id": "d70f4011-feb1-4ad5-a824-268053f27620", "type": "point", - "x": 1102.156, - "y": 264.578 + "x": 1101.9305238528668, + "y": 267.1389029064776 } ], "labels": [], @@ -267,16 +267,16 @@ "id": "e25db0a9-54c8-4399-b9cd-091c2457de81", "type": "triangle-link", "selected": false, - "source": "49709a75-94c8-46bd-a250-ddd40c028524", - "sourcePort": "89b47ba8-fa6e-45df-bbd0-dc4e7187f488", - "target": "0284c457-05fe-4c1c-be1b-c74b177fc353", - "targetPort": "3cd6d35e-8bab-4eb2-8765-c6081a291e30", + "source": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", + "sourcePort": "2ba3ebac-0ecf-4578-9337-77030a679575", + "target": "bde9acd5-535c-4062-9c28-dffb29892afa", + "targetPort": "b3784f62-6068-46ba-bad3-1c8e4e11b482", "points": [ { "id": "7a569f2c-9897-4e6b-aa78-58910ffd10db", "type": "point", - "x": 210.859, - "y": -48.187 + "x": 220.6806184719333, + "y": -45.41667143165549 }, { "id": "bbb3aae0-8b23-4088-b271-6ba104dccda0", @@ -305,8 +305,8 @@ { "id": "e259e553-8580-4532-91ed-206e155a7fd0", "type": "point", - "x": 91.719, - "y": 123.422 + "x": 91.48618843243587, + "y": 126.19446240194932 } ], "labels": [], @@ -319,22 +319,22 @@ "id": "32c9afd9-b320-49ce-9289-06008278d2f7", "type": "parameter-link", "selected": false, - "source": "f5d48ef4-29eb-4823-b568-9ea8a3f9de8d", - "sourcePort": "3cbd59b8-0a56-4c58-9ba2-7a532e1e7bf6", - "target": "0284c457-05fe-4c1c-be1b-c74b177fc353", - "targetPort": "d4d381c1-b4f2-43da-a3f4-2b71a71f5f0e", + "source": "d45a328b-30e5-4f50-8414-3acf05df1085", + "sourcePort": "9382f252-ddcb-4c4a-ac5a-bc60ccfb5d66", + "target": "bde9acd5-535c-4062-9c28-dffb29892afa", + "targetPort": "c31c1f14-080f-4bf8-924e-074c4b4be955", "points": [ { "id": "5f2923b0-9f7b-4ee8-be17-2430e7fde9ef", "type": "point", - "x": -6.891, - "y": 234.094 + "x": -1.3749877105346293, + "y": 234.3194261385921 }, { "id": "fec781d5-8613-4226-9be7-c5924d0e3864", "type": "point", - "x": 91.719, - "y": 145.422 + "x": 91.48618843243587, + "y": 147.97223871745095 } ], "labels": [], @@ -347,22 +347,22 @@ "id": "8019a9d4-7cbc-4e5c-acb3-765230749f22", "type": "triangle-link", "selected": false, - "source": "0284c457-05fe-4c1c-be1b-c74b177fc353", - "sourcePort": "7ac3436a-82e6-4932-b253-dfdf54949b7e", - "target": "e04beb6a-5515-488e-818f-d2573fa74c06", - "targetPort": "642cd91d-024b-4d90-88c0-53a262fb10d0", + "source": "bde9acd5-535c-4062-9c28-dffb29892afa", + "sourcePort": "6922b5fd-62a5-4af0-a8ec-ef0c0807b73d", + "target": "120da1f5-c188-4b6e-abd4-c96a5b14043a", + "targetPort": "92fadc9d-e274-4c80-af3b-2e543094affa", "points": [ { "id": "0e311ddb-ee3e-49d2-8a79-c1a99438d7af", "type": "point", - "x": 250.484, - "y": 145.422 + "x": 285.6944842393086, + "y": 147.97223871745095 }, { "id": "0ec58f5f-2499-460a-852d-d2a403139beb", "type": "point", - "x": 82.172, - "y": 270.312 + "x": 81.94450486141281, + "y": 273.09726958989904 } ], "labels": [], @@ -375,22 +375,22 @@ "id": "6fd9e499-93f3-40aa-a0cd-b0e65f8f3a25", "type": "triangle-link", "selected": false, - "source": "0284c457-05fe-4c1c-be1b-c74b177fc353", - "sourcePort": "d3ad4d6b-562d-4c96-af7f-7b71971f6a6a", - "target": "64e917d5-aa40-478c-8f2f-fe8425019967", - "targetPort": "4800045e-2ac3-4bc9-973a-0b7701e13244", + "source": "bde9acd5-535c-4062-9c28-dffb29892afa", + "sourcePort": "222383eb-0eeb-42c6-9b1a-d38e2975b5ce", + "target": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", + "targetPort": "0f7f71bc-e77e-44d9-81ae-857b1bbec1f2", "points": [ { "id": "f20f5856-509a-403c-a974-8e4e6d419d40", "type": "point", - "x": 250.484, - "y": 123.422 + "x": 285.6944842393086, + "y": 126.19446240194932 }, { "id": "d8a9e5ae-9aaa-4b6e-9890-e54294cf4611", "type": "point", - "x": 857.844, - "y": 125.109 + "x": 857.6249242191836, + "y": 127.88891477000996 } ], "labels": [], @@ -403,22 +403,22 @@ "id": "4af12d99-81ed-4042-8143-ae9fdc395411", "type": "parameter-link", "selected": false, - "source": "8628c869-850a-4639-a015-4b0a814e0387", - "sourcePort": "d8c5ec19-0942-427e-98a6-4653b6ed7f93", - "target": "64e917d5-aa40-478c-8f2f-fe8425019967", - "targetPort": "1e7187e6-d7a9-456c-bddb-be789175a3be", + "source": "da427e9d-e081-497b-ac8f-cb9b22a6fd8b", + "sourcePort": "cbcd00e8-866d-43e5-a9f0-4b92598f8c58", + "target": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", + "targetPort": "46da2f6f-fe05-4e2e-a9ef-1743e40c1bc7", "points": [ { "id": "73dbaca0-4b3d-4cf0-80f0-0e214f5e29d2", "type": "point", - "x": 826.609, - "y": 249.859 + "x": 832.1387703324783, + "y": 250.08330277608908 }, { "id": "8bddde33-4214-4a22-829a-fc16539a497f", "type": "point", - "x": 857.844, - "y": 147.109 + "x": 857.6249242191836, + "y": 149.6666910855116 } ], "labels": [], @@ -431,22 +431,22 @@ "id": "1f76843e-0b81-4e08-ba32-e3ce343e0b25", "type": "triangle-link", "selected": false, - "source": "64e917d5-aa40-478c-8f2f-fe8425019967", - "sourcePort": "a1298342-48bf-4c63-9bec-cfec48f43e90", - "target": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", - "targetPort": "c60d1aad-a38b-49b0-8662-a65e4d4bec29", + "source": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", + "sourcePort": "a8d699bf-4860-4cef-a2ad-9d12569ae5fa", + "target": "4d3076ea-5d8c-45c1-a276-c88f20201798", + "targetPort": "aa0778ff-d78f-47a1-9a91-734b9007a832", "points": [ { "id": "2714299c-8dd8-4ed8-a543-7f7cc8ab77d1", "type": "point", - "x": 1012.328, - "y": 147.109 + "x": 1047.1665816635027, + "y": 149.6666910855116 }, { "id": "19530d46-32ea-47a7-988b-28117d8ebafb", "type": "point", - "x": 1102.156, - "y": 242.578 + "x": 1101.9305238528668, + "y": 245.36107509256036 } ], "labels": [], @@ -459,22 +459,22 @@ "id": "c197a096-eb36-4fe3-9832-dbc993fb9018", "type": "triangle-link", "selected": false, - "source": "64e917d5-aa40-478c-8f2f-fe8425019967", - "sourcePort": "199a869e-da1d-42e3-be35-4bb9aa669f89", - "target": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", - "targetPort": "6589a371-688c-498e-9ff2-297d8a853c5e", + "source": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", + "sourcePort": "5ed1ec33-6e94-403f-a8fa-964713181d89", + "target": "736e5298-550c-4cbc-9890-e7f65cb553ae", + "targetPort": "d5ff9325-66dd-4b6b-b7c9-464d28d1a92d", "points": [ { "id": "adbc031e-711e-461e-b08a-efb85c5ca291", "type": "point", - "x": 1012.328, - "y": 125.109 + "x": 1047.1665816635027, + "y": 127.88891477000996 }, { "id": "1806826f-a0c9-4029-b8d8-687c3be64164", "type": "point", - "x": 1383.031, - "y": -32.641 + "x": 1382.819361957615, + "y": -29.861111517847327 } ], "labels": [], @@ -486,7 +486,7 @@ } }, { - "id": "f004f5dd-f61a-4038-a57f-76502c5171a9", + "id": "8fe08388-2e9d-495a-a5a3-2e3e66b44dca", "type": "diagram-nodes", "isSvg": false, "transformed": true, @@ -506,8 +506,8 @@ "id": "0f1a2a69-6f4f-488f-8a02-a2b88b4e4b6f", "type": "default", "extras": {}, - "x": -75.25, - "y": -114.234, + "x": -38.91663503089402, + "y": -111.34720658249203, "name": "out-0", "alignment": "right", "parentNode": "6bbd3afa-5ad0-4e36-9d3a-fce527612783", @@ -528,26 +528,79 @@ "0f1a2a69-6f4f-488f-8a02-a2b88b4e4b6f" ] }, - "7926a4d2-f454-4f24-9b2a-31f0d3db61de": { - "id": "7926a4d2-f454-4f24-9b2a-31f0d3db61de", + "313cad10-e567-4aca-b0f4-c120ffdb6891": { + "id": "313cad10-e567-4aca-b0f4-c120ffdb6891", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "Finish", - "borderColor": "rgb(0,192,255)" + "type": "comment", + "commentInput": "curl -X POST -H \"Content-Type: application/json\" -d '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:5000/echo\n", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": -40.658, + "y": 425.488, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "67af4029-17cb-46bc-8e8c-86ebbe03c13b": { + "id": "67af4029-17cb-46bc-8e8c-86ebbe03c13b", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "curl http://localhost:5000/greet\n", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": 842.132, + "y": 4.251, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "7bc3bdb9-c693-4e49-b3cf-7e025df5a3ae": { + "id": "7bc3bdb9-c693-4e49-b3cf-7e025df5a3ae", + "type": "custom-node", + "selected": true, + "extras": { + "type": "comment", + "commentInput": "Try running these requests via CLI terminal!", + "tip": "Component could not be loaded from path: `undefined`.\nPlease ensure that the component exists!", + "borderColor": "red" + }, + "x": 393.316, + "y": -174.3, + "ports": [], + "name": "Comment:", + "color": "rgb(255,255,255)", + "portsInOrder": [], + "portsOutOrder": [] + }, + "7c6f6a5d-679b-48ce-be82-ada3cd7e7a2a": { + "id": "7c6f6a5d-679b-48ce-be82-ada3cd7e7a2a", + "type": "custom-node", + "selected": true, + "extras": { + "type": "Finish" }, "x": 1552.311, "y": -148.809, "ports": [ { - "id": "98d34e82-0ef7-4cc2-baf6-c5dbd8ac03e4", + "id": "85d21d6e-1a99-4d65-8c9c-8542bf37746f", "type": "default", "extras": {}, - "x": 1553.297, - "y": -124.797, + "x": 1553.1944766860759, + "y": -121.9166641499544, "name": "in-0", "alignment": "left", - "parentNode": "7926a4d2-f454-4f24-9b2a-31f0d3db61de", + "parentNode": "7c6f6a5d-679b-48ce-be82-ada3cd7e7a2a", "links": [ "a5bfc74b-d9c2-4ac3-917c-a3e8315f21aa" ], @@ -558,14 +611,14 @@ "dataType": "" }, { - "id": "3c28090a-f43f-42b1-a673-ef57b44c9cd0", + "id": "1952aea2-8cf0-40a4-bdd0-183f372e95bd", "type": "default", "extras": {}, - "x": 1553.297, - "y": -102.797, + "x": 1553.1944766860759, + "y": -100.13885967125675, "name": "parameter-dynalist-outputs", "alignment": "left", - "parentNode": "7926a4d2-f454-4f24-9b2a-31f0d3db61de", + "parentNode": "7c6f6a5d-679b-48ce-be82-ada3cd7e7a2a", "links": [], "in": true, "label": "outputs", @@ -582,39 +635,38 @@ "name": "Finish", "color": "rgb(255,102,102)", "portsInOrder": [ - "98d34e82-0ef7-4cc2-baf6-c5dbd8ac03e4", - "3c28090a-f43f-42b1-a673-ef57b44c9cd0" + "85d21d6e-1a99-4d65-8c9c-8542bf37746f", + "1952aea2-8cf0-40a4-bdd0-183f372e95bd" ], "portsOutOrder": [] }, - "49709a75-94c8-46bd-a250-ddd40c028524": { - "id": "49709a75-94c8-46bd-a250-ddd40c028524", + "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5": { + "id": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", - "description": null, + "description": "Initializes a Flask application with optional configurations for static files and secret key.\n\n##### inPorts:\n- name: The name of the Flask application.\n- public_path: The filesystem path to the folder containing static files. Default is 'public'.\n- static_url_path: The URL path at which the static files are accessible. Default is an empty string.\n- secret_key: A secret key used for session management and security. Default is 'opensesame'.", "lineNo": [ { - "lineno": 11, - "end_lineno": 23 + "lineno": 34, + "end_lineno": 65 } - ], - "borderColor": "rgb(0,192,255)" + ] }, "x": 76.815, "y": -82.697, "ports": [ { - "id": "80773a00-43b2-48e9-85b7-8b3922569b46", + "id": "85b0f135-2d2f-4b9c-ac87-e05417ddf5dc", "type": "default", "extras": {}, - "x": 77.813, - "y": -58.687, + "x": 77.69452328145651, + "y": -55.80557314008143, "name": "in-0", "alignment": "left", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [ "ee644f85-07d7-4eab-80e9-53a2c8b578f2" ], @@ -625,14 +677,14 @@ "dataType": "" }, { - "id": "688892e1-ec1b-4242-8476-9a3e0229ee9c", + "id": "ddc1540e-4a87-47e1-bcc8-e65e479f1ec6", "type": "default", "extras": {}, - "x": 77.813, - "y": -36.687, + "x": 77.69452328145651, + "y": -34.02776866138378, "name": "parameter-string-name", "alignment": "left", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [ "21232755-9baf-438e-ae3b-726a8b3d9788" ], @@ -643,14 +695,14 @@ "dataType": "string" }, { - "id": "b6ec4cf8-357f-4e59-b5af-03ba99f0d09a", + "id": "4e155cc1-d4b3-49b5-8d19-d7c59aacee8c", "type": "default", "extras": {}, - "x": 77.813, - "y": -14.687, + "x": 77.69452328145651, + "y": -12.249964182686126, "name": "parameter-string-public_path", "alignment": "left", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [], "in": true, "label": "public_path", @@ -659,14 +711,14 @@ "dataType": "string" }, { - "id": "9953a494-59db-4df8-b063-7f31d3c6dab1", + "id": "99c73499-ff9f-4977-b9c1-b2a3ab44af70", "type": "default", "extras": {}, - "x": 77.813, - "y": 7.312, + "x": 77.69452328145651, + "y": 9.527788797595939, "name": "parameter-string-static_url_path", "alignment": "left", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [], "in": true, "label": "static_url_path", @@ -675,14 +727,14 @@ "dataType": "string" }, { - "id": "1732a467-fd16-4120-a774-f24b8cb89764", + "id": "e8b4758e-c16c-4e6d-b7bd-915208677b49", "type": "default", "extras": {}, - "x": 77.813, - "y": 29.313, + "x": 77.69452328145651, + "y": 31.305541777878005, "name": "parameter-string-secret_key", "alignment": "left", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [], "in": true, "label": "secret_key", @@ -691,14 +743,14 @@ "dataType": "string" }, { - "id": "89b47ba8-fa6e-45df-bbd0-dc4e7187f488", + "id": "2ba3ebac-0ecf-4578-9337-77030a679575", "type": "default", "extras": {}, - "x": 200.359, - "y": -58.687, + "x": 210.29171676350734, + "y": -55.80557314008143, "name": "out-0", "alignment": "right", - "parentNode": "49709a75-94c8-46bd-a250-ddd40c028524", + "parentNode": "2ec3f5e3-770b-48d2-96c3-cbd3eef584d5", "links": [ "e25db0a9-54c8-4399-b9cd-091c2457de81" ], @@ -710,37 +762,38 @@ } ], "name": "FlaskCreateApp", - "color": "rgb(153,204,204)", + "color": "rgb(255,204,0)", "portsInOrder": [ - "80773a00-43b2-48e9-85b7-8b3922569b46", - "688892e1-ec1b-4242-8476-9a3e0229ee9c", - "b6ec4cf8-357f-4e59-b5af-03ba99f0d09a", - "9953a494-59db-4df8-b063-7f31d3c6dab1", - "1732a467-fd16-4120-a774-f24b8cb89764" + "85b0f135-2d2f-4b9c-ac87-e05417ddf5dc", + "ddc1540e-4a87-47e1-bcc8-e65e479f1ec6", + "4e155cc1-d4b3-49b5-8d19-d7c59aacee8c", + "99c73499-ff9f-4977-b9c1-b2a3ab44af70", + "e8b4758e-c16c-4e6d-b7bd-915208677b49" ], "portsOutOrder": [ - "89b47ba8-fa6e-45df-bbd0-dc4e7187f488" + "2ba3ebac-0ecf-4578-9337-77030a679575" ] }, - "7d92c8a9-a383-4691-ba29-3e2a830e9740": { - "id": "7d92c8a9-a383-4691-ba29-3e2a830e9740", + "1edd187b-796d-4dd1-b489-31f5633767ba": { + "id": "1edd187b-796d-4dd1-b489-31f5633767ba", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "string" + "type": "string", + "attached": false }, "x": -95.168, "y": -15.091, "ports": [ { - "id": "e474fa83-5394-444d-a55b-27d5cfd65638", + "id": "d1ff94ad-5f94-4eda-ae1c-4c0590eade05", "type": "default", "extras": {}, - "x": 18.781, - "y": 8.922, + "x": 18.54169219204313, + "y": 9.250006343919402, "name": "out-0", "alignment": "right", - "parentNode": "7d92c8a9-a383-4691-ba29-3e2a830e9740", + "parentNode": "1edd187b-796d-4dd1-b489-31f5633767ba", "links": [ "21232755-9baf-438e-ae3b-726a8b3d9788" ], @@ -748,45 +801,43 @@ "label": "demo_flask_server", "varName": "demo_flask_server", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "e474fa83-5394-444d-a55b-27d5cfd65638" + "d1ff94ad-5f94-4eda-ae1c-4c0590eade05" ] }, - "48a6d53c-8bb7-42f8-b79c-00f329a3487e": { - "id": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "736e5298-550c-4cbc-9890-e7f65cb553ae": { + "id": "736e5298-550c-4cbc-9890-e7f65cb553ae", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", - "description": null, + "description": "Starts the Flask Server\n\n ", "lineNo": [ { - "lineno": 112, - "end_lineno": 124 + "lineno": 69, + "end_lineno": 92 } - ], - "borderColor": "rgb(0,192,255)", - "nextNode": "None" + ] }, "x": 1371.544, "y": -67.149, "ports": [ { - "id": "6589a371-688c-498e-9ff2-297d8a853c5e", + "id": "d5ff9325-66dd-4b6b-b7c9-464d28d1a92d", "type": "default", "extras": {}, - "x": 1372.531, - "y": -43.141, + "x": 1372.4305061149653, + "y": -40.250013226273275, "name": "in-0", "alignment": "left", - "parentNode": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "parentNode": "736e5298-550c-4cbc-9890-e7f65cb553ae", "links": [ "c197a096-eb36-4fe3-9832-dbc993fb9018" ], @@ -797,14 +848,14 @@ "dataType": "" }, { - "id": "96e0898d-cdeb-4865-9043-013f45270f06", + "id": "d4284c68-e21c-43ad-ba22-25ef8a103af5", "type": "default", "extras": {}, - "x": 1372.531, - "y": -21.141, + "x": 1372.4305061149653, + "y": -18.472208747575625, "name": "parameter-boolean-debug", "alignment": "left", - "parentNode": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "parentNode": "736e5298-550c-4cbc-9890-e7f65cb553ae", "links": [], "in": true, "label": "debug", @@ -813,14 +864,14 @@ "dataType": "boolean" }, { - "id": "abe6e47a-6a3c-429f-a1e0-ddf00d4742be", + "id": "81f0f37c-35c9-4491-9a9b-ad113ae6610f", "type": "default", "extras": {}, - "x": 1372.531, - "y": 0.859, + "x": 1372.4305061149653, + "y": 3.3055442327064424, "name": "parameter-string-host", "alignment": "left", - "parentNode": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "parentNode": "736e5298-550c-4cbc-9890-e7f65cb553ae", "links": [], "in": true, "label": "host", @@ -829,14 +880,14 @@ "dataType": "string" }, { - "id": "378553ba-fdd7-41bc-a813-e69b66b3b3da", + "id": "88476889-5058-4360-8b17-782bb0c5c399", "type": "default", "extras": {}, - "x": 1372.531, - "y": 22.859, + "x": 1372.4305061149653, + "y": 25.083348711404096, "name": "parameter-int-port", "alignment": "left", - "parentNode": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "parentNode": "736e5298-550c-4cbc-9890-e7f65cb553ae", "links": [ "b02d1c23-7045-4516-ab04-557d1f2965f6" ], @@ -847,14 +898,14 @@ "dataType": "int" }, { - "id": "58606674-b996-4fe5-b7da-8315ae6c7611", + "id": "a834ad77-8e4c-49c8-9afd-ccf25aada816", "type": "default", "extras": {}, - "x": 1477.469, - "y": -43.141, + "x": 1508.8749402318622, + "y": -40.250013226273275, "name": "out-0", "alignment": "right", - "parentNode": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", + "parentNode": "736e5298-550c-4cbc-9890-e7f65cb553ae", "links": [ "a5bfc74b-d9c2-4ac3-917c-a3e8315f21aa" ], @@ -866,48 +917,44 @@ } ], "name": "FlaskStartServer", - "color": "rgb(192,255,0)", + "color": "rgb(204,204,204)", "portsInOrder": [ - "6589a371-688c-498e-9ff2-297d8a853c5e", - "96e0898d-cdeb-4865-9043-013f45270f06", - "abe6e47a-6a3c-429f-a1e0-ddf00d4742be", - "378553ba-fdd7-41bc-a813-e69b66b3b3da" + "d5ff9325-66dd-4b6b-b7c9-464d28d1a92d", + "d4284c68-e21c-43ad-ba22-25ef8a103af5", + "81f0f37c-35c9-4491-9a9b-ad113ae6610f", + "88476889-5058-4360-8b17-782bb0c5c399" ], "portsOutOrder": [ - "58606674-b996-4fe5-b7da-8315ae6c7611" + "a834ad77-8e4c-49c8-9afd-ccf25aada816" ] }, - "afd2b697-d932-4f87-8875-2ac53a147e4f": { - "id": "afd2b697-d932-4f87-8875-2ac53a147e4f", + "cfd50554-4192-4311-87b4-e595ea5a5d88": { + "id": "cfd50554-4192-4311-87b4-e595ea5a5d88", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Sets a string response for a Flask route in the ctx.\n\n##### inPorts:\n- response: The string to be returned as the response.", "lineNo": [ { - "lineno": 126, - "end_lineno": 136 + "lineno": 263, + "end_lineno": 273 } - ], - "borderColor": "rgb(0,192,255)", - "sourceBranchId": "6ee8c9e3-8cee-4212-aa5d-fcea31f56fc9", - "portId": "36f2fce4-7e8d-4d50-826d-f9901d270814", - "nextNode": "None" + ] }, "x": 397.529, "y": 314.468, "ports": [ { - "id": "4188abf1-f144-40d2-bac8-6e6c37590a93", + "id": "525eba94-6a9b-4592-95d2-6f2db5d017ca", "type": "default", "extras": {}, - "x": 398.516, - "y": 338.453, + "x": 398.41676786179926, + "y": 341.3472209591293, "name": "in-0", "alignment": "left", - "parentNode": "afd2b697-d932-4f87-8875-2ac53a147e4f", + "parentNode": "cfd50554-4192-4311-87b4-e595ea5a5d88", "links": [ "64ce1fac-553c-485b-abd4-ced829f96733" ], @@ -918,14 +965,14 @@ "dataType": "" }, { - "id": "4e2c338d-1279-4151-b972-bbf17350d6fc", + "id": "612c8f88-a2d1-4184-991d-535cc70e491a", "type": "default", "extras": {}, - "x": 398.516, - "y": 360.453, + "x": 398.41676786179926, + "y": 363.12492244099576, "name": "parameter-string-response", "alignment": "left", - "parentNode": "afd2b697-d932-4f87-8875-2ac53a147e4f", + "parentNode": "cfd50554-4192-4311-87b4-e595ea5a5d88", "links": [ "cd65e7d7-ee16-4dcb-98ad-88b5c1daa5cc" ], @@ -936,14 +983,14 @@ "dataType": "string" }, { - "id": "7350b15a-6528-4245-ba0b-f274ce1066c4", + "id": "816a2a99-0bd9-4319-b262-7fd401a3db87", "type": "default", "extras": {}, - "x": 559.094, - "y": 338.453, + "x": 594.0416362188641, + "y": 341.3472209591293, "name": "out-0", "alignment": "right", - "parentNode": "afd2b697-d932-4f87-8875-2ac53a147e4f", + "parentNode": "cfd50554-4192-4311-87b4-e595ea5a5d88", "links": [], "in": false, "label": "▶", @@ -953,34 +1000,35 @@ } ], "name": "FlaskReturnStringResponse", - "color": "rgb(102,102,102)", + "color": "red", "portsInOrder": [ - "4188abf1-f144-40d2-bac8-6e6c37590a93", - "4e2c338d-1279-4151-b972-bbf17350d6fc" + "525eba94-6a9b-4592-95d2-6f2db5d017ca", + "612c8f88-a2d1-4184-991d-535cc70e491a" ], "portsOutOrder": [ - "7350b15a-6528-4245-ba0b-f274ce1066c4" + "816a2a99-0bd9-4319-b262-7fd401a3db87" ] }, - "5bacf667-c786-4197-8def-8fd1bf6af974": { - "id": "5bacf667-c786-4197-8def-8fd1bf6af974", + "102343f1-8f0d-4e79-a76f-8b412bed98f6": { + "id": "102343f1-8f0d-4e79-a76f-8b412bed98f6", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "int" + "type": "int", + "attached": false }, "x": 1254.857, "y": 103.481, "ports": [ { - "id": "35e86b11-5f60-4461-aee1-8c412d39a698", + "id": "0f6f5fb6-f520-47c5-af28-4ec32d185d5b", "type": "default", "extras": {}, - "x": 1312.109, - "y": 127.469, + "x": 1318.1528240355156, + "y": 127.80559033359012, "name": "out-0", "alignment": "right", - "parentNode": "5bacf667-c786-4197-8def-8fd1bf6af974", + "parentNode": "102343f1-8f0d-4e79-a76f-8b412bed98f6", "links": [ "b02d1c23-7045-4516-ab04-557d1f2965f6" ], @@ -988,46 +1036,43 @@ "label": "5000", "varName": "5000", "portType": "", - "dataType": "" + "dataType": "int" } ], "name": "Literal Integer", "color": "blue", "portsInOrder": [], "portsOutOrder": [ - "35e86b11-5f60-4461-aee1-8c412d39a698" + "0f6f5fb6-f520-47c5-af28-4ec32d185d5b" ] }, - "e04beb6a-5515-488e-818f-d2573fa74c06": { - "id": "e04beb6a-5515-488e-818f-d2573fa74c06", + "120da1f5-c188-4b6e-abd4-c96a5b14043a": { + "id": "120da1f5-c188-4b6e-abd4-c96a5b14043a", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Retrieves JSON data from a request payload in a Flask application.\n\n##### outPorts:\n- value: The JSON data parsed from the request payload.", "lineNo": [ { - "lineno": 332, - "end_lineno": 342 + "lineno": 355, + "end_lineno": 365 } - ], - "borderColor": "rgb(0,192,255)", - "sourceBranchId": "0284c457-05fe-4c1c-be1b-c74b177fc353", - "portId": "7ac3436a-82e6-4932-b253-dfdf54949b7e" + ] }, "x": 70.673, "y": 235.827, "ports": [ { - "id": "642cd91d-024b-4d90-88c0-53a262fb10d0", + "id": "92fadc9d-e274-4c80-af3b-2e543094affa", "type": "default", "extras": {}, - "x": 71.672, - "y": 259.812, + "x": 71.55560315298686, + "y": 262.70836788147307, "name": "in-0", "alignment": "left", - "parentNode": "e04beb6a-5515-488e-818f-d2573fa74c06", + "parentNode": "120da1f5-c188-4b6e-abd4-c96a5b14043a", "links": [ "8019a9d4-7cbc-4e5c-acb3-765230749f22" ], @@ -1038,14 +1083,14 @@ "dataType": "" }, { - "id": "3fc21d02-8c0c-42ca-8d4e-edf8f08fa712", + "id": "f7d735df-b1fa-41f5-8b93-cc67ba42842e", "type": "default", "extras": {}, - "x": 202.906, - "y": 259.812, + "x": 235.4583744799107, + "y": 262.70836788147307, "name": "out-0", "alignment": "right", - "parentNode": "e04beb6a-5515-488e-818f-d2573fa74c06", + "parentNode": "120da1f5-c188-4b6e-abd4-c96a5b14043a", "links": [ "8605ba06-b7f8-4ed9-815f-160443d3c45f" ], @@ -1056,14 +1101,14 @@ "dataType": "" }, { - "id": "51074411-993f-423f-aea2-e46dfacfdfc4", + "id": "e4c476a8-ebc7-408f-90e9-5c98332758c6", "type": "default", "extras": {}, - "x": 202.906, - "y": 281.812, + "x": 235.4583744799107, + "y": 284.48606936333954, "name": "parameter-out-any-value", "alignment": "right", - "parentNode": "e04beb6a-5515-488e-818f-d2573fa74c06", + "parentNode": "120da1f5-c188-4b6e-abd4-c96a5b14043a", "links": [ "cf16e236-06eb-4666-80b5-f09fefc6db23", "cd65e7d7-ee16-4dcb-98ad-88b5c1daa5cc" @@ -1072,48 +1117,46 @@ "label": "value", "varName": "value", "portType": "", - "dataType": "" + "dataType": "any" } ], "name": "FlaskGetRequestJson", - "color": "rgb(255,204,0)", + "color": "rgb(255,153,0)", "portsInOrder": [ - "642cd91d-024b-4d90-88c0-53a262fb10d0" + "92fadc9d-e274-4c80-af3b-2e543094affa" ], "portsOutOrder": [ - "3fc21d02-8c0c-42ca-8d4e-edf8f08fa712", - "51074411-993f-423f-aea2-e46dfacfdfc4" + "f7d735df-b1fa-41f5-8b93-cc67ba42842e", + "e4c476a8-ebc7-408f-90e9-5c98332758c6" ] }, - "ab876dfe-3684-4718-bf4d-e57ecb2b682a": { - "id": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", + "0a37145f-9413-48c7-a922-10e8302e1011": { + "id": "0a37145f-9413-48c7-a922-10e8302e1011", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_utils/utils.py", - "description": null, + "description": "Prints a message to the console.\n\n##### inPorts:\n- msg (any): The message to be printed.", "lineNo": [ { - "lineno": 9, - "end_lineno": 13 + "lineno": 52, + "end_lineno": 61 } - ], - "borderColor": "rgb(0,192,255)", - "nextNode": "None" + ] }, "x": 284.887, "y": 196.329, "ports": [ { - "id": "a1fa7cae-292d-4438-958d-71883109f840", + "id": "f131e27f-9df3-4cad-83de-8f566f97a067", "type": "default", "extras": {}, - "x": 285.875, - "y": 220.328, + "x": 285.7638807683004, + "y": 223.20831064997338, "name": "in-0", "alignment": "left", - "parentNode": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", + "parentNode": "0a37145f-9413-48c7-a922-10e8302e1011", "links": [ "8605ba06-b7f8-4ed9-815f-160443d3c45f" ], @@ -1124,14 +1167,14 @@ "dataType": "" }, { - "id": "f8839614-37de-497e-b2e0-fdae4ec86d6b", + "id": "7999dacb-3d6c-4d43-a092-4f1fc8b5e1c4", "type": "default", "extras": {}, - "x": 285.875, - "y": 242.328, + "x": 285.7638807683004, + "y": 244.98611512867106, "name": "parameter-any-msg", "alignment": "left", - "parentNode": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", + "parentNode": "0a37145f-9413-48c7-a922-10e8302e1011", "links": [ "cf16e236-06eb-4666-80b5-f09fefc6db23" ], @@ -1142,14 +1185,14 @@ "dataType": "any" }, { - "id": "90625f42-b8b9-4f4e-9704-9ddab2eb18f8", + "id": "e962688c-e225-4922-9faa-ba3b92693efe", "type": "default", "extras": {}, - "x": 357.656, - "y": 220.328, + "x": 358.58336138620456, + "y": 223.20831064997338, "name": "out-0", "alignment": "right", - "parentNode": "ab876dfe-3684-4718-bf4d-e57ecb2b682a", + "parentNode": "0a37145f-9413-48c7-a922-10e8302e1011", "links": [ "64ce1fac-553c-485b-abd4-ced829f96733" ], @@ -1161,35 +1204,35 @@ } ], "name": "Print", - "color": "rgb(102,102,102)", + "color": "rgb(153,204,51)", "portsInOrder": [ - "a1fa7cae-292d-4438-958d-71883109f840", - "f8839614-37de-497e-b2e0-fdae4ec86d6b" + "f131e27f-9df3-4cad-83de-8f566f97a067", + "7999dacb-3d6c-4d43-a092-4f1fc8b5e1c4" ], "portsOutOrder": [ - "90625f42-b8b9-4f4e-9704-9ddab2eb18f8" + "e962688c-e225-4922-9faa-ba3b92693efe" ] }, - "8628c869-850a-4639-a015-4b0a814e0387": { - "id": "8628c869-850a-4639-a015-4b0a814e0387", + "da427e9d-e081-497b-ac8f-cb9b22a6fd8b": { + "id": "da427e9d-e081-497b-ac8f-cb9b22a6fd8b", "type": "custom-node", - "selected": false, + "selected": true, "extras": { "type": "string", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": 764.353, "y": 215.372, "ports": [ { - "id": "d8c5ec19-0942-427e-98a6-4653b6ed7f93", + "id": "cbcd00e8-866d-43e5-a9f0-4b92598f8c58", "type": "default", "extras": {}, - "x": 816.109, - "y": 239.359, + "x": 821.7499144898287, + "y": 239.6944469334395, "name": "out-0", "alignment": "right", - "parentNode": "8628c869-850a-4639-a015-4b0a814e0387", + "parentNode": "da427e9d-e081-497b-ac8f-cb9b22a6fd8b", "links": [ "4af12d99-81ed-4042-8143-ae9fdc395411" ], @@ -1197,36 +1240,36 @@ "label": "/greet", "varName": "/greet", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "d8c5ec19-0942-427e-98a6-4653b6ed7f93" + "cbcd00e8-866d-43e5-a9f0-4b92598f8c58" ] }, - "f5d48ef4-29eb-4823-b568-9ea8a3f9de8d": { - "id": "f5d48ef4-29eb-4823-b568-9ea8a3f9de8d", + "d45a328b-30e5-4f50-8414-3acf05df1085": { + "id": "d45a328b-30e5-4f50-8414-3acf05df1085", "type": "custom-node", - "selected": false, + "selected": true, "extras": { "type": "string", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": -69.161, "y": 199.603, "ports": [ { - "id": "3cbd59b8-0a56-4c58-9ba2-7a532e1e7bf6", + "id": "9382f252-ddcb-4c4a-ac5a-bc60ccfb5d66", "type": "default", "extras": {}, - "x": -17.391, - "y": 223.594, + "x": -11.763889418960575, + "y": 223.93052443016614, "name": "out-0", "alignment": "right", - "parentNode": "f5d48ef4-29eb-4823-b568-9ea8a3f9de8d", + "parentNode": "d45a328b-30e5-4f50-8414-3acf05df1085", "links": [ "32c9afd9-b320-49ce-9289-06008278d2f7" ], @@ -1234,68 +1277,36 @@ "label": "/echo", "varName": "/echo", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "3cbd59b8-0a56-4c58-9ba2-7a532e1e7bf6" + "9382f252-ddcb-4c4a-ac5a-bc60ccfb5d66" ] }, - "313cad10-e567-4aca-b0f4-c120ffdb6891": { - "id": "313cad10-e567-4aca-b0f4-c120ffdb6891", + "17b827f8-f615-43af-96a2-7a7ba4ed5cb4": { + "id": "17b827f8-f615-43af-96a2-7a7ba4ed5cb4", "type": "custom-node", - "selected": false, - "extras": { - "type": "comment", - "commentInput": "curl -X POST -H \"Content-Type: application/json\" -d '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:5000/echo\n" - }, - "x": -40.658, - "y": 425.488, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "67af4029-17cb-46bc-8e8c-86ebbe03c13b": { - "id": "67af4029-17cb-46bc-8e8c-86ebbe03c13b", - "type": "custom-node", - "selected": false, - "extras": { - "type": "comment", - "commentInput": "curl http://localhost:5000/greet\n" - }, - "x": 842.132, - "y": 4.251, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "03327ae8-c6b3-4c31-8648-56dc97acd9a0": { - "id": "03327ae8-c6b3-4c31-8648-56dc97acd9a0", - "type": "custom-node", - "selected": false, + "selected": true, "extras": { "type": "string", - "borderColor": "rgb(0,192,255)" + "attached": false }, "x": 848.284, "y": 315.624, "ports": [ { - "id": "f8875dee-9f2a-48a5-9abd-0d0c30e87f05", + "id": "525d0cb6-a34f-491b-b1b4-338c5e7d32d4", "type": "default", "extras": {}, - "x": 1036.187, - "y": 339.609, + "x": 1035.8611690901762, + "y": 339.9444556169537, "name": "out-0", "alignment": "right", - "parentNode": "03327ae8-c6b3-4c31-8648-56dc97acd9a0", + "parentNode": "17b827f8-f615-43af-96a2-7a7ba4ed5cb4", "links": [ "7b70ca8f-bd1c-4cf5-9e29-14c9088a5a68" ], @@ -1303,47 +1314,43 @@ "label": "Hello from Xircuits Flask endpoint!", "varName": "Hello from Xircuits Flask endpoint!", "portType": "", - "dataType": "" + "dataType": "string" } ], "name": "Literal String", "color": "lightpink", "portsInOrder": [], "portsOutOrder": [ - "f8875dee-9f2a-48a5-9abd-0d0c30e87f05" + "525d0cb6-a34f-491b-b1b4-338c5e7d32d4" ] }, - "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4": { - "id": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", + "4d3076ea-5d8c-45c1-a276-c88f20201798": { + "id": "4d3076ea-5d8c-45c1-a276-c88f20201798", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Sets a JSON response for a Flask route in the ctx.\n\n##### inPorts:\n- response: The data to be returned as a JSON response.", "lineNo": [ { - "lineno": 139, - "end_lineno": 149 + "lineno": 277, + "end_lineno": 287 } - ], - "borderColor": "rgb(0,192,255)", - "sourceBranchId": "64e917d5-aa40-478c-8f2f-fe8425019967", - "portId": "a1298342-48bf-4c63-9bec-cfec48f43e90", - "nextNode": "None" + ] }, "x": 1090.657, "y": 208.092, "ports": [ { - "id": "c60d1aad-a38b-49b0-8662-a65e4d4bec29", + "id": "aa0778ff-d78f-47a1-9a91-734b9007a832", "type": "default", "extras": {}, - "x": 1091.656, - "y": 232.078, + "x": 1091.5416680102173, + "y": 234.97219671935397, "name": "in-0", "alignment": "left", - "parentNode": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", + "parentNode": "4d3076ea-5d8c-45c1-a276-c88f20201798", "links": [ "1f76843e-0b81-4e08-ba32-e3ce343e0b25" ], @@ -1354,14 +1361,14 @@ "dataType": "" }, { - "id": "abb8401d-3ffa-4351-a722-7e1514735956", + "id": "36ccef55-c3f6-46a3-ae96-070e57510d4e", "type": "default", "extras": {}, - "x": 1091.656, - "y": 254.078, + "x": 1091.5416680102173, + "y": 256.7500011980516, "name": "parameter-any-response", "alignment": "left", - "parentNode": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", + "parentNode": "4d3076ea-5d8c-45c1-a276-c88f20201798", "links": [ "7b70ca8f-bd1c-4cf5-9e29-14c9088a5a68" ], @@ -1372,14 +1379,14 @@ "dataType": "any" }, { - "id": "7bdf8110-6b96-46f1-8f33-d3bcfc360fad", + "id": "47cd846e-6c9c-4832-b565-53ccb2331977", "type": "default", "extras": {}, - "x": 1252.828, - "y": 232.078, + "x": 1286.9721813468566, + "y": 234.97219671935397, "name": "out-0", "alignment": "right", - "parentNode": "d341bc43-53b7-4dd6-be7a-cfcb2cb332b4", + "parentNode": "4d3076ea-5d8c-45c1-a276-c88f20201798", "links": [], "in": false, "label": "▶", @@ -1389,37 +1396,21 @@ } ], "name": "FlaskReturnJSONResponse", - "color": "rgb(255,102,0)", + "color": "red", "portsInOrder": [ - "c60d1aad-a38b-49b0-8662-a65e4d4bec29", - "abb8401d-3ffa-4351-a722-7e1514735956" + "aa0778ff-d78f-47a1-9a91-734b9007a832", + "36ccef55-c3f6-46a3-ae96-070e57510d4e" ], "portsOutOrder": [ - "7bdf8110-6b96-46f1-8f33-d3bcfc360fad" + "47cd846e-6c9c-4832-b565-53ccb2331977" ] }, - "7bc3bdb9-c693-4e49-b3cf-7e025df5a3ae": { - "id": "7bc3bdb9-c693-4e49-b3cf-7e025df5a3ae", - "type": "custom-node", - "selected": false, - "extras": { - "type": "comment", - "commentInput": "Try running these requests via CLI terminal!" - }, - "x": 393.316, - "y": -174.3, - "ports": [], - "name": "Comment:", - "color": "rgb(255,255,255)", - "portsInOrder": [], - "portsOutOrder": [] - }, - "0284c457-05fe-4c1c-be1b-c74b177fc353": { - "id": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "bde9acd5-535c-4062-9c28-dffb29892afa": { + "id": "bde9acd5-535c-4062-9c28-dffb29892afa", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Defines a POST route for a Flask application, linking it to a sequence of actions.\n\n##### inPorts:\n- route: The URL path for the POST route.\n\n##### Branch:\n- body: The first component to be executed when the POST route is accessed.\n- parameters: The path parameters", "lineNo": [ @@ -1427,23 +1418,20 @@ "lineno": 195, "end_lineno": 216 } - ], - "borderColor": "rgb(0,192,255)", - "finishNodeId": "64e917d5-aa40-478c-8f2f-fe8425019967", - "isBranchNode": true + ] }, "x": 80.222, "y": 88.925, "ports": [ { - "id": "3cd6d35e-8bab-4eb2-8765-c6081a291e30", + "id": "b3784f62-6068-46ba-bad3-1c8e4e11b482", "type": "default", "extras": {}, - "x": 81.219, - "y": 112.922, + "x": 81.0973325897863, + "y": 115.80558402874293, "name": "in-0", "alignment": "left", - "parentNode": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "parentNode": "bde9acd5-535c-4062-9c28-dffb29892afa", "links": [ "e25db0a9-54c8-4399-b9cd-091c2457de81" ], @@ -1454,14 +1442,14 @@ "dataType": "" }, { - "id": "d4d381c1-b4f2-43da-a3f4-2b71a71f5f0e", + "id": "c31c1f14-080f-4bf8-924e-074c4b4be955", "type": "default", "extras": {}, - "x": 81.219, - "y": 134.922, + "x": 81.0973325897863, + "y": 137.583337009025, "name": "parameter-string-route", "alignment": "left", - "parentNode": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "parentNode": "bde9acd5-535c-4062-9c28-dffb29892afa", "links": [ "32c9afd9-b320-49ce-9289-06008278d2f7" ], @@ -1472,14 +1460,14 @@ "dataType": "string" }, { - "id": "d3ad4d6b-562d-4c96-af7f-7b71971f6a6a", + "id": "222383eb-0eeb-42c6-9b1a-d38e2975b5ce", "type": "default", "extras": {}, - "x": 239.984, - "y": 112.922, + "x": 275.30558253088265, + "y": 115.80558402874293, "name": "out-0", "alignment": "right", - "parentNode": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "parentNode": "bde9acd5-535c-4062-9c28-dffb29892afa", "links": [ "6fd9e499-93f3-40aa-a0cd-b0e65f8f3a25" ], @@ -1490,14 +1478,14 @@ "dataType": "" }, { - "id": "7ac3436a-82e6-4932-b253-dfdf54949b7e", + "id": "6922b5fd-62a5-4af0-a8ec-ef0c0807b73d", "type": "default", "extras": {}, - "x": 239.984, - "y": 134.922, + "x": 275.30558253088265, + "y": 137.583337009025, "name": "out-flow-body", "alignment": "right", - "parentNode": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "parentNode": "bde9acd5-535c-4062-9c28-dffb29892afa", "links": [ "8019a9d4-7cbc-4e5c-acb3-765230749f22" ], @@ -1508,40 +1496,40 @@ "dataType": "" }, { - "id": "77fb051a-2b56-4627-b9e4-0d092eee13da", + "id": "b91c2096-2b3d-4c2e-8e82-81f3c70ef69d", "type": "default", "extras": {}, - "x": 239.984, - "y": 156.922, + "x": 275.30558253088265, + "y": 159.36108998930706, "name": "parameter-out-dict-parameters", "alignment": "right", - "parentNode": "0284c457-05fe-4c1c-be1b-c74b177fc353", + "parentNode": "bde9acd5-535c-4062-9c28-dffb29892afa", "links": [], "in": false, "label": "parameters", "varName": "parameters", "portType": "", - "dataType": "" + "dataType": "dict" } ], "name": "FlaskInlineDefinePostRoute", - "color": "rgb(153,204,51)", + "color": "rgb(255,102,0)", "portsInOrder": [ - "3cd6d35e-8bab-4eb2-8765-c6081a291e30", - "d4d381c1-b4f2-43da-a3f4-2b71a71f5f0e" + "b3784f62-6068-46ba-bad3-1c8e4e11b482", + "c31c1f14-080f-4bf8-924e-074c4b4be955" ], "portsOutOrder": [ - "d3ad4d6b-562d-4c96-af7f-7b71971f6a6a", - "7ac3436a-82e6-4932-b253-dfdf54949b7e", - "77fb051a-2b56-4627-b9e4-0d092eee13da" + "222383eb-0eeb-42c6-9b1a-d38e2975b5ce", + "6922b5fd-62a5-4af0-a8ec-ef0c0807b73d", + "b91c2096-2b3d-4c2e-8e82-81f3c70ef69d" ] }, - "64e917d5-aa40-478c-8f2f-fe8425019967": { - "id": "64e917d5-aa40-478c-8f2f-fe8425019967", + "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5": { + "id": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "type": "custom-node", - "selected": false, + "selected": true, "extras": { - "type": "debug", + "type": "library_component", "path": "xai_components/xai_flask/flask_components.py", "description": "Defines a GET route for a Flask application, linking it to a sequence of actions.\n\n##### inPorts:\n- route: The URL path for the GET route.\n\n##### Branch:\n- body: The first component to be executed when the GET route is accessed.\n- parameters: The path parameters", "lineNo": [ @@ -1549,23 +1537,20 @@ "lineno": 170, "end_lineno": 191 } - ], - "borderColor": "rgb(0,192,255)", - "finishNodeId": "48a6d53c-8bb7-42f8-b79c-00f329a3487e", - "isBranchNode": true + ] }, "x": 846.348, "y": 90.613, "ports": [ { - "id": "4800045e-2ac3-4bc9-973a-0b7701e13244", + "id": "0f7f71bc-e77e-44d9-81ae-857b1bbec1f2", "type": "default", "extras": {}, - "x": 847.344, - "y": 114.609, + "x": 847.2360683765341, + "y": 117.50003639680357, "name": "in-0", "alignment": "left", - "parentNode": "64e917d5-aa40-478c-8f2f-fe8425019967", + "parentNode": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "links": [ "6fd9e499-93f3-40aa-a0cd-b0e65f8f3a25" ], @@ -1576,14 +1561,14 @@ "dataType": "" }, { - "id": "1e7187e6-d7a9-456c-bddb-be789175a3be", + "id": "46da2f6f-fe05-4e2e-a9ef-1743e40c1bc7", "type": "default", "extras": {}, - "x": 847.344, - "y": 136.609, + "x": 847.2360683765341, + "y": 139.27778937708564, "name": "parameter-string-route", "alignment": "left", - "parentNode": "64e917d5-aa40-478c-8f2f-fe8425019967", + "parentNode": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "links": [ "4af12d99-81ed-4042-8143-ae9fdc395411" ], @@ -1594,14 +1579,14 @@ "dataType": "string" }, { - "id": "199a869e-da1d-42e3-be35-4bb9aa669f89", + "id": "5ed1ec33-6e94-403f-a8fa-964713181d89", "type": "default", "extras": {}, - "x": 1001.828, - "y": 114.609, + "x": 1036.7776348939633, + "y": 117.50003639680357, "name": "out-0", "alignment": "right", - "parentNode": "64e917d5-aa40-478c-8f2f-fe8425019967", + "parentNode": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "links": [ "c197a096-eb36-4fe3-9832-dbc993fb9018" ], @@ -1612,14 +1597,14 @@ "dataType": "" }, { - "id": "a1298342-48bf-4c63-9bec-cfec48f43e90", + "id": "a8d699bf-4860-4cef-a2ad-9d12569ae5fa", "type": "default", "extras": {}, - "x": 1001.828, - "y": 136.609, + "x": 1036.7776348939633, + "y": 139.27778937708564, "name": "out-flow-body", "alignment": "right", - "parentNode": "64e917d5-aa40-478c-8f2f-fe8425019967", + "parentNode": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "links": [ "1f76843e-0b81-4e08-ba32-e3ce343e0b25" ], @@ -1630,32 +1615,32 @@ "dataType": "" }, { - "id": "dfee8b73-0ec6-4bcf-b602-d1269eb02c17", + "id": "e88cf5b1-2567-4162-a408-98cff660351a", "type": "default", "extras": {}, - "x": 1001.828, - "y": 158.609, + "x": 1036.7776348939633, + "y": 161.0555423573677, "name": "parameter-out-dict-parameters", "alignment": "right", - "parentNode": "64e917d5-aa40-478c-8f2f-fe8425019967", + "parentNode": "2f0cb02f-aee4-4a78-b7d7-60bd77f72dd5", "links": [], "in": false, "label": "parameters", "varName": "parameters", "portType": "", - "dataType": "" + "dataType": "dict" } ], "name": "FlaskInlineDefineGetRoute", - "color": "rgb(255,204,204)", + "color": "rgb(102,102,102)", "portsInOrder": [ - "4800045e-2ac3-4bc9-973a-0b7701e13244", - "1e7187e6-d7a9-456c-bddb-be789175a3be" + "0f7f71bc-e77e-44d9-81ae-857b1bbec1f2", + "46da2f6f-fe05-4e2e-a9ef-1743e40c1bc7" ], "portsOutOrder": [ - "199a869e-da1d-42e3-be35-4bb9aa669f89", - "a1298342-48bf-4c63-9bec-cfec48f43e90", - "dfee8b73-0ec6-4bcf-b602-d1269eb02c17" + "5ed1ec33-6e94-403f-a8fa-964713181d89", + "a8d699bf-4860-4cef-a2ad-9d12569ae5fa", + "e88cf5b1-2567-4162-a408-98cff660351a" ] } }