@agenticdiagrams/schema 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +90 -0
- package/dist/index.cjs +327 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +118 -0
- package/dist/index.d.ts +118 -0
- package/dist/index.js +290 -0
- package/dist/index.js.map +1 -0
- package/examples/kitchen-manager.agentic.yaml +201 -0
- package/examples/multi-agent-with-guardrails.agentic.yaml +176 -0
- package/examples/simple-agent.agentic.yaml +55 -0
- package/package.json +61 -0
- package/schema/agentic.v0.1.json +240 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
agentic: "0.1"
|
|
2
|
+
|
|
3
|
+
diagram:
|
|
4
|
+
name: Guarded Multi-Agent Pipeline
|
|
5
|
+
description: Agent pipeline with input/output guardrails and human approval
|
|
6
|
+
active_scenario: safe-flow
|
|
7
|
+
|
|
8
|
+
nodes:
|
|
9
|
+
input-guard:
|
|
10
|
+
type: guardrail
|
|
11
|
+
sub_type: input_filter
|
|
12
|
+
label: Input Validator
|
|
13
|
+
|
|
14
|
+
orchestrator:
|
|
15
|
+
type: agent
|
|
16
|
+
label: Orchestrator
|
|
17
|
+
|
|
18
|
+
research-agent:
|
|
19
|
+
type: agent
|
|
20
|
+
label: Research Agent
|
|
21
|
+
|
|
22
|
+
writer-agent:
|
|
23
|
+
type: agent
|
|
24
|
+
label: Content Writer
|
|
25
|
+
|
|
26
|
+
output-guard:
|
|
27
|
+
type: guardrail
|
|
28
|
+
sub_type: output_filter
|
|
29
|
+
label: Content Policy Filter
|
|
30
|
+
|
|
31
|
+
reviewer:
|
|
32
|
+
type: human
|
|
33
|
+
label: Human Reviewer
|
|
34
|
+
|
|
35
|
+
web-search:
|
|
36
|
+
type: tool
|
|
37
|
+
sub_type: api
|
|
38
|
+
label: Web Search API
|
|
39
|
+
|
|
40
|
+
vector-store:
|
|
41
|
+
type: memory
|
|
42
|
+
sub_type: vector
|
|
43
|
+
label: Research Memory
|
|
44
|
+
|
|
45
|
+
llm:
|
|
46
|
+
type: model
|
|
47
|
+
sub_type: llm
|
|
48
|
+
label: Claude Opus
|
|
49
|
+
provider: Anthropic
|
|
50
|
+
|
|
51
|
+
monitor:
|
|
52
|
+
type: observability
|
|
53
|
+
label: Trace Logger
|
|
54
|
+
|
|
55
|
+
edges:
|
|
56
|
+
- from: input-guard
|
|
57
|
+
to: orchestrator
|
|
58
|
+
type: request
|
|
59
|
+
|
|
60
|
+
- from: orchestrator
|
|
61
|
+
to: research-agent
|
|
62
|
+
type: request
|
|
63
|
+
|
|
64
|
+
- from: orchestrator
|
|
65
|
+
to: writer-agent
|
|
66
|
+
type: request
|
|
67
|
+
|
|
68
|
+
- from: research-agent
|
|
69
|
+
to: web-search
|
|
70
|
+
type: request
|
|
71
|
+
|
|
72
|
+
- from: research-agent
|
|
73
|
+
to: vector-store
|
|
74
|
+
type: request
|
|
75
|
+
|
|
76
|
+
- from: writer-agent
|
|
77
|
+
to: llm
|
|
78
|
+
type: request
|
|
79
|
+
|
|
80
|
+
- from: writer-agent
|
|
81
|
+
to: output-guard
|
|
82
|
+
type: request
|
|
83
|
+
|
|
84
|
+
- from: output-guard
|
|
85
|
+
to: reviewer
|
|
86
|
+
type: request
|
|
87
|
+
|
|
88
|
+
- from: orchestrator
|
|
89
|
+
to: monitor
|
|
90
|
+
type: async
|
|
91
|
+
|
|
92
|
+
scenarios:
|
|
93
|
+
safe-flow:
|
|
94
|
+
name: Safe Content Generation
|
|
95
|
+
steps:
|
|
96
|
+
- from: input-guard
|
|
97
|
+
to: orchestrator
|
|
98
|
+
type: call
|
|
99
|
+
label: Validated request
|
|
100
|
+
payload: '{"topic": "AI safety best practices"}'
|
|
101
|
+
|
|
102
|
+
- from: orchestrator
|
|
103
|
+
to: research-agent
|
|
104
|
+
type: call
|
|
105
|
+
label: Research this topic
|
|
106
|
+
|
|
107
|
+
- from: research-agent
|
|
108
|
+
to: web-search
|
|
109
|
+
type: call
|
|
110
|
+
label: Search recent papers
|
|
111
|
+
|
|
112
|
+
- from: web-search
|
|
113
|
+
to: research-agent
|
|
114
|
+
type: return
|
|
115
|
+
label: Search results
|
|
116
|
+
|
|
117
|
+
- from: research-agent
|
|
118
|
+
to: vector-store
|
|
119
|
+
type: call
|
|
120
|
+
label: Store findings
|
|
121
|
+
|
|
122
|
+
- from: research-agent
|
|
123
|
+
to: orchestrator
|
|
124
|
+
type: return
|
|
125
|
+
label: Research summary
|
|
126
|
+
|
|
127
|
+
- from: orchestrator
|
|
128
|
+
to: writer-agent
|
|
129
|
+
type: call
|
|
130
|
+
label: Draft article
|
|
131
|
+
|
|
132
|
+
- from: writer-agent
|
|
133
|
+
to: llm
|
|
134
|
+
type: call
|
|
135
|
+
label: Generate draft
|
|
136
|
+
|
|
137
|
+
- from: llm
|
|
138
|
+
to: writer-agent
|
|
139
|
+
type: return
|
|
140
|
+
label: Draft content
|
|
141
|
+
|
|
142
|
+
- from: writer-agent
|
|
143
|
+
to: output-guard
|
|
144
|
+
type: call
|
|
145
|
+
label: Check content policy
|
|
146
|
+
fragment:
|
|
147
|
+
type: alt
|
|
148
|
+
label: Policy check
|
|
149
|
+
position: start
|
|
150
|
+
|
|
151
|
+
- from: output-guard
|
|
152
|
+
to: reviewer
|
|
153
|
+
type: call
|
|
154
|
+
label: Approved - needs human review
|
|
155
|
+
fragment:
|
|
156
|
+
type: alt
|
|
157
|
+
position: else
|
|
158
|
+
|
|
159
|
+
- from: output-guard
|
|
160
|
+
to: writer-agent
|
|
161
|
+
type: error
|
|
162
|
+
label: Policy violation - rewrite needed
|
|
163
|
+
fragment:
|
|
164
|
+
type: alt
|
|
165
|
+
position: end
|
|
166
|
+
|
|
167
|
+
blocked-input:
|
|
168
|
+
name: Blocked by Input Guard
|
|
169
|
+
steps:
|
|
170
|
+
- from: input-guard
|
|
171
|
+
to: input-guard
|
|
172
|
+
type: error
|
|
173
|
+
label: Request rejected
|
|
174
|
+
note:
|
|
175
|
+
text: Harmful content detected
|
|
176
|
+
position: over
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
agentic: "0.1"
|
|
2
|
+
diagram:
|
|
3
|
+
name: Simple Support Bot
|
|
4
|
+
|
|
5
|
+
nodes:
|
|
6
|
+
customer:
|
|
7
|
+
type: user
|
|
8
|
+
edges:
|
|
9
|
+
- to: support-bot
|
|
10
|
+
|
|
11
|
+
support-bot:
|
|
12
|
+
type: agent
|
|
13
|
+
edges:
|
|
14
|
+
- to: claude-sonnet
|
|
15
|
+
animated: true
|
|
16
|
+
- to: kb-search
|
|
17
|
+
|
|
18
|
+
kb-search:
|
|
19
|
+
type: tool
|
|
20
|
+
sub_type: mcp
|
|
21
|
+
|
|
22
|
+
claude-sonnet:
|
|
23
|
+
type: model
|
|
24
|
+
provider: Anthropic
|
|
25
|
+
|
|
26
|
+
scenarios:
|
|
27
|
+
happy-path:
|
|
28
|
+
name: Successful Query
|
|
29
|
+
steps:
|
|
30
|
+
- from: customer
|
|
31
|
+
to: support-bot
|
|
32
|
+
label: How do I reset my password?
|
|
33
|
+
|
|
34
|
+
- from: support-bot
|
|
35
|
+
to: kb-search
|
|
36
|
+
label: Search for password reset
|
|
37
|
+
|
|
38
|
+
- from: kb-search
|
|
39
|
+
to: support-bot
|
|
40
|
+
type: return
|
|
41
|
+
label: Found 3 articles
|
|
42
|
+
|
|
43
|
+
- from: support-bot
|
|
44
|
+
to: claude-sonnet
|
|
45
|
+
label: Summarise for user
|
|
46
|
+
|
|
47
|
+
- from: claude-sonnet
|
|
48
|
+
to: support-bot
|
|
49
|
+
type: return
|
|
50
|
+
label: Generated answer
|
|
51
|
+
|
|
52
|
+
- from: support-bot
|
|
53
|
+
to: customer
|
|
54
|
+
type: return
|
|
55
|
+
label: Here's how to reset your password...
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agenticdiagrams/schema",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Agentic YAML Schema — spec, types, and validation for .agentic.yaml diagram files",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./schema.json": "./schema/agentic.v0.1.json"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"schema",
|
|
25
|
+
"examples"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest",
|
|
32
|
+
"lint": "prettier --check .",
|
|
33
|
+
"format": "prettier --write .",
|
|
34
|
+
"prepublishOnly": "npm run build"
|
|
35
|
+
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"agentic",
|
|
38
|
+
"yaml",
|
|
39
|
+
"schema",
|
|
40
|
+
"diagram",
|
|
41
|
+
"ai-agents",
|
|
42
|
+
"mcp",
|
|
43
|
+
"validation"
|
|
44
|
+
],
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/agenticdiagrams/schema.git"
|
|
48
|
+
},
|
|
49
|
+
"homepage": "https://agenticdiagrams.com",
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"ajv": "^8.17.1",
|
|
53
|
+
"ajv-formats": "^3.0.1"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"prettier": "^3.5.3",
|
|
57
|
+
"tsup": "^8.4.0",
|
|
58
|
+
"typescript": "^5.8.3",
|
|
59
|
+
"vitest": "^3.1.1"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agenticdiagrams.com/schemas/agentic/0.1.json",
|
|
4
|
+
"title": "Agentic Diagram",
|
|
5
|
+
"description": "Schema for .agentic.yaml diagram files (spec v0.1)",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["agentic"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"agentic": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "0.1",
|
|
13
|
+
"description": "Spec version"
|
|
14
|
+
},
|
|
15
|
+
"diagram": { "$ref": "#/$defs/diagram" },
|
|
16
|
+
"nodes": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"description": "Node definitions keyed by stable id",
|
|
19
|
+
"additionalProperties": { "$ref": "#/$defs/node" }
|
|
20
|
+
},
|
|
21
|
+
"edges": {
|
|
22
|
+
"type": "array",
|
|
23
|
+
"description": "Connections between nodes (type defaults to request)",
|
|
24
|
+
"items": { "$ref": "#/$defs/edge" }
|
|
25
|
+
},
|
|
26
|
+
"scenarios": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"description": "Flow definitions keyed by id",
|
|
29
|
+
"additionalProperties": { "$ref": "#/$defs/scenario" }
|
|
30
|
+
},
|
|
31
|
+
"layout": { "$ref": "#/$defs/layout" }
|
|
32
|
+
},
|
|
33
|
+
"$defs": {
|
|
34
|
+
"diagram": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"description": "Diagram metadata. All fields optional, name defaults to Untitled",
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"properties": {
|
|
39
|
+
"name": { "type": "string", "default": "Untitled" },
|
|
40
|
+
"description": { "type": "string" },
|
|
41
|
+
"type": { "type": "string", "enum": ["system", "component"] },
|
|
42
|
+
"active_scenario": { "type": "string" },
|
|
43
|
+
"parent_diagram": { "type": "string", "description": "Parent diagram id for drill-down hierarchy" },
|
|
44
|
+
"created": { "type": "string", "format": "date-time" },
|
|
45
|
+
"updated": { "type": "string", "format": "date-time" }
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"nodeType": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"agent", "tool", "component", "backend", "generic", "note",
|
|
52
|
+
"system", "memory", "gateway", "skill", "channel", "waypoint",
|
|
53
|
+
"router", "human", "trigger", "guardrail", "model", "aggregator",
|
|
54
|
+
"observability", "group", "block", "image", "prompt", "user",
|
|
55
|
+
"output", "knowledge_base", "environment", "text_label", "divider"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"node": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"description": "Node definition. Label defaults to the node id when omitted",
|
|
61
|
+
"required": ["type"],
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"properties": {
|
|
64
|
+
"type": { "$ref": "#/$defs/nodeType" },
|
|
65
|
+
"label": { "type": "string", "description": "Display name (defaults to node id)" },
|
|
66
|
+
"sub_title": { "type": "string", "description": "Secondary display text below label" },
|
|
67
|
+
"description": { "type": "string" },
|
|
68
|
+
"sub_type": { "type": "string" },
|
|
69
|
+
"url": { "type": "string", "format": "uri" },
|
|
70
|
+
"group": { "type": "string", "description": "Parent group node id" },
|
|
71
|
+
"linked_diagram": { "type": "string", "description": "Drill-down target diagram id or file path" },
|
|
72
|
+
"is_looping": { "type": "boolean" },
|
|
73
|
+
"auth": { "type": "string" },
|
|
74
|
+
"auth_detail": { "type": "string" },
|
|
75
|
+
"provider": { "type": "string" },
|
|
76
|
+
"content": { "type": "string" },
|
|
77
|
+
"example_response": { "type": "string" },
|
|
78
|
+
"edges": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"description": "Inline edge definitions (from is inferred as this node)",
|
|
81
|
+
"items": { "$ref": "#/$defs/inlineEdge" }
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"edgeType": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "Edge semantic type. Defaults to request when omitted",
|
|
88
|
+
"enum": ["default", "request", "response", "async", "streaming", "event", "error"]
|
|
89
|
+
},
|
|
90
|
+
"pathType": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"enum": ["bezier", "straight", "step", "smooth_step", "simple_bezier"]
|
|
93
|
+
},
|
|
94
|
+
"handlePosition": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["top", "right", "bottom", "left"],
|
|
97
|
+
"description": "Which side of the node the edge connects to"
|
|
98
|
+
},
|
|
99
|
+
"edge": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"required": ["from", "to"],
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"properties": {
|
|
104
|
+
"from": { "type": "string", "description": "Source node id" },
|
|
105
|
+
"to": { "type": "string", "description": "Target node id" },
|
|
106
|
+
"type": { "$ref": "#/$defs/edgeType" },
|
|
107
|
+
"label": { "type": "string" },
|
|
108
|
+
"animated": { "type": "boolean", "description": "Show animated flow on connection" },
|
|
109
|
+
"path": { "$ref": "#/$defs/pathType" },
|
|
110
|
+
"source_handle": { "$ref": "#/$defs/handlePosition" },
|
|
111
|
+
"target_handle": { "$ref": "#/$defs/handlePosition" }
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"inlineEdge": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"description": "Edge defined on a node (from is inferred as the parent node id)",
|
|
117
|
+
"required": ["to"],
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"properties": {
|
|
120
|
+
"to": { "type": "string", "description": "Target node id" },
|
|
121
|
+
"type": { "$ref": "#/$defs/edgeType" },
|
|
122
|
+
"label": { "type": "string" },
|
|
123
|
+
"animated": { "type": "boolean", "description": "Show animated flow on connection" },
|
|
124
|
+
"path": { "$ref": "#/$defs/pathType" },
|
|
125
|
+
"source_handle": { "$ref": "#/$defs/handlePosition" },
|
|
126
|
+
"target_handle": { "$ref": "#/$defs/handlePosition" }
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"stepType": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"description": "Step semantic type. Defaults to call when omitted",
|
|
132
|
+
"enum": ["call", "return", "async", "event", "error"]
|
|
133
|
+
},
|
|
134
|
+
"fragmentType": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"enum": ["alt", "opt", "loop", "par"]
|
|
137
|
+
},
|
|
138
|
+
"fragment": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"required": ["type", "position"],
|
|
141
|
+
"additionalProperties": false,
|
|
142
|
+
"properties": {
|
|
143
|
+
"type": { "$ref": "#/$defs/fragmentType" },
|
|
144
|
+
"label": { "type": "string" },
|
|
145
|
+
"position": { "type": "string", "enum": ["start", "else", "end"] }
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"note": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"required": ["text", "position"],
|
|
151
|
+
"additionalProperties": false,
|
|
152
|
+
"properties": {
|
|
153
|
+
"text": { "type": "string" },
|
|
154
|
+
"position": { "type": "string", "enum": ["left", "right", "over"] }
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"step": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"required": ["from", "to"],
|
|
160
|
+
"additionalProperties": false,
|
|
161
|
+
"properties": {
|
|
162
|
+
"from": { "type": "string", "description": "Source node id" },
|
|
163
|
+
"to": { "type": "string", "description": "Target node id" },
|
|
164
|
+
"type": { "$ref": "#/$defs/stepType" },
|
|
165
|
+
"label": { "type": "string" },
|
|
166
|
+
"payload": { "type": "string" },
|
|
167
|
+
"duration": { "type": "number", "minimum": 0 },
|
|
168
|
+
"fragment": { "$ref": "#/$defs/fragment" },
|
|
169
|
+
"note": { "$ref": "#/$defs/note" }
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"scenario": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"required": ["name"],
|
|
175
|
+
"additionalProperties": false,
|
|
176
|
+
"properties": {
|
|
177
|
+
"name": { "type": "string" },
|
|
178
|
+
"description": { "type": "string" },
|
|
179
|
+
"steps": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": { "$ref": "#/$defs/step" }
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"point2d": {
|
|
186
|
+
"type": "array",
|
|
187
|
+
"items": { "type": "number" },
|
|
188
|
+
"minItems": 2,
|
|
189
|
+
"maxItems": 2
|
|
190
|
+
},
|
|
191
|
+
"size2d": {
|
|
192
|
+
"type": "array",
|
|
193
|
+
"items": { "type": "number", "minimum": 0 },
|
|
194
|
+
"minItems": 2,
|
|
195
|
+
"maxItems": 2
|
|
196
|
+
},
|
|
197
|
+
"viewport": {
|
|
198
|
+
"type": "array",
|
|
199
|
+
"items": { "type": "number" },
|
|
200
|
+
"minItems": 3,
|
|
201
|
+
"maxItems": 3,
|
|
202
|
+
"description": "[x, y, zoom]"
|
|
203
|
+
},
|
|
204
|
+
"nodeStyle": {
|
|
205
|
+
"type": "object",
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"properties": {
|
|
208
|
+
"borderless": { "type": "boolean" },
|
|
209
|
+
"icon_url": { "type": "string", "format": "uri" },
|
|
210
|
+
"icon_layout": { "type": "string", "enum": ["left", "right", "top", "bottom"] },
|
|
211
|
+
"image_url": { "type": "string", "format": "uri" }
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"direction": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"description": "Auto-layout flow direction. Defaults to TB",
|
|
217
|
+
"enum": ["TB", "LR", "BT", "RL"]
|
|
218
|
+
},
|
|
219
|
+
"layout": {
|
|
220
|
+
"type": "object",
|
|
221
|
+
"additionalProperties": false,
|
|
222
|
+
"properties": {
|
|
223
|
+
"direction": { "$ref": "#/$defs/direction" },
|
|
224
|
+
"viewport": { "$ref": "#/$defs/viewport" },
|
|
225
|
+
"positions": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"additionalProperties": { "$ref": "#/$defs/point2d" }
|
|
228
|
+
},
|
|
229
|
+
"sizes": {
|
|
230
|
+
"type": "object",
|
|
231
|
+
"additionalProperties": { "$ref": "#/$defs/size2d" }
|
|
232
|
+
},
|
|
233
|
+
"node_styles": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"additionalProperties": { "$ref": "#/$defs/nodeStyle" }
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|