xcode-graph 0.1.0 → 0.1.1
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 +131 -30
- package/custom-elements.json +486 -71
- package/dist/xcode-graph.js +17150 -0
- package/dist/xcode-graph.service.js +4906 -0
- package/dist/xcodegraph.js +1 -22164
- package/package.json +20 -2
- package/vscode.html-custom-data.json +359 -69
- package/web-types.json +924 -185
- package/dist/assets/micro-layout.worker-CSeqAKhL.js +0 -1726
package/package.json
CHANGED
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xcode-graph",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"xcodegraph": "1.34.5",
|
|
5
|
+
"description": "Interactive dependency graph visualization web component for Xcode projects",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://ajkolean.github.io/xcode-graph/",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/ajkolean/xcode-graph.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/ajkolean/xcode-graph/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"xcode",
|
|
17
|
+
"tuist",
|
|
18
|
+
"dependency-graph",
|
|
19
|
+
"web-component",
|
|
20
|
+
"lit",
|
|
21
|
+
"visualization"
|
|
22
|
+
],
|
|
5
23
|
"packageManager": "pnpm@10.30.3",
|
|
6
24
|
"type": "module",
|
|
7
25
|
"module": "dist/xcodegraph.js",
|
|
@@ -83,7 +101,7 @@
|
|
|
83
101
|
"test:coverage": "vitest run --coverage",
|
|
84
102
|
"analyze": "cem analyze",
|
|
85
103
|
"analyze:check": "cem analyze && git diff --exit-code custom-elements.json vscode.html-custom-data.json vscode.css-custom-data.json web-types.json",
|
|
86
|
-
"docs:dev": "vitepress dev docs --port 5174",
|
|
104
|
+
"docs:dev": "pnpm typedoc --out docs/.vitepress/dist/api && vitepress dev docs --port 5174",
|
|
87
105
|
"docs:build": "vitepress build docs",
|
|
88
106
|
"docs:preview": "vitepress preview docs --port 5174",
|
|
89
107
|
"docs:api": "typedoc",
|
|
@@ -12,14 +12,46 @@
|
|
|
12
12
|
"name": "xcode-graph-canvas",
|
|
13
13
|
"description": "Canvas-based interactive graph visualization\n---\n\n\n### **Events:**\n - **zoom-change** - Dispatched when the zoom level changes (detail: number)\n- **node-select** - Dispatched when a node is selected or deselected (detail: { node })\n- **node-hover** - Dispatched when a node is hovered (detail: { nodeId })\n- **cluster-select** - Dispatched when a cluster is selected or deselected (detail: { clusterId })\n- **cluster-hover** - Dispatched when a cluster is hovered (detail: { clusterId })\n- **zoom-in** - Dispatched when zoom in is requested via keyboard\n- **zoom-out** - Dispatched when zoom out is requested via keyboard\n- **zoom-reset** - Dispatched when zoom reset is requested via keyboard",
|
|
14
14
|
"attributes": [
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
{
|
|
16
|
+
"name": "search-query",
|
|
17
|
+
"description": "Active search query for dimming non-matching nodes",
|
|
18
|
+
"values": []
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "view-mode",
|
|
22
|
+
"description": "Display mode affecting edge visibility",
|
|
23
|
+
"values": [{ "name": "ViewMode" }]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "zoom",
|
|
27
|
+
"description": "Current zoom level (affects color saturation and label visibility)",
|
|
28
|
+
"values": []
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "enable-animation",
|
|
32
|
+
"description": "Whether physics animation is enabled for layout settling",
|
|
33
|
+
"values": []
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "show-direct-deps",
|
|
37
|
+
"description": "Whether to highlight direct dependency edges",
|
|
38
|
+
"values": []
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "show-transitive-deps",
|
|
42
|
+
"description": "Whether to highlight transitive dependency edges",
|
|
43
|
+
"values": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "show-direct-dependents",
|
|
47
|
+
"description": "Whether to highlight direct dependent edges",
|
|
48
|
+
"values": []
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "show-transitive-dependents",
|
|
52
|
+
"description": "Whether to highlight transitive dependent edges",
|
|
53
|
+
"values": []
|
|
54
|
+
}
|
|
23
55
|
],
|
|
24
56
|
"references": []
|
|
25
57
|
},
|
|
@@ -33,8 +65,16 @@
|
|
|
33
65
|
"name": "xcode-graph-controls",
|
|
34
66
|
"description": "Zoom controls overlay\n---\n\n\n### **Events:**\n - **zoom-step** - Dispatched when a zoom step button is clicked (detail: number)\n- **zoom-reset** - Dispatched when the fit-to-view button is clicked",
|
|
35
67
|
"attributes": [
|
|
36
|
-
{
|
|
37
|
-
|
|
68
|
+
{
|
|
69
|
+
"name": "zoom",
|
|
70
|
+
"description": "Current absolute zoom level",
|
|
71
|
+
"values": []
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "base-zoom",
|
|
75
|
+
"description": "Baseline zoom level used for ratio display (fit-to-view = 1x)",
|
|
76
|
+
"values": []
|
|
77
|
+
}
|
|
38
78
|
],
|
|
39
79
|
"references": []
|
|
40
80
|
},
|
|
@@ -94,9 +134,21 @@
|
|
|
94
134
|
"name": "xcode-graph-right-sidebar-header",
|
|
95
135
|
"description": "Right sidebar header with collapse toggle\n---\n\n\n### **Events:**\n - **toggle-collapse** - Dispatched when the collapse button is clicked",
|
|
96
136
|
"attributes": [
|
|
97
|
-
{
|
|
98
|
-
|
|
99
|
-
|
|
137
|
+
{
|
|
138
|
+
"name": "title",
|
|
139
|
+
"description": "Title text displayed in the header",
|
|
140
|
+
"values": []
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "is-collapsed",
|
|
144
|
+
"description": "Whether the sidebar is currently collapsed",
|
|
145
|
+
"values": []
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "has-active-filters",
|
|
149
|
+
"description": "Whether any filters are currently active (shows indicator dot)",
|
|
150
|
+
"values": []
|
|
151
|
+
}
|
|
100
152
|
],
|
|
101
153
|
"references": []
|
|
102
154
|
},
|
|
@@ -104,10 +156,26 @@
|
|
|
104
156
|
"name": "xcode-graph-collapsed-sidebar",
|
|
105
157
|
"description": "Collapsed sidebar icon bar with filter badges\n---\n\n\n### **Events:**\n - **expand-to-section** - Dispatched when a section icon is clicked (detail: { section })",
|
|
106
158
|
"attributes": [
|
|
107
|
-
{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
159
|
+
{
|
|
160
|
+
"name": "node-types-filter-size",
|
|
161
|
+
"description": "Number of currently selected node type filters",
|
|
162
|
+
"values": []
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "platforms-filter-size",
|
|
166
|
+
"description": "Number of currently selected platform filters",
|
|
167
|
+
"values": []
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "projects-filter-size",
|
|
171
|
+
"description": "Number of currently selected project filters",
|
|
172
|
+
"values": []
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "packages-filter-size",
|
|
176
|
+
"description": "Number of currently selected package filters",
|
|
177
|
+
"values": []
|
|
178
|
+
}
|
|
111
179
|
],
|
|
112
180
|
"references": []
|
|
113
181
|
},
|
|
@@ -181,19 +249,71 @@
|
|
|
181
249
|
"name": "xcode-graph-metrics-section",
|
|
182
250
|
"description": "Metrics grid with toggleable stats cards\n---\n\n\n### **Events:**\n - **card**\n- **toggle-direct-deps** - Dispatched when direct dependencies card is toggled\n- **toggle-transitive-deps** - Dispatched when transitive dependencies card is toggled\n- **toggle-direct-dependents** - Dispatched when direct dependents card is toggled\n- **toggle-transitive-dependents** - Dispatched when transitive dependents card is toggled",
|
|
183
251
|
"attributes": [
|
|
184
|
-
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
{
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
{
|
|
195
|
-
|
|
196
|
-
|
|
252
|
+
{
|
|
253
|
+
"name": "dependencies-count",
|
|
254
|
+
"description": "Number of direct dependencies (filtered)",
|
|
255
|
+
"values": []
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "dependents-count",
|
|
259
|
+
"description": "Number of direct dependents (filtered)",
|
|
260
|
+
"values": []
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "total-dependencies-count",
|
|
264
|
+
"description": "Total number of direct dependencies (unfiltered)",
|
|
265
|
+
"values": []
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "total-dependents-count",
|
|
269
|
+
"description": "Total number of direct dependents (unfiltered)",
|
|
270
|
+
"values": []
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "transitive-dependencies-count",
|
|
274
|
+
"description": "Number of transitive dependencies",
|
|
275
|
+
"values": []
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "transitive-dependents-count",
|
|
279
|
+
"description": "Number of transitive dependents",
|
|
280
|
+
"values": []
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "is-high-fan-in",
|
|
284
|
+
"description": "Whether this node has high fan-in (many dependents)",
|
|
285
|
+
"values": []
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "is-high-fan-out",
|
|
289
|
+
"description": "Whether this node has high fan-out (many dependencies)",
|
|
290
|
+
"values": []
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "active-direct-deps",
|
|
294
|
+
"description": "Whether the direct dependencies card is toggled on",
|
|
295
|
+
"values": []
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "active-transitive-deps",
|
|
299
|
+
"description": "Whether the transitive dependencies card is toggled on",
|
|
300
|
+
"values": []
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "active-direct-dependents",
|
|
304
|
+
"description": "Whether the direct dependents card is toggled on",
|
|
305
|
+
"values": []
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "active-transitive-dependents",
|
|
309
|
+
"description": "Whether the transitive dependents card is toggled on",
|
|
310
|
+
"values": []
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "expanded",
|
|
314
|
+
"description": "Whether the section starts expanded",
|
|
315
|
+
"values": []
|
|
316
|
+
}
|
|
197
317
|
],
|
|
198
318
|
"references": []
|
|
199
319
|
},
|
|
@@ -282,8 +402,16 @@
|
|
|
282
402
|
"name": "xcode-graph-node-header",
|
|
283
403
|
"description": "Node details header with icon, badges, and tags\n---\n\n\n### **Events:**\n - **cluster-click** - Dispatched when a cluster badge is clicked (detail: { clusterId })\n- **close** - Dispatched when the back/close button is clicked",
|
|
284
404
|
"attributes": [
|
|
285
|
-
{
|
|
286
|
-
|
|
405
|
+
{
|
|
406
|
+
"name": "zoom",
|
|
407
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
408
|
+
"values": []
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "show-cluster-link",
|
|
412
|
+
"description": "Whether clicking back navigates to the parent cluster instead of closing",
|
|
413
|
+
"values": []
|
|
414
|
+
}
|
|
287
415
|
],
|
|
288
416
|
"references": []
|
|
289
417
|
},
|
|
@@ -302,16 +430,34 @@
|
|
|
302
430
|
{
|
|
303
431
|
"name": "xcode-graph-node-info",
|
|
304
432
|
"description": "Collapsible node information details section\n---\n",
|
|
305
|
-
"attributes": [
|
|
433
|
+
"attributes": [
|
|
434
|
+
{
|
|
435
|
+
"name": "expanded",
|
|
436
|
+
"description": "Whether the section starts expanded",
|
|
437
|
+
"values": []
|
|
438
|
+
}
|
|
439
|
+
],
|
|
306
440
|
"references": []
|
|
307
441
|
},
|
|
308
442
|
{
|
|
309
443
|
"name": "xcode-graph-list-item-row",
|
|
310
444
|
"description": "Node list row with icon, name, and chevron\n---\n\n\n### **Events:**\n - **row-select** - Dispatched when the row is clicked (detail: { node })\n- **row-hover** - Dispatched on mouse enter (detail: { nodeId })\n- **row-hover-end** - Dispatched on mouse leave",
|
|
311
445
|
"attributes": [
|
|
312
|
-
{
|
|
313
|
-
|
|
314
|
-
|
|
446
|
+
{
|
|
447
|
+
"name": "subtitle",
|
|
448
|
+
"description": "Optional subtitle text shown below the node name",
|
|
449
|
+
"values": []
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "zoom",
|
|
453
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
454
|
+
"values": []
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "is-selected",
|
|
458
|
+
"description": "Whether this row is currently selected",
|
|
459
|
+
"values": []
|
|
460
|
+
}
|
|
315
461
|
],
|
|
316
462
|
"references": []
|
|
317
463
|
},
|
|
@@ -351,11 +497,31 @@
|
|
|
351
497
|
"name": "xcode-graph-node-details-panel",
|
|
352
498
|
"description": "Node details panel with metrics, info, and dependency lists\n---\n\n\n### **Events:**\n - **eventName**\n- **close** - Dispatched when the panel close/back button is clicked\n- **node-select** - Dispatched when a dependency or dependent node is clicked (detail: { node })\n- **cluster-select** - Dispatched when a cluster badge is clicked (detail: { clusterId })\n- **node-hover** - Dispatched when hovering a dependency or dependent node (detail: { nodeId })\n- **toggle-direct-deps** - Dispatched when the direct dependencies metric card is toggled\n- **toggle-transitive-deps** - Dispatched when the transitive dependencies metric card is toggled\n- **toggle-direct-dependents** - Dispatched when the direct dependents metric card is toggled\n- **toggle-transitive-dependents** - Dispatched when the transitive dependents metric card is toggled",
|
|
353
499
|
"attributes": [
|
|
354
|
-
{
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
500
|
+
{
|
|
501
|
+
"name": "active-direct-deps",
|
|
502
|
+
"description": "Whether direct dependencies highlighting is active",
|
|
503
|
+
"values": []
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "active-transitive-deps",
|
|
507
|
+
"description": "Whether transitive dependencies highlighting is active",
|
|
508
|
+
"values": []
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "active-direct-dependents",
|
|
512
|
+
"description": "Whether direct dependents highlighting is active",
|
|
513
|
+
"values": []
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "active-transitive-dependents",
|
|
517
|
+
"description": "Whether transitive dependents highlighting is active",
|
|
518
|
+
"values": []
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "zoom",
|
|
522
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
523
|
+
"values": []
|
|
524
|
+
}
|
|
359
525
|
],
|
|
360
526
|
"references": []
|
|
361
527
|
},
|
|
@@ -393,14 +559,31 @@
|
|
|
393
559
|
"name": "xcode-graph-cluster-header",
|
|
394
560
|
"description": "Cluster details panel header with icon, badges, and path\n---\n\n\n### **Events:**\n - **back** - Dispatched when back button is clicked",
|
|
395
561
|
"attributes": [
|
|
396
|
-
{
|
|
562
|
+
{
|
|
563
|
+
"name": "cluster-name",
|
|
564
|
+
"description": "Display name of the cluster",
|
|
565
|
+
"values": []
|
|
566
|
+
},
|
|
397
567
|
{
|
|
398
568
|
"name": "cluster-type",
|
|
569
|
+
"description": "Whether this cluster is a package or project",
|
|
399
570
|
"values": [{ "name": "package" }, { "name": "project" }]
|
|
400
571
|
},
|
|
401
|
-
{
|
|
402
|
-
|
|
403
|
-
|
|
572
|
+
{
|
|
573
|
+
"name": "cluster-color",
|
|
574
|
+
"description": "Accent color for the cluster icon and badges",
|
|
575
|
+
"values": []
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "cluster-path",
|
|
579
|
+
"description": "Filesystem path to the cluster source (used for source type detection and copy)",
|
|
580
|
+
"values": []
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "is-external",
|
|
584
|
+
"description": "Whether the cluster comes from an external dependency",
|
|
585
|
+
"values": []
|
|
586
|
+
}
|
|
404
587
|
],
|
|
405
588
|
"references": []
|
|
406
589
|
},
|
|
@@ -408,13 +591,41 @@
|
|
|
408
591
|
"name": "xcode-graph-cluster-stats",
|
|
409
592
|
"description": "Collapsible cluster metrics with stats cards and breakdowns\n---\n\n\n### **Events:**\n - **card**\n- **toggle-direct-deps** - Dispatched when dependencies card is toggled\n- **toggle-direct-dependents** - Dispatched when dependents card is toggled",
|
|
410
593
|
"attributes": [
|
|
411
|
-
{
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
{
|
|
417
|
-
|
|
594
|
+
{
|
|
595
|
+
"name": "filtered-dependencies",
|
|
596
|
+
"description": "Number of dependencies visible after filtering",
|
|
597
|
+
"values": []
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "total-dependencies",
|
|
601
|
+
"description": "Total number of dependencies before filtering",
|
|
602
|
+
"values": []
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "filtered-dependents",
|
|
606
|
+
"description": "Number of dependents visible after filtering",
|
|
607
|
+
"values": []
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "total-dependents",
|
|
611
|
+
"description": "Total number of dependents before filtering",
|
|
612
|
+
"values": []
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "active-direct-deps",
|
|
616
|
+
"description": "Whether the direct dependencies card is toggled on",
|
|
617
|
+
"values": []
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "active-direct-dependents",
|
|
621
|
+
"description": "Whether the direct dependents card is toggled on",
|
|
622
|
+
"values": []
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "expanded",
|
|
626
|
+
"description": "Whether the section starts expanded",
|
|
627
|
+
"values": []
|
|
628
|
+
}
|
|
418
629
|
],
|
|
419
630
|
"references": []
|
|
420
631
|
},
|
|
@@ -422,9 +633,21 @@
|
|
|
422
633
|
"name": "xcode-graph-cluster-targets-list",
|
|
423
634
|
"description": "Collapsible cluster targets list grouped by node type\n---\n\n\n### **Events:**\n - **node-select** - Dispatched when a target is clicked (detail: { node })\n- **node-hover** - Dispatched on hover (detail: { nodeId })\n\n### **Methods:**\n \n\n",
|
|
424
635
|
"attributes": [
|
|
425
|
-
{
|
|
426
|
-
|
|
427
|
-
|
|
636
|
+
{
|
|
637
|
+
"name": "filtered-targets-count",
|
|
638
|
+
"description": "Number of targets visible after filtering",
|
|
639
|
+
"values": []
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "total-targets-count",
|
|
643
|
+
"description": "Total number of targets in the cluster",
|
|
644
|
+
"values": []
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "zoom",
|
|
648
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
649
|
+
"values": []
|
|
650
|
+
},
|
|
428
651
|
{
|
|
429
652
|
"name": "expanded",
|
|
430
653
|
"description": "Whether to start expanded (default: true)",
|
|
@@ -437,9 +660,21 @@
|
|
|
437
660
|
"name": "xcode-graph-cluster-details-panel",
|
|
438
661
|
"description": "Cluster details panel with header, stats, and targets\n---\n\n\n### **Events:**\n - **eventName**\n- **close** - Dispatched when the back button is clicked\n- **node-select** - Dispatched when a target node is selected (detail: { node })\n- **node-hover** - Dispatched when a target node is hovered (detail: { nodeId })",
|
|
439
662
|
"attributes": [
|
|
440
|
-
{
|
|
441
|
-
|
|
442
|
-
|
|
663
|
+
{
|
|
664
|
+
"name": "active-direct-deps",
|
|
665
|
+
"description": "Whether direct dependencies highlighting is active",
|
|
666
|
+
"values": []
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "active-direct-dependents",
|
|
670
|
+
"description": "Whether direct dependents highlighting is active",
|
|
671
|
+
"values": []
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "zoom",
|
|
675
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
676
|
+
"values": []
|
|
677
|
+
}
|
|
443
678
|
],
|
|
444
679
|
"references": []
|
|
445
680
|
},
|
|
@@ -471,12 +706,36 @@
|
|
|
471
706
|
"name": "xcode-graph-filter-section",
|
|
472
707
|
"description": "Collapsible filter section with toggleable checkbox items\n---\n\n\n### **Events:**\n - **section-toggle** - Dispatched when the section header is clicked\n- **item-toggle** - Dispatched when an item checkbox is toggled (detail: { key, checked })\n- **preview-change** - Dispatched on item hover for filter preview (detail: { type, value } or null)\n\n### **Slots:**\n - **icon** - Icon to display in the section header",
|
|
473
708
|
"attributes": [
|
|
474
|
-
{
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
{
|
|
709
|
+
{
|
|
710
|
+
"name": "id",
|
|
711
|
+
"description": "Unique section identifier",
|
|
712
|
+
"values": []
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "title",
|
|
716
|
+
"description": "Display title for the section header",
|
|
717
|
+
"values": []
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "icon-name",
|
|
721
|
+
"description": "Icon name for the section header slot",
|
|
722
|
+
"values": []
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "is-expanded",
|
|
726
|
+
"description": "Whether the section is currently expanded",
|
|
727
|
+
"values": []
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "filter-type",
|
|
731
|
+
"description": "The type of filter this section controls",
|
|
732
|
+
"values": [{ "name": "FilterType" }]
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "zoom",
|
|
736
|
+
"description": "Current canvas zoom level for color adjustments",
|
|
737
|
+
"values": []
|
|
738
|
+
}
|
|
480
739
|
],
|
|
481
740
|
"references": []
|
|
482
741
|
},
|
|
@@ -507,7 +766,13 @@
|
|
|
507
766
|
{
|
|
508
767
|
"name": "xcode-graph-error-toast",
|
|
509
768
|
"description": "Individual error notification toast with severity styling\n---\n\n\n### **Events:**\n - **dismiss** - Dispatched when the toast is dismissed (detail: { errorId })\n- **action** - Dispatched when the action button is clicked (detail: { error })",
|
|
510
|
-
"attributes": [
|
|
769
|
+
"attributes": [
|
|
770
|
+
{
|
|
771
|
+
"name": "visible",
|
|
772
|
+
"description": "Whether the toast is currently visible (triggers slide-in animation)",
|
|
773
|
+
"values": []
|
|
774
|
+
}
|
|
775
|
+
],
|
|
511
776
|
"references": []
|
|
512
777
|
},
|
|
513
778
|
{
|
|
@@ -517,11 +782,28 @@
|
|
|
517
782
|
"references": []
|
|
518
783
|
},
|
|
519
784
|
{
|
|
520
|
-
"name": "xcode-graph",
|
|
521
|
-
"description": "
|
|
785
|
+
"name": "xcode-graph-file-upload",
|
|
786
|
+
"description": "File upload button with drag-and-drop support\n---\n\n\n### **Events:**\n - **graph-file-loaded** - Dispatched when a valid JSON file is loaded (detail: { raw: unknown })",
|
|
522
787
|
"attributes": [],
|
|
523
788
|
"references": []
|
|
524
789
|
},
|
|
790
|
+
{
|
|
791
|
+
"name": "xcode-graph",
|
|
792
|
+
"description": "Embeddable graph visualization entry point\n---\n\n\n### **Methods:**\n - **loadRawGraph(raw: _unknown_): _Promise<void>_** - Load raw Tuist graph JSON (the output of `tuist graph --format json`).\nTransforms it into GraphData and sets nodes/edges automatically.\nShows user-facing warnings/errors via ErrorService if the transform has issues.\n\nThe transform service (and its Zod dependency) is lazy-loaded on first\ncall so the main bundle stays small until validation is actually needed.",
|
|
793
|
+
"attributes": [
|
|
794
|
+
{
|
|
795
|
+
"name": "show-upload",
|
|
796
|
+
"description": "Whether to show the file upload overlay for loading graph JSON",
|
|
797
|
+
"values": []
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "color-scheme",
|
|
801
|
+
"description": "Color scheme preference. Set to `'light'` or `'dark'` to force a mode,\nor `'auto'` (default) to follow the user's system preference.",
|
|
802
|
+
"values": [{ "name": "ColorScheme" }]
|
|
803
|
+
}
|
|
804
|
+
],
|
|
805
|
+
"references": []
|
|
806
|
+
},
|
|
525
807
|
{
|
|
526
808
|
"name": "xcode-graph-edge",
|
|
527
809
|
"description": "SVG edge connection between graph nodes\n---\n",
|
|
@@ -647,8 +929,16 @@
|
|
|
647
929
|
"name": "xcode-graph-sidebar",
|
|
648
930
|
"description": "Left sidebar navigation component\n---\n\n\n### **Events:**\n - **tab-change** - Dispatched when a tab is clicked (detail: { tab: string })",
|
|
649
931
|
"attributes": [
|
|
650
|
-
{
|
|
651
|
-
|
|
932
|
+
{
|
|
933
|
+
"name": "collapsed",
|
|
934
|
+
"description": "Whether the sidebar is currently collapsed",
|
|
935
|
+
"values": []
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "defaultCollapsed",
|
|
939
|
+
"description": "Whether the sidebar should start collapsed on first render",
|
|
940
|
+
"values": []
|
|
941
|
+
},
|
|
652
942
|
{
|
|
653
943
|
"name": "active-tab",
|
|
654
944
|
"description": "The currently active tab",
|