-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodels.json
More file actions
46 lines (43 loc) · 1.03 KB
/
models.json
File metadata and controls
46 lines (43 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Node JSON Structure:
{
"id": "unique-id",
"type": "start|process|decision|input_output|end",
"text": "Node Label",
"x": 100,
"y": 200,
"width": 120,
"height": 80,
"properties": {
// Additional type-specific properties
}
}
Connection JSON Structure:
{
"id": "unique-id",
"source": "source-node-id",
"target": "target-node-id",
"label": "Optional connection label",
"points": [
{"x": 100, "y": 200},
{"x": 150, "y": 250}
],
"type": "default|success|failure" // For decision paths
}
Complete Flowchart JSON Structure:
{
"id": "flowchart-unique-id",
"title": "My Flowchart",
"nodes": [
// Array of Node objects
],
"connections": [
// Array of Connection objects
],
"metadata": {
"created": "2025-04-22T10:30:00Z",
"modified": "2025-04-22T15:45:00Z",
"version": "1.0",
"author": "User Name",
"tags": ["process", "workflow"]
}
}