mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-01 08:59:46 +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/bad_edge_source_missing.json
Normal file
24
api/tests/dto_fixtures/bad_edge_source_missing.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"nodes": [
|
||||
{
|
||||
"id": "s",
|
||||
"type": "startCall",
|
||||
"position": {"x": -200, "y": 0},
|
||||
"data": {"name": "Start", "prompt": "Greet the caller."}
|
||||
},
|
||||
{
|
||||
"id": "e",
|
||||
"type": "endCall",
|
||||
"position": {"x": 0, "y": 0},
|
||||
"data": {"name": "End", "prompt": "Say goodbye."}
|
||||
}
|
||||
],
|
||||
"edges": [
|
||||
{
|
||||
"id": "ghost-e",
|
||||
"source": "ghost-node",
|
||||
"target": "e",
|
||||
"data": {"label": "from nowhere", "condition": "always"}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue