mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
feat: add workflow graph constraints fixtures
This commit is contained in:
parent
6d93be3ef6
commit
5a358d4d29
38 changed files with 447 additions and 49 deletions
24
api/tests/dto_fixtures/no_start_node.json
Normal file
24
api/tests/dto_fixtures/no_start_node.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "a",
|
||||
"type": "agentNode",
|
||||
"position": {"x": 0, "y": 0},
|
||||
"data": {"name": "Agent", "prompt": "Talk to the caller."}
|
||||
},
|
||||
{
|
||||
"id": "e",
|
||||
"type": "endCall",
|
||||
"position": {"x": 200, "y": 0},
|
||||
"data": {"name": "End", "prompt": "Say goodbye."}
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "a-e",
|
||||
"source": "a",
|
||||
"target": "e",
|
||||
"data": {"label": "agent to end", "condition": "always"}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue