@principal-ai/subsystems-react 0.17.0 → 0.19.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.
Files changed (108) hide show
  1. package/README.md +11 -85
  2. package/dist/index.d.ts +7 -44
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +6 -32
  5. package/dist/index.js.map +1 -1
  6. package/dist/subsystem/SubsystemCarousel.d.ts +36 -0
  7. package/dist/subsystem/SubsystemCarousel.d.ts.map +1 -0
  8. package/dist/subsystem/SubsystemCarousel.js +163 -0
  9. package/dist/subsystem/SubsystemCarousel.js.map +1 -0
  10. package/dist/subsystem/SubsystemComponentGraph.d.ts +25 -0
  11. package/dist/subsystem/SubsystemComponentGraph.d.ts.map +1 -1
  12. package/dist/subsystem/SubsystemComponentGraph.js +329 -68
  13. package/dist/subsystem/SubsystemComponentGraph.js.map +1 -1
  14. package/package.json +4 -4
  15. package/src/index.ts +9 -199
  16. package/src/subsystem/SubsystemComponentGraph.tsx +396 -50
  17. package/src/components/ConfigurationSelector.tsx +0 -133
  18. package/src/components/GraphRenderer.tsx +0 -3195
  19. package/src/components/MultiCanvasRenderer.tsx +0 -295
  20. package/src/components/NodeTooltip.tsx +0 -279
  21. package/src/components/PendingChanges.test.tsx +0 -375
  22. package/src/components/SelectionSidebar.tsx +0 -352
  23. package/src/components/SequenceDiagramRenderer.tsx +0 -1156
  24. package/src/components/WorkflowSequenceDiagram.tsx +0 -270
  25. package/src/components/dashboard/DashboardRenderer.tsx +0 -317
  26. package/src/components/dashboard/MetricPanel.tsx +0 -254
  27. package/src/components/dashboard/MockDataProvider.ts +0 -330
  28. package/src/components/dashboard/components/BarChart.tsx +0 -299
  29. package/src/components/dashboard/components/LineChart.tsx +0 -279
  30. package/src/components/dashboard/components/MetricCard.tsx +0 -270
  31. package/src/components/dashboard/components/SourceLink.tsx +0 -63
  32. package/src/components/dashboard/components/TimeRangeSelector.tsx +0 -280
  33. package/src/components/dashboard/components/index.ts +0 -5
  34. package/src/components/dashboard/index.ts +0 -47
  35. package/src/components/dashboard/types.ts +0 -126
  36. package/src/components/state-view/PipelineView.tsx +0 -347
  37. package/src/components/state-view/index.ts +0 -14
  38. package/src/components/state-view/types.ts +0 -261
  39. package/src/components/state-view/useStateView.ts +0 -205
  40. package/src/contexts/GraphEditContext.tsx +0 -27
  41. package/src/contexts/TooltipPortalContext.ts +0 -8
  42. package/src/edges/CustomEdge.tsx +0 -402
  43. package/src/edges/GenericEdge.tsx +0 -36
  44. package/src/hooks/usePathBasedEvents.ts +0 -192
  45. package/src/hooks/useSequenceLayout.ts +0 -543
  46. package/src/hooks/useUndoRedo.ts +0 -144
  47. package/src/nodes/CustomNode.tsx +0 -1231
  48. package/src/nodes/GenericNode.tsx +0 -55
  49. package/src/nodes/otel/OtelBoundaryNode.tsx +0 -224
  50. package/src/nodes/otel/OtelEventNode.tsx +0 -225
  51. package/src/nodes/otel/OtelResourceNode.tsx +0 -251
  52. package/src/nodes/otel/OtelScopeNode.tsx +0 -221
  53. package/src/nodes/otel/OtelSpanConventionNode.tsx +0 -295
  54. package/src/nodes/otel/index.ts +0 -23
  55. package/src/nodes/otel/shared/NodeBadges.tsx +0 -295
  56. package/src/nodes/otel/shared/NodeContent.tsx +0 -204
  57. package/src/nodes/otel/shared/index.ts +0 -8
  58. package/src/nodes/otel/shared/types.ts +0 -138
  59. package/src/nodes/otel/shared/useNodeBehavior.ts +0 -114
  60. package/src/stories/Audit/BoundaryNodes.stories.tsx +0 -385
  61. package/src/stories/Audit/CanvasEdgeTypes.stories.tsx +0 -1448
  62. package/src/stories/Audit/CanvasNodeTypes.stories.tsx +0 -1049
  63. package/src/stories/Audit/ColorPriority.stories.tsx +0 -895
  64. package/src/stories/Audit/DiamondBadges.stories.tsx +0 -629
  65. package/src/stories/Audit/NodeDimensionsTesting.stories.tsx +0 -724
  66. package/src/stories/Audit/NodeFieldsAudit.stories.tsx +0 -996
  67. package/src/stories/Audit/NodeFontSizeTesting.stories.tsx +0 -715
  68. package/src/stories/Audit/NodeShapes.stories.tsx +0 -1208
  69. package/src/stories/Audit/WideNodesTesting.stories.tsx +0 -1045
  70. package/src/stories/Components/DashboardRenderer.stories.tsx +0 -263
  71. package/src/stories/Components/GraphRenderer.stories.tsx +0 -3236
  72. package/src/stories/Components/MultiCanvasRenderer.stories.tsx +0 -370
  73. package/src/stories/Components/SequenceDiagram.stories.tsx +0 -255
  74. package/src/stories/Components/StateView.stories.tsx +0 -417
  75. package/src/stories/Components/TraceViewer.stories.tsx +0 -442
  76. package/src/stories/Components/WorkflowSequenceDiagram.stories.tsx +0 -802
  77. package/src/stories/Features/AnimationWorkshop.stories.tsx +0 -727
  78. package/src/stories/Features/ChangeTypeVisual.stories.tsx +0 -67
  79. package/src/stories/Features/EventDrivenAnimations.stories.tsx +0 -513
  80. package/src/stories/Features/MultiConfig.stories.tsx +0 -539
  81. package/src/stories/Layout/ElkEdgeRouting.stories.tsx +0 -539
  82. package/src/stories/Layout/GraphOrientation.stories.tsx +0 -500
  83. package/src/stories/Layout/MultiDirectionalConnections.stories.tsx +0 -352
  84. package/src/stories/Nodes/NodeDefinitionComparison.stories.tsx +0 -560
  85. package/src/stories/Nodes/NodeNameFallbacks.stories.tsx +0 -491
  86. package/src/stories/Nodes/NumericColors.stories.tsx +0 -440
  87. package/src/stories/OTEL/EventNameDisplay.stories.tsx +0 -694
  88. package/src/stories/OTEL/EventNameFallback.stories.tsx +0 -578
  89. package/src/stories/OTEL/OtelComponents.stories.tsx +0 -422
  90. package/src/stories/OTEL/OtelNodeTypesPrototype.stories.tsx +0 -806
  91. package/src/stories/OTEL/RawEventCards.stories.tsx +0 -57
  92. package/src/stories/OTEL/SpanBadges.stories.tsx +0 -840
  93. package/src/stories/OTEL/ValidationEventsCanvas.stories.tsx +0 -209
  94. package/src/stories/RealWorld/BacklogMdCanvases.stories.tsx +0 -721
  95. package/src/stories/RealWorld/FileCitySequence.stories.tsx +0 -516
  96. package/src/stories/RealWorld/RealCanvasFiles.stories.tsx +0 -336
  97. package/src/stories/__traces__/test-run.canvas.json +0 -241
  98. package/src/stories/data/activity-feed-analytics.dashboard.json +0 -300
  99. package/src/stories/data/file-city-images-transformed.otel.canvas.json +0 -295
  100. package/src/stories/data/file-city-workflows.json +0 -269
  101. package/src/stories/data/graph-converter-test-execution.json +0 -443
  102. package/src/stories/data/graph-converter-test.workflow.json +0 -105
  103. package/src/stories/data/graph-converter-validated-execution.json +0 -58
  104. package/src/utils/animationMapping.ts +0 -166
  105. package/src/utils/canvasBounds.ts +0 -146
  106. package/src/utils/graphConverter.ts +0 -148
  107. package/src/utils/iconResolver.tsx +0 -53
  108. package/src/utils/orientationUtils.ts +0 -73
