curl --location --request POST 'https://api.hiveflow.ai/api/flows//edges' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"source": "node-1",
"target": "node-2",
"sourceHandle": "output",
"targetHandle": "input",
"type": "smoothstep",
"animated": false,
"style": {
"stroke": "#ff0000",
"strokeWidth": 2,
"strokeDasharray": "5,5"
},
"data": {
"isConditional": false,
"conditionIndex": 0,
"conditionValue": "true",
"label": "Si es positivo",
"weight": 1,
"metadata": {}
}
}'