@almadar/std 16.174.0 → 16.175.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/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +4 -9
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +132 -22
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +428 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +520 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +805 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +31 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +186 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +522 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +192 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +111 -2
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +150 -1
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +132 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +48 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +141 -1
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +199 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +4 -39
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1288 -197
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +2512 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +3678 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +6539 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +173 -2
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +986 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +3333 -0
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +716 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +506 -1
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +684 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +634 -0
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +256 -0
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +736 -12
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1061 -33
- package/dist/behaviors/exports-reader.js +2448 -2184
- package/dist/behaviors/functions/index.d.ts +800 -13
- package/dist/behaviors/functions/index.js +2431 -2185
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +2449 -2185
- package/dist/behaviors/query.js +2448 -2184
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +261 -237
- package/dist/behaviors-registry.json +4385 -1298
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2449 -2185
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,716 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "AlgoGraphCanvas — UI factory (1:1 with the @almadar/ui algo-graph-canvas pattern).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M0AJDD7AQ5TEPE2WXKT5H2RH": {
|
|
6
|
+
"bakedName": "AlgoGraphCanvasItem",
|
|
7
|
+
"curName": "AlgoGraphCanvasItem",
|
|
8
|
+
"id": "ent_01M0AJDD7AQ5TEPE2WXKT5H2RH",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M0AJDD7ADSV9H1ZGABSCFE5V": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01M0AJDD7ADSV9H1ZGABSCFE5V",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M0AJDD7ASDZB97YQCGNENQ23",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01M0AJDD7B2J619AFDYF0N1PEB": {
|
|
23
|
+
"bakedName": "@config.onShapeClick",
|
|
24
|
+
"curName": "@config.onShapeClick",
|
|
25
|
+
"id": "evt_01M0AJDD7B2J619AFDYF0N1PEB",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01M0AJDD7ASDZB97YQCGNENQ23",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01M0AJDD7BRJ54N24SZ4AQR6C2": {
|
|
32
|
+
"bakedName": "@config.onNodeClick",
|
|
33
|
+
"curName": "@config.onNodeClick",
|
|
34
|
+
"id": "evt_01M0AJDD7BRJ54N24SZ4AQR6C2",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01M0AJDD7ASDZB97YQCGNENQ23",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"orb_01M0AJDD7AA0Y3WVT72JP5NZ4X": {
|
|
41
|
+
"bakedName": "AlgoGraphCanvasOrbital",
|
|
42
|
+
"curName": "AlgoGraphCanvasOrbital",
|
|
43
|
+
"id": "orb_01M0AJDD7AA0Y3WVT72JP5NZ4X",
|
|
44
|
+
"kind": "orbital",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"renames": []
|
|
47
|
+
},
|
|
48
|
+
"pag_01M0AJDD7BBFFWDHE2QJ9QEXKA": {
|
|
49
|
+
"bakedName": "AlgoGraphCanvasPage",
|
|
50
|
+
"curName": "AlgoGraphCanvasPage",
|
|
51
|
+
"id": "pag_01M0AJDD7BBFFWDHE2QJ9QEXKA",
|
|
52
|
+
"kind": "page",
|
|
53
|
+
"owner": "workspace",
|
|
54
|
+
"renames": []
|
|
55
|
+
},
|
|
56
|
+
"trt_01M0AJDD7ASDZB97YQCGNENQ23": {
|
|
57
|
+
"bakedName": "AlgoGraphCanvasRender",
|
|
58
|
+
"curName": "AlgoGraphCanvasRender",
|
|
59
|
+
"id": "trt_01M0AJDD7ASDZB97YQCGNENQ23",
|
|
60
|
+
"kind": "trait",
|
|
61
|
+
"owner": "workspace",
|
|
62
|
+
"renames": []
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"schemaVersion": 1
|
|
66
|
+
},
|
|
67
|
+
"name": "ui-algo-graph-canvas",
|
|
68
|
+
"orbitals": [
|
|
69
|
+
{
|
|
70
|
+
"entity": {
|
|
71
|
+
"fields": [
|
|
72
|
+
{
|
|
73
|
+
"name": "id",
|
|
74
|
+
"required": true,
|
|
75
|
+
"type": "string"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"id": "ent_01M0AJDD7AQ5TEPE2WXKT5H2RH",
|
|
79
|
+
"name": "AlgoGraphCanvasItem",
|
|
80
|
+
"persistence": "runtime"
|
|
81
|
+
},
|
|
82
|
+
"id": "orb_01M0AJDD7AA0Y3WVT72JP5NZ4X",
|
|
83
|
+
"name": "AlgoGraphCanvasOrbital",
|
|
84
|
+
"pages": [
|
|
85
|
+
{
|
|
86
|
+
"id": "pag_01M0AJDD7BBFFWDHE2QJ9QEXKA",
|
|
87
|
+
"name": "AlgoGraphCanvasPage",
|
|
88
|
+
"path": "/algo-graph-canvas",
|
|
89
|
+
"traits": [
|
|
90
|
+
{
|
|
91
|
+
"ref": "AlgoGraphCanvasRender",
|
|
92
|
+
"refId": "trt_01M0AJDD7ASDZB97YQCGNENQ23"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"traits": [
|
|
98
|
+
{
|
|
99
|
+
"category": "interaction",
|
|
100
|
+
"config": {
|
|
101
|
+
"animate": {
|
|
102
|
+
"default": false,
|
|
103
|
+
"description": "animate prop",
|
|
104
|
+
"label": "Animate",
|
|
105
|
+
"tier": "presentation",
|
|
106
|
+
"type": "boolean"
|
|
107
|
+
},
|
|
108
|
+
"backgroundColor": {
|
|
109
|
+
"description": "backgroundColor prop",
|
|
110
|
+
"label": "Background Color",
|
|
111
|
+
"tier": "presentation",
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"className": {
|
|
115
|
+
"description": "className prop",
|
|
116
|
+
"label": "Class Name",
|
|
117
|
+
"tier": "presentation",
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"edges": {
|
|
121
|
+
"default": [],
|
|
122
|
+
"description": "edges prop",
|
|
123
|
+
"items": {
|
|
124
|
+
"properties": {
|
|
125
|
+
"color": {
|
|
126
|
+
"name": "color",
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"directed": {
|
|
131
|
+
"name": "directed",
|
|
132
|
+
"required": false,
|
|
133
|
+
"type": "boolean"
|
|
134
|
+
},
|
|
135
|
+
"from": {
|
|
136
|
+
"name": "from",
|
|
137
|
+
"required": true,
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"label": {
|
|
141
|
+
"name": "label",
|
|
142
|
+
"required": false,
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"state": {
|
|
146
|
+
"name": "state",
|
|
147
|
+
"required": false,
|
|
148
|
+
"type": "string",
|
|
149
|
+
"values": [
|
|
150
|
+
"default",
|
|
151
|
+
"tree",
|
|
152
|
+
"relaxed",
|
|
153
|
+
"candidate",
|
|
154
|
+
"path"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"to": {
|
|
158
|
+
"name": "to",
|
|
159
|
+
"required": true,
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"weight": {
|
|
163
|
+
"name": "weight",
|
|
164
|
+
"required": false,
|
|
165
|
+
"type": "number"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"type": "object"
|
|
169
|
+
},
|
|
170
|
+
"label": "Edges",
|
|
171
|
+
"tier": "presentation",
|
|
172
|
+
"type": "[AlgoGraphCanvasEdgesItem]"
|
|
173
|
+
},
|
|
174
|
+
"error": {
|
|
175
|
+
"description": "error prop",
|
|
176
|
+
"label": "Error",
|
|
177
|
+
"properties": {
|
|
178
|
+
"code": {
|
|
179
|
+
"name": "code",
|
|
180
|
+
"required": false,
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"message": {
|
|
184
|
+
"name": "message",
|
|
185
|
+
"required": true,
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"name": {
|
|
189
|
+
"name": "name",
|
|
190
|
+
"required": false,
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"stack": {
|
|
194
|
+
"name": "stack",
|
|
195
|
+
"required": false,
|
|
196
|
+
"type": "string"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"tier": "presentation",
|
|
200
|
+
"type": "AlgoGraphCanvasError"
|
|
201
|
+
},
|
|
202
|
+
"height": {
|
|
203
|
+
"default": 400.0,
|
|
204
|
+
"description": "height prop",
|
|
205
|
+
"label": "Height",
|
|
206
|
+
"tier": "presentation",
|
|
207
|
+
"type": "number"
|
|
208
|
+
},
|
|
209
|
+
"interactive": {
|
|
210
|
+
"default": false,
|
|
211
|
+
"description": "interactive prop",
|
|
212
|
+
"label": "Interactive",
|
|
213
|
+
"tier": "presentation",
|
|
214
|
+
"type": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"isLoading": {
|
|
217
|
+
"description": "isLoading prop",
|
|
218
|
+
"label": "Is Loading",
|
|
219
|
+
"tier": "presentation",
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
},
|
|
222
|
+
"layout": {
|
|
223
|
+
"default": "manual",
|
|
224
|
+
"description": "Deterministic layout to compute node positions; `manual` passes through `x`/`y`.",
|
|
225
|
+
"label": "Layout",
|
|
226
|
+
"tier": "presentation",
|
|
227
|
+
"type": "string",
|
|
228
|
+
"values": [
|
|
229
|
+
"manual",
|
|
230
|
+
"tree",
|
|
231
|
+
"layered",
|
|
232
|
+
"circle"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"nodes": {
|
|
236
|
+
"default": [],
|
|
237
|
+
"description": "nodes prop",
|
|
238
|
+
"items": {
|
|
239
|
+
"properties": {
|
|
240
|
+
"badge": {
|
|
241
|
+
"name": "badge",
|
|
242
|
+
"properties": {
|
|
243
|
+
"color": {
|
|
244
|
+
"name": "color",
|
|
245
|
+
"required": false,
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"text": {
|
|
249
|
+
"name": "text",
|
|
250
|
+
"required": true,
|
|
251
|
+
"type": "string"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"type": "object"
|
|
256
|
+
},
|
|
257
|
+
"color": {
|
|
258
|
+
"name": "color",
|
|
259
|
+
"required": false,
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"id": {
|
|
263
|
+
"name": "id",
|
|
264
|
+
"required": true,
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
"label": {
|
|
268
|
+
"name": "label",
|
|
269
|
+
"required": false,
|
|
270
|
+
"type": "string"
|
|
271
|
+
},
|
|
272
|
+
"radius": {
|
|
273
|
+
"name": "radius",
|
|
274
|
+
"required": false,
|
|
275
|
+
"type": "number"
|
|
276
|
+
},
|
|
277
|
+
"state": {
|
|
278
|
+
"name": "state",
|
|
279
|
+
"required": false,
|
|
280
|
+
"type": "string",
|
|
281
|
+
"values": [
|
|
282
|
+
"unvisited",
|
|
283
|
+
"frontier",
|
|
284
|
+
"current",
|
|
285
|
+
"visited",
|
|
286
|
+
"goal",
|
|
287
|
+
"path"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"x": {
|
|
291
|
+
"name": "x",
|
|
292
|
+
"required": false,
|
|
293
|
+
"type": "number"
|
|
294
|
+
},
|
|
295
|
+
"y": {
|
|
296
|
+
"name": "y",
|
|
297
|
+
"required": false,
|
|
298
|
+
"type": "number"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"type": "object"
|
|
302
|
+
},
|
|
303
|
+
"label": "Nodes",
|
|
304
|
+
"tier": "presentation",
|
|
305
|
+
"type": "[AlgoGraphCanvasNodesItem]"
|
|
306
|
+
},
|
|
307
|
+
"onNodeClick": {
|
|
308
|
+
"default": "NODE_CLICK",
|
|
309
|
+
"description": "Fires when a node circle is clicked, alongside `onShapeClick`.",
|
|
310
|
+
"label": "On Node Click",
|
|
311
|
+
"tier": "presentation",
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
"onShapeClick": {
|
|
315
|
+
"default": "SHAPE_CLICK",
|
|
316
|
+
"description": "onShapeClick prop",
|
|
317
|
+
"label": "On Shape Click",
|
|
318
|
+
"tier": "presentation",
|
|
319
|
+
"type": "string"
|
|
320
|
+
},
|
|
321
|
+
"root": {
|
|
322
|
+
"description": "`tree` layout only: preferred root id. Falls back to the first indegree-0 node.",
|
|
323
|
+
"label": "Root",
|
|
324
|
+
"tier": "presentation",
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"shapes": {
|
|
328
|
+
"default": [],
|
|
329
|
+
"description": "Extra declarative shapes in canvas pixel coordinates.",
|
|
330
|
+
"items": {
|
|
331
|
+
"properties": {
|
|
332
|
+
"align": {
|
|
333
|
+
"name": "align",
|
|
334
|
+
"required": false,
|
|
335
|
+
"type": "string",
|
|
336
|
+
"values": [
|
|
337
|
+
"left",
|
|
338
|
+
"center",
|
|
339
|
+
"right"
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
"axis": {
|
|
343
|
+
"name": "axis",
|
|
344
|
+
"required": false,
|
|
345
|
+
"type": "string",
|
|
346
|
+
"values": [
|
|
347
|
+
"x",
|
|
348
|
+
"y"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
"color": {
|
|
352
|
+
"name": "color",
|
|
353
|
+
"required": false,
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
"dash": {
|
|
357
|
+
"name": "dash",
|
|
358
|
+
"required": false,
|
|
359
|
+
"type": "string",
|
|
360
|
+
"values": [
|
|
361
|
+
"dashed",
|
|
362
|
+
"dotted"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
"endAngle": {
|
|
366
|
+
"name": "endAngle",
|
|
367
|
+
"required": false,
|
|
368
|
+
"type": "number"
|
|
369
|
+
},
|
|
370
|
+
"fill": {
|
|
371
|
+
"name": "fill",
|
|
372
|
+
"required": false,
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"fontSize": {
|
|
376
|
+
"name": "fontSize",
|
|
377
|
+
"required": false,
|
|
378
|
+
"type": "number"
|
|
379
|
+
},
|
|
380
|
+
"height": {
|
|
381
|
+
"name": "height",
|
|
382
|
+
"required": false,
|
|
383
|
+
"type": "number"
|
|
384
|
+
},
|
|
385
|
+
"id": {
|
|
386
|
+
"name": "id",
|
|
387
|
+
"required": false,
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
390
|
+
"label": {
|
|
391
|
+
"name": "label",
|
|
392
|
+
"required": false,
|
|
393
|
+
"type": "string"
|
|
394
|
+
},
|
|
395
|
+
"lineWidth": {
|
|
396
|
+
"name": "lineWidth",
|
|
397
|
+
"required": false,
|
|
398
|
+
"type": "number"
|
|
399
|
+
},
|
|
400
|
+
"max": {
|
|
401
|
+
"name": "max",
|
|
402
|
+
"required": false,
|
|
403
|
+
"type": "number"
|
|
404
|
+
},
|
|
405
|
+
"min": {
|
|
406
|
+
"name": "min",
|
|
407
|
+
"required": false,
|
|
408
|
+
"type": "number"
|
|
409
|
+
},
|
|
410
|
+
"opacity": {
|
|
411
|
+
"name": "opacity",
|
|
412
|
+
"required": false,
|
|
413
|
+
"type": "number"
|
|
414
|
+
},
|
|
415
|
+
"path": {
|
|
416
|
+
"name": "path",
|
|
417
|
+
"required": false,
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"points": {
|
|
421
|
+
"items": {
|
|
422
|
+
"properties": {
|
|
423
|
+
"x": {
|
|
424
|
+
"name": "x",
|
|
425
|
+
"required": true,
|
|
426
|
+
"type": "number"
|
|
427
|
+
},
|
|
428
|
+
"y": {
|
|
429
|
+
"name": "y",
|
|
430
|
+
"required": true,
|
|
431
|
+
"type": "number"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"type": "object"
|
|
435
|
+
},
|
|
436
|
+
"name": "points",
|
|
437
|
+
"required": false,
|
|
438
|
+
"type": "array"
|
|
439
|
+
},
|
|
440
|
+
"radius": {
|
|
441
|
+
"name": "radius",
|
|
442
|
+
"required": false,
|
|
443
|
+
"type": "number"
|
|
444
|
+
},
|
|
445
|
+
"startAngle": {
|
|
446
|
+
"name": "startAngle",
|
|
447
|
+
"required": false,
|
|
448
|
+
"type": "number"
|
|
449
|
+
},
|
|
450
|
+
"step": {
|
|
451
|
+
"name": "step",
|
|
452
|
+
"required": false,
|
|
453
|
+
"type": "number"
|
|
454
|
+
},
|
|
455
|
+
"text": {
|
|
456
|
+
"name": "text",
|
|
457
|
+
"required": false,
|
|
458
|
+
"type": "string"
|
|
459
|
+
},
|
|
460
|
+
"type": {
|
|
461
|
+
"name": "type",
|
|
462
|
+
"required": true,
|
|
463
|
+
"type": "string",
|
|
464
|
+
"values": [
|
|
465
|
+
"line",
|
|
466
|
+
"arrow",
|
|
467
|
+
"circle",
|
|
468
|
+
"ellipse",
|
|
469
|
+
"rect",
|
|
470
|
+
"polygon",
|
|
471
|
+
"path",
|
|
472
|
+
"text",
|
|
473
|
+
"axis",
|
|
474
|
+
"grid"
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
"width": {
|
|
478
|
+
"name": "width",
|
|
479
|
+
"required": false,
|
|
480
|
+
"type": "number"
|
|
481
|
+
},
|
|
482
|
+
"x": {
|
|
483
|
+
"name": "x",
|
|
484
|
+
"required": false,
|
|
485
|
+
"type": "number"
|
|
486
|
+
},
|
|
487
|
+
"x1": {
|
|
488
|
+
"name": "x1",
|
|
489
|
+
"required": false,
|
|
490
|
+
"type": "number"
|
|
491
|
+
},
|
|
492
|
+
"x2": {
|
|
493
|
+
"name": "x2",
|
|
494
|
+
"required": false,
|
|
495
|
+
"type": "number"
|
|
496
|
+
},
|
|
497
|
+
"y": {
|
|
498
|
+
"name": "y",
|
|
499
|
+
"required": false,
|
|
500
|
+
"type": "number"
|
|
501
|
+
},
|
|
502
|
+
"y1": {
|
|
503
|
+
"name": "y1",
|
|
504
|
+
"required": false,
|
|
505
|
+
"type": "number"
|
|
506
|
+
},
|
|
507
|
+
"y2": {
|
|
508
|
+
"name": "y2",
|
|
509
|
+
"required": false,
|
|
510
|
+
"type": "number"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"type": "object"
|
|
514
|
+
},
|
|
515
|
+
"label": "Shapes",
|
|
516
|
+
"tier": "presentation",
|
|
517
|
+
"type": "[AlgoGraphCanvasShapesItem]"
|
|
518
|
+
},
|
|
519
|
+
"title": {
|
|
520
|
+
"description": "title prop",
|
|
521
|
+
"label": "Title",
|
|
522
|
+
"tier": "presentation",
|
|
523
|
+
"type": "string"
|
|
524
|
+
},
|
|
525
|
+
"width": {
|
|
526
|
+
"default": 600.0,
|
|
527
|
+
"description": "width prop",
|
|
528
|
+
"label": "Width",
|
|
529
|
+
"tier": "presentation",
|
|
530
|
+
"type": "number"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"emits": [
|
|
534
|
+
{
|
|
535
|
+
"description": "onShapeClick prop",
|
|
536
|
+
"event": "@config.onShapeClick",
|
|
537
|
+
"eventId": "evt_01M0AJDD7B2J619AFDYF0N1PEB",
|
|
538
|
+
"payloadSchema": [
|
|
539
|
+
{
|
|
540
|
+
"name": "payload",
|
|
541
|
+
"properties": [
|
|
542
|
+
{
|
|
543
|
+
"name": "id",
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "type",
|
|
548
|
+
"type": "string"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "index",
|
|
552
|
+
"required": true,
|
|
553
|
+
"type": "number"
|
|
554
|
+
}
|
|
555
|
+
],
|
|
556
|
+
"type": "object"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"scope": "external",
|
|
560
|
+
"tier": "essential"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"description": "Fires when a node circle is clicked, alongside `onShapeClick`.",
|
|
564
|
+
"event": "@config.onNodeClick",
|
|
565
|
+
"eventId": "evt_01M0AJDD7BRJ54N24SZ4AQR6C2",
|
|
566
|
+
"payloadSchema": [
|
|
567
|
+
{
|
|
568
|
+
"name": "payload",
|
|
569
|
+
"properties": [
|
|
570
|
+
{
|
|
571
|
+
"name": "id",
|
|
572
|
+
"required": true,
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "label",
|
|
577
|
+
"type": "string"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "index",
|
|
581
|
+
"required": true,
|
|
582
|
+
"type": "number"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"type": "object"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"scope": "external",
|
|
589
|
+
"tier": "essential"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"entityContract": {
|
|
593
|
+
"provides": [],
|
|
594
|
+
"requires": []
|
|
595
|
+
},
|
|
596
|
+
"entityRebindable": true,
|
|
597
|
+
"entityRefIds": {
|
|
598
|
+
"AlgoGraphCanvasItem": "ent_01M0AJDD7AQ5TEPE2WXKT5H2RH"
|
|
599
|
+
},
|
|
600
|
+
"id": "trt_01M0AJDD7ASDZB97YQCGNENQ23",
|
|
601
|
+
"linkedEntity": "AlgoGraphCanvasItem",
|
|
602
|
+
"linkedEntityId": "ent_01M0AJDD7AQ5TEPE2WXKT5H2RH",
|
|
603
|
+
"name": "AlgoGraphCanvasRender",
|
|
604
|
+
"scope": "instance",
|
|
605
|
+
"stateMachine": {
|
|
606
|
+
"events": [
|
|
607
|
+
{
|
|
608
|
+
"id": "evt_01M0AJDD7ADSV9H1ZGABSCFE5V",
|
|
609
|
+
"key": "INIT",
|
|
610
|
+
"name": "Initialize"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"description": "onShapeClick prop",
|
|
614
|
+
"id": "evt_01M0AJDD7B2J619AFDYF0N1PEB",
|
|
615
|
+
"key": "@config.onShapeClick",
|
|
616
|
+
"name": "@config.on shape click",
|
|
617
|
+
"payloadSchema": [
|
|
618
|
+
{
|
|
619
|
+
"name": "payload",
|
|
620
|
+
"properties": [
|
|
621
|
+
{
|
|
622
|
+
"name": "id",
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "type",
|
|
627
|
+
"type": "string"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"name": "index",
|
|
631
|
+
"required": true,
|
|
632
|
+
"type": "number"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"type": "object"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"tier": "essential"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"description": "Fires when a node circle is clicked, alongside `onShapeClick`.",
|
|
642
|
+
"id": "evt_01M0AJDD7BRJ54N24SZ4AQR6C2",
|
|
643
|
+
"key": "@config.onNodeClick",
|
|
644
|
+
"name": "@config.on node click",
|
|
645
|
+
"payloadSchema": [
|
|
646
|
+
{
|
|
647
|
+
"name": "payload",
|
|
648
|
+
"properties": [
|
|
649
|
+
{
|
|
650
|
+
"name": "id",
|
|
651
|
+
"required": true,
|
|
652
|
+
"type": "string"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "label",
|
|
656
|
+
"type": "string"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"name": "index",
|
|
660
|
+
"required": true,
|
|
661
|
+
"type": "number"
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"type": "object"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"tier": "essential"
|
|
668
|
+
}
|
|
669
|
+
],
|
|
670
|
+
"states": [
|
|
671
|
+
{
|
|
672
|
+
"isInitial": true,
|
|
673
|
+
"name": "idle"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"transitions": [
|
|
677
|
+
{
|
|
678
|
+
"effects": [
|
|
679
|
+
[
|
|
680
|
+
"render-ui",
|
|
681
|
+
"main",
|
|
682
|
+
{
|
|
683
|
+
"animate": "@config.animate",
|
|
684
|
+
"backgroundColor": "@config.backgroundColor",
|
|
685
|
+
"className": "@config.className",
|
|
686
|
+
"edges": "@config.edges",
|
|
687
|
+
"error": "@config.error",
|
|
688
|
+
"height": "@config.height",
|
|
689
|
+
"interactive": "@config.interactive",
|
|
690
|
+
"isLoading": "@config.isLoading",
|
|
691
|
+
"layout": "@config.layout",
|
|
692
|
+
"nodes": "@config.nodes",
|
|
693
|
+
"onNodeClick": "@config.onNodeClick",
|
|
694
|
+
"onShapeClick": "@config.onShapeClick",
|
|
695
|
+
"root": "@config.root",
|
|
696
|
+
"shapes": "@config.shapes",
|
|
697
|
+
"title": "@config.title",
|
|
698
|
+
"type": "algo-graph-canvas",
|
|
699
|
+
"width": "@config.width"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
],
|
|
703
|
+
"event": "INIT",
|
|
704
|
+
"eventId": "evt_01M0AJDD7ADSV9H1ZGABSCFE5V",
|
|
705
|
+
"from": "idle",
|
|
706
|
+
"to": "idle"
|
|
707
|
+
}
|
|
708
|
+
]
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
]
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"schemaVersion": 1,
|
|
715
|
+
"version": "1.0.0"
|
|
716
|
+
}
|