@@ -1,300 +0,0 @@
1
- {
2
- "$schema": "https://principal.ai/schemas/dashboard.v1.json",
3
- "id": "activity-feed-analytics",
4
- "name": "Activity Feed Analytics",
5
- "description": "User engagement metrics for the activity feed home page",
6
- "owner": "web-ade-team",
7
-
8
- "externalLinks": {
9
- "grafana": "https://grafana.internal/d/activity-feed",
10
- "runbook": "https://wiki.internal/runbooks/activity-feed"
11
- },
12
-
13
- "metrics": [
14
- {
15
- "id": "mobile-view-percentage",
16
- "name": "Mobile View %",
17
- "description": "Percentage of activity feed loads on mobile devices",
18
- "type": "gauge",
19
- "unit": "%",
20
-
21
- "sources": [{
22
- "storyboard": "activity-feed",
23
- "workflow": "feed-load",
24
- "nodes": ["init-started"],
25
- "event": "activity-feed.init.started"
26
- }],
27
-
28
- "query": {
29
- "derivation": "percentage",
30
- "filter": "isMobile = true",
31
- "window": "1h"
32
- },
33
-
34
- "display": {
35
- "component": "MetricCard",
36
- "size": "medium",
37
- "showTrend": true,
38
- "showSparkline": true
39
- },
40
-
41
- "_mockData": {
42
- "current": 34.2,
43
- "previous": 31.8,
44
- "trend": "up",
45
- "series": [
46
- { "date": "2024-03-27T00:00", "value": 31.2 },
47
- { "date": "2024-03-27T01:00", "value": 32.1 },
48
- { "date": "2024-03-27T02:00", "value": 33.0 },
49
- { "date": "2024-03-27T03:00", "value": 32.5 },
50
- { "date": "2024-03-27T04:00", "value": 33.8 },
51
- { "date": "2024-03-27T05:00", "value": 34.2 }
52
- ]
53
- }
54
- },
55
- {
56
- "id": "total-page-views",
57
- "name": "Total Page Views",
58
- "description": "Total home page views in the last hour",
59
- "type": "counter",
60
- "unit": "views",
61
-
62
- "sources": [{
63
- "storyboard": "activity-feed",
64
- "workflow": "feed-load",
65
- "event": "activity-feed.init.started"
66
- }],
67
-
68
- "query": {
69
- "derivation": "count",
70
- "window": "1h"
71
- },
72
-
73
- "display": {
74
- "component": "MetricCard",
75
- "size": "medium",
76
- "showSparkline": true
77
- },
78
-
79
- "_mockData": {
80
- "current": 28493,
81
- "previous": 26102,
82
- "trend": "up",
83
- "series": [
84
- { "date": "2024-03-27T00:00", "value": 25102 },
85
- { "date": "2024-03-27T01:00", "value": 26234 },
86
- { "date": "2024-03-27T02:00", "value": 25890 },
87
- { "date": "2024-03-27T03:00", "value": 27102 },
88
- { "date": "2024-03-27T04:00", "value": 28100 },
89
- { "date": "2024-03-27T05:00", "value": 28493 }
90
- ]
91
- }
92
- },
93
- {
94
- "id": "error-rate",
95
- "name": "Error Rate",
96
- "description": "Percentage of feed loads that resulted in errors",
97
- "type": "gauge",
98
- "unit": "%",
99
-
100
- "sources": [{
101
- "storyboard": "activity-feed",
102
- "workflow": "feed-load",
103
- "nodes": ["init-error"]
104
- }],
105
-
106
- "query": {
107
- "derivation": "error_rate",
108
- "window": "1h"
109
- },
110
-
111
- "thresholds": {
112
- "warning": 2.0,
113
- "critical": 5.0
114
- },
115
-
116
- "display": {
117
- "component": "MetricCard",
118
- "size": "medium",
119
- "showTrend": true,
120
- "showSparkline": true
121
- },
122
-
123
- "_mockData": {
124
- "current": 0.8,
125
- "previous": 1.2,
126
- "trend": "down",
127
- "series": [
128
- { "date": "2024-03-27T00:00", "value": 1.4 },
129
- { "date": "2024-03-27T01:00", "value": 1.2 },
130
- { "date": "2024-03-27T02:00", "value": 1.1 },
131
- { "date": "2024-03-27T03:00", "value": 0.9 },
132
- { "date": "2024-03-27T04:00", "value": 0.85 },
133
- { "date": "2024-03-27T05:00", "value": 0.8 }
134
- ]
135
- }
136
- },
137
- {
138
- "id": "daily-home-page-views",
139
- "name": "Daily Page Views",
140
- "description": "Home page views per day for the last 7 days",
141
- "type": "counter",
142
- "unit": "views",
143
-
144
- "sources": [{
145
- "storyboard": "activity-feed",
146
- "workflow": "feed-load",
147
- "event": "activity-feed.init.started"
148
- }],
149
-
150
- "query": {
151
- "derivation": "count",
152
- "timeGroup": "day"
153
- },
154
-
155
- "display": {
156
- "component": "LineChart",
157
- "size": "large"
158
- },
159
-
160
- "_mockData": {
161
- "series": [
162
- { "date": "2024-03-21", "value": 28493 },
163
- { "date": "2024-03-22", "value": 31247 },
164
- { "date": "2024-03-23", "value": 29102 },
165
- { "date": "2024-03-24", "value": 27856 },
166
- { "date": "2024-03-25", "value": 30421 },
167
- { "date": "2024-03-26", "value": 32109 },
168
- { "date": "2024-03-27", "value": 29876 }
169
- ]
170
- }
171
- },
172
- {
173
- "id": "views-by-viewport",
174
- "name": "Views by Viewport",
175
- "description": "Daily page views split by mobile vs desktop",
176
- "type": "counter",
177
- "unit": "views",
178
-
179
- "sources": [{
180
- "storyboard": "activity-feed",
181
- "workflow": "feed-load",
182
- "event": "activity-feed.init.started"
183
- }],
184
-
185
- "query": {
186
- "derivation": "count",
187
- "groupBy": ["isMobile"],
188
- "timeGroup": "day"
189
- },
190
-
191
- "display": {
192
- "component": "StackedBarChart",
193
- "size": "large"
194
- },
195
-
196
- "_mockData": {
197
- "series": [
198
- { "date": "2024-03-21", "mobile": 9847, "desktop": 18646 },
199
- { "date": "2024-03-22", "mobile": 11023, "desktop": 20224 },
200
- { "date": "2024-03-23", "mobile": 10156, "desktop": 18946 },
201
- { "date": "2024-03-24", "mobile": 9234, "desktop": 18622 },
202
- { "date": "2024-03-25", "mobile": 10567, "desktop": 19854 },
203
- { "date": "2024-03-26", "mobile": 11234, "desktop": 20875 },
204
- { "date": "2024-03-27", "mobile": 10423, "desktop": 19453 }
205
- ]
206
- }
207
- },
208
- {
209
- "id": "mobile-interaction-rate",
210
- "name": "Mobile Interactions/Session",
211
- "description": "Average number of interactions per mobile session",
212
- "type": "gauge",
213
- "unit": "interactions",
214
-
215
- "sources": [{
216
- "storyboard": "activity-feed",
217
- "workflow": "mobile-interaction",
218
- "nodes": ["card-swipe", "commit-browse"]
219
- }],
220
-
221
- "query": {
222
- "derivation": "avg",
223
- "window": "1h"
224
- },
225
-
226
- "display": {
227
- "component": "MetricCard",
228
- "size": "medium"
229
- },
230
-
231
- "_mockData": {
232
- "current": 4.7,
233
- "previous": 4.2,
234
- "trend": "up"
235
- }
236
- },
237
- {
238
- "id": "desktop-search-usage",
239
- "name": "Search Usage Rate",
240
- "description": "Percentage of desktop sessions that use search",
241
- "type": "gauge",
242
- "unit": "%",
243
-
244
- "sources": [{
245
- "storyboard": "activity-feed",
246
- "workflow": "desktop-interaction",
247
- "nodes": ["search-and-select"]
248
- }],
249
-
250
- "query": {
251
- "derivation": "percentage",
252
- "window": "1h"
253
- },
254
-
255
- "display": {
256
- "component": "MetricCard",
257
- "size": "medium"
258
- },
259
-
260
- "_mockData": {
261
- "current": 23.4,
262
- "previous": 21.8,
263
- "trend": "up"
264
- }
265
- }
266
- ],
267
-
268
- "layout": {
269
- "columns": 12,
270
- "gap": 16,
271
- "breakpoints": {
272
- "mobile": 768,
273
- "tablet": 1024
274
- },
275
- "rows": [
276
- {
277
- "title": "Overview",
278
- "panels": [
279
- { "id": "mobile-view-percentage", "span": 4, "spanMobile": 12 },
280
- { "id": "total-page-views", "span": 4, "spanMobile": 12 },
281
- { "id": "error-rate", "span": 4, "spanMobile": 12 }
282
- ]
283
- },
284
- {
285
- "title": "Traffic Trends",
286
- "panels": [
287
- { "id": "daily-home-page-views", "span": 6, "spanMobile": 12, "minHeight": 280 },
288
- { "id": "views-by-viewport", "span": 6, "spanMobile": 12, "minHeight": 280 }
289
- ]
290
- },
291
- {
292
- "title": "Engagement",
293
- "panels": [
294
- { "id": "mobile-interaction-rate", "span": 6, "spanMobile": 12 },
295
- { "id": "desktop-search-usage", "span": 6, "spanMobile": 12 }
296
- ]
297
- }
298
- ]
299
- }
300
- }
@@ -1,295 +0,0 @@
1
- {
2
- "nodes": [
3
- {
4
- "id": "title",
5
- "type": "text",
6
- "x": 250,
7
- "y": -50,
8
- "width": 500,
9
- "height": 80,
10
- "color": "#64748B",
11
- "text": "# File City Image Generation (Participant Model)\n**Sequence-first architecture: Participants, Move Events, and Transform Events**"
12
- },
13
- {
14
- "id": "main-process",
15
- "type": "otel-participant",
16
- "x": 100,
17
- "y": 100,
18
- "width": 350,
19
- "height": 500,
20
- "label": "Main Process",
21
- "shape": "rectangle",
22
- "participant": {
23
- "name": "FileCityImageService",
24
- "description": "Main process service handling File City image generation",
25
- "scope": "principal-ade-main"
26
- },
27
- "transformEvents": [
28
- {
29
- "name": "file_city.image.requested",
30
- "description": "Image generation request received via IPC",
31
- "attributes": {
32
- "repo_path": {
33
- "type": "string",
34
- "description": "Absolute path to the repository",
35
- "required": true
36
- }
37
- }
38
- },
39
- {
40
- "name": "file_city.cache.checked",
41
- "description": "Checked disk cache for existing image",
42
- "attributes": {
43
- "cache_key": {
44
- "type": "string",
45
- "description": "SHA256 hash used as cache key"
46
- },
47
- "cache_hit": {
48
- "type": "boolean",
49
- "description": "Whether cached image was found"
50
- }
51
- }
52
- },
53
- {
54
- "name": "file_city.filetree.fetched",
55
- "description": "FileTree fetched from repository-monitoring cache",
56
- "attributes": {
57
- "file_count": {
58
- "type": "integer",
59
- "description": "Number of files in tree"
60
- },
61
- "has_tree": {
62
- "type": "boolean",
63
- "description": "Whether file tree was available"
64
- }
65
- }
66
- },
67
- {
68
- "name": "file_city.image.generation_started",
69
- "description": "Started generating File City image",
70
- "attributes": {
71
- "file_count": {
72
- "type": "integer",
73
- "description": "Number of files to visualize"
74
- },
75
- "image_width": {
76
- "type": "integer",
77
- "description": "Output image width in pixels"
78
- },
79
- "image_height": {
80
- "type": "integer",
81
- "description": "Output image height in pixels"
82
- }
83
- }
84
- },
85
- {
86
- "name": "file_city.image.generation_complete",
87
- "description": "Image generated and saved to cache",
88
- "attributes": {
89
- "cache_path": {
90
- "type": "string",
91
- "description": "Path where image was saved"
92
- },
93
- "duration_ms": {
94
- "type": "integer",
95
- "description": "Time taken to generate image"
96
- },
97
- "file_size_bytes": {
98
- "type": "integer",
99
- "description": "Size of generated PNG"
100
- }
101
- }
102
- },
103
- {
104
- "name": "file_city.image.cache_hit",
105
- "description": "Cached image found and returned",
106
- "attributes": {
107
- "cache_path": {
108
- "type": "string",
109
- "description": "Path to cached PNG file"
110
- }
111
- }
112
- },
113
- {
114
- "name": "file_city.image.error",
115
- "description": "Error occurred during image generation",
116
- "attributes": {
117
- "error_type": {
118
- "type": "string",
119
- "description": "Type of error"
120
- },
121
- "error_message": {
122
- "type": "string",
123
- "description": "Error message"
124
- },
125
- "phase": {
126
- "type": "string",
127
- "description": "Phase where error occurred"
128
- }
129
- }
130
- },
131
- {
132
- "name": "file_city.image.skipped",
133
- "description": "Image generation skipped - no file tree available",
134
- "attributes": {
135
- "reason": {
136
- "type": "string",
137
- "description": "Why generation was skipped"
138
- }
139
- }
140
- }
141
- ],
142
- "otel": {
143
- "status": "implemented",
144
- "scope": "principal-ade-main",
145
- "files": [
146
- "src/main/stores/FileCityImageService.ts"
147
- ]
148
- }
149
- },
150
- {
151
- "id": "renderer-process",
152
- "type": "otel-participant",
153
- "x": 550,
154
- "y": 100,
155
- "width": 350,
156
- "height": 500,
157
- "label": "Renderer Process",
158
- "shape": "rectangle",
159
- "participant": {
160
- "name": "ProjectInfoPanel",
161
- "description": "Renderer process component displaying File City images",
162
- "scope": "principal-ade-principal-window"
163
- },
164
- "transformEvents": [
165
- {
166
- "name": "file_city.renderer.action_called",
167
- "description": "Renderer action called to fetch File City image",
168
- "attributes": {
169
- "repo_path": {
170
- "type": "string",
171
- "description": "Repository path requested"
172
- }
173
- }
174
- },
175
- {
176
- "name": "file_city.renderer.url_received",
177
- "description": "URL received from main process via IPC",
178
- "attributes": {
179
- "url": {
180
- "type": "string",
181
- "description": "file:// URL or null"
182
- },
183
- "has_url": {
184
- "type": "boolean",
185
- "description": "Whether a URL was returned"
186
- }
187
- }
188
- },
189
- {
190
- "name": "file_city.renderer.state_updated",
191
- "description": "React state updated with image URL",
192
- "attributes": {
193
- "url": {
194
- "type": "string",
195
- "description": "URL set in state"
196
- }
197
- }
198
- },
199
- {
200
- "name": "file_city.renderer.card_rendered",
201
- "description": "LocalProjectCard rendered with image URL",
202
- "attributes": {
203
- "has_custom_image": {
204
- "type": "boolean",
205
- "description": "Whether customImageUrl prop was provided"
206
- },
207
- "image_url": {
208
- "type": "string",
209
- "description": "The customImageUrl prop value"
210
- }
211
- }
212
- }
213
- ],
214
- "otel": {
215
- "status": "implemented",
216
- "scope": "principal-ade-principal-window",
217
- "files": [
218
- "src/renderer/panels/ProjectInfoPanel.tsx"
219
- ]
220
- }
221
- },
222
- {
223
- "id": "legend",
224
- "type": "text",
225
- "x": 100,
226
- "y": 650,
227
- "width": 800,
228
- "height": 120,
229
- "color": "#64748B",
230
- "text": "## Participant Model Explained\n\n**Nodes** = Participants (the processes/services that interact) \n**Edges** = Move Events (data crossing participant boundaries via IPC) \n**Transform Events** = Internal processing within each participant (annotations on nodes)"
231
- }
232
- ],
233
- "edges": [
234
- {
235
- "id": "ipc-request",
236
- "fromNode": "renderer-process",
237
- "fromSide": "left",
238
- "toNode": "main-process",
239
- "toSide": "right",
240
- "label": "IPC: Request Image",
241
- "edgeType": "calls",
242
- "moveEvent": {
243
- "name": "file_city.image.requested",
244
- "description": "IPC call from renderer to main process requesting image generation",
245
- "type": "calls"
246
- }
247
- },
248
- {
249
- "id": "ipc-response-cache",
250
- "fromNode": "main-process",
251
- "fromSide": "right",
252
- "toNode": "renderer-process",
253
- "toSide": "left",
254
- "label": "IPC: Return Cached URL",
255
- "edgeType": "data-flow",
256
- "moveEvent": {
257
- "name": "file_city.image.cache_hit",
258
- "description": "IPC response returning cached image URL",
259
- "type": "data-flow"
260
- }
261
- },
262
- {
263
- "id": "ipc-response-generated",
264
- "fromNode": "main-process",
265
- "fromSide": "right",
266
- "toNode": "renderer-process",
267
- "toSide": "left",
268
- "label": "IPC: Return Generated URL",
269
- "edgeType": "data-flow",
270
- "moveEvent": {
271
- "name": "file_city.image.generation_complete",
272
- "description": "IPC response returning newly generated image URL",
273
- "type": "data-flow"
274
- }
275
- }
276
- ],
277
- "name": "File City Images (Participant Model)",
278
- "description": "Participant-based canvas following graph-to-sequence concepts: participants as nodes, move events as edges, transform events as annotations",
279
- "nodeTypes": {
280
- "participant": {
281
- "label": "Participant",
282
- "color": "#3B82F6"
283
- }
284
- },
285
- "edgeTypes": {
286
- "calls": {
287
- "label": "Synchronous Call",
288
- "color": "#10B981"
289
- },
290
- "data-flow": {
291
- "label": "Data Flow",
292
- "color": "#8B5CF6"
293
- }
294
- }
295
- }