xmove01

builder quick answer buttons

Aug 2nd, 2023 (edited)
883
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 2.38 KB | Software | 0 0
  1. {
  2.     "nodes": [
  3.         {
  4.             "width": 80,
  5.             "height": 45,
  6.             "id": "start_node_default",
  7.             "type": "Start",
  8.             "position": {
  9.                 "x": 10,
  10.                 "y": 10
  11.             },
  12.             "data": {},
  13.             "positionAbsolute": {
  14.                 "x": 10,
  15.                 "y": 10
  16.             },
  17.             "selected": false
  18.         },
  19.         {
  20.             "width": 250,
  21.             "height": 211,
  22.             "id": "chain_node_default",
  23.             "type": "Message",
  24.             "selected": false,
  25.             "position": {
  26.                 "x": 200,
  27.                 "y": 100
  28.             },
  29.             "data": {
  30.                 "nodes": [
  31.                     {
  32.                         "id": "sub_node_default",
  33.                         "type": "Text",
  34.                         "content": {
  35.                             "text": "123",
  36.                             "type": ""
  37.                         },
  38.                         "buttons": [],
  39.                         "state": {}
  40.                     },
  41.                     {
  42.                         "id": "sub_node_39c2383e-7efb-4be8-b2ab-137e94f8d451",
  43.                         "type": "Answer",
  44.                         "content": {
  45.                             "answer": [
  46.                                 "1",
  47.                                 "2",
  48.                                 "3"
  49.                             ],
  50.                             "validate": "String",
  51.                             "variable": "123231",
  52.                             "errorMessage": "Будь ласка, введіть хоча б один текстовий символ",
  53.                             "message": ""
  54.                         },
  55.                         "buttons": [],
  56.                         "state": {}
  57.                     }
  58.                 ]
  59.             },
  60.             "positionAbsolute": {
  61.                 "x": 200,
  62.                 "y": 100
  63.             },
  64.             "dragging": false
  65.         }
  66.     ],
  67.     "edges": [
  68.         {
  69.             "source": "start_node_default",
  70.             "sourceHandle": "start_node_default",
  71.             "target": "chain_node_default",
  72.             "targetHandle": "chain_node_default",
  73.             "id": "reactflow__edge-start_node_default-chain_node_default",
  74.             "selected": false
  75.         }
  76.     ],
  77.     "errors": {}
  78. }
Advertisement
Add Comment
Please, Sign In to add comment