@principal-ai/principal-view-react 0.14.0 → 0.14.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.
@@ -59,6 +59,11 @@ import {
59
59
  convertToXYFlowNodes,
60
60
  convertToXYFlowEdges,
61
61
  } from '../utils/graphConverter';
62
+ import {
63
+ getCanvasBounds,
64
+ calculateInitialViewport,
65
+ type Viewport,
66
+ } from '../utils/canvasBounds';
62
67
  import { GraphEditProvider } from '../contexts/GraphEditContext';
63
68
  import { useUndoRedo, type HistoryEntry } from '../hooks/useUndoRedo';
64
69
 
@@ -258,6 +263,20 @@ interface GraphRendererBaseProps {
258
263
  */
259
264
  onCopy?: (selectedNodeIds: string[]) => void;
260
265
 
266
+ /**
267
+ * Container width in pixels. When provided along with containerHeight,
268
+ * enables calculating the initial viewport synchronously to avoid the
269
+ * "zoom in then animate out" effect on initial render.
270
+ */
271
+ containerWidth?: number;
272
+
273
+ /**
274
+ * Container height in pixels. When provided along with containerWidth,
275
+ * enables calculating the initial viewport synchronously to avoid the
276
+ * "zoom in then animate out" effect on initial render.
277
+ */
278
+ containerHeight?: number;
279
+
261
280
  }
262
281
 
263
282
  /** GraphRenderer props - canvas format only */
@@ -514,6 +533,8 @@ interface GraphRendererInnerProps {
514
533
  draggableNodeIds?: Set<string>;
515
534
  onNodeDragStop?: (nodeId: string, position: { x: number; y: number }) => void;
516
535
  onCopy?: (selectedNodeIds: string[]) => void;
536
+ /** Pre-calculated initial viewport to avoid zoom animation on mount */
537
+ initialViewport?: Viewport;
517
538
  }
518
539
 
519
540
  /**
@@ -553,6 +574,7 @@ const GraphRendererInner: React.FC<GraphRendererInnerProps> = ({
553
574
  draggableNodeIds,
554
575
  onNodeDragStop: onNodeDragStopProp,
555
576
  onCopy,
577
+ initialViewport,
556
578
  }) => {
557
579
  const { fitView, fitBounds, getNodes } = useReactFlow();
558
580
  const updateNodeInternals = useUpdateNodeInternals();
@@ -2172,6 +2194,11 @@ const GraphRendererInner: React.FC<GraphRendererInnerProps> = ({
2172
2194
  return;
2173
2195
  }
2174
2196
 
2197
+ // Skip delayed fitView if we have a pre-calculated initial viewport
2198
+ if (initialViewport) {
2199
+ return;
2200
+ }
2201
+
2175
2202
  const timeoutId = setTimeout(() => {
2176
2203
  fitView({
2177
2204
  padding: 0.2,
@@ -2183,7 +2210,7 @@ const GraphRendererInner: React.FC<GraphRendererInnerProps> = ({
2183
2210
  }, 100);
2184
2211
 
2185
2212
  return () => clearTimeout(timeoutId);
2186
- }, [baseNodesKey, baseEdgesKey, fitView, fitViewDuration, fitViewToNodeIds]);
2213
+ }, [baseNodesKey, baseEdgesKey, fitView, fitViewDuration, fitViewToNodeIds, initialViewport]);
2187
2214
 
2188
2215
  // Create a stable key from fitViewToNodeIds for dependency tracking
2189
2216
  const fitViewToNodeIdsKey = useMemo(
@@ -2249,6 +2276,7 @@ const GraphRendererInner: React.FC<GraphRendererInnerProps> = ({
2249
2276
  edgeTypes={edgeTypes}
2250
2277
  minZoom={0.1}
2251
2278
  maxZoom={4}
2279
+ defaultViewport={initialViewport}
2252
2280
  defaultEdgeOptions={{ type: 'custom' }}
2253
2281
  onEdgeClick={onEdgeClick}
2254
2282
  onNodeClick={onNodeClick}
@@ -2615,6 +2643,8 @@ export const GraphRenderer = forwardRef<GraphRendererHandle, GraphRendererProps>
2615
2643
  className,
2616
2644
  width = '100%',
2617
2645
  height = '100%',
2646
+ containerWidth,
2647
+ containerHeight,
2618
2648
  } = props;
2619
2649
  const { theme } = useTheme();
2620
2650
  const containerRef = useRef<HTMLDivElement>(null);
@@ -2629,6 +2659,20 @@ export const GraphRenderer = forwardRef<GraphRendererHandle, GraphRendererProps>
2629
2659
  // Also inject scope colors (for border) and span colors (for fill)
2630
2660
  const canvasData = useCanvasToLegacy(canvas, library, spansCanvas, workflowSpanPattern);
2631
2661
 
2662
+ // Calculate initial viewport if container dimensions are provided
2663
+ // This avoids the "zoom in then animate out" effect on initial render
2664
+ const initialViewport = useMemo(() => {
2665
+ if (!containerWidth || !containerHeight || !canvas) {
2666
+ return undefined;
2667
+ }
2668
+ const bounds = getCanvasBounds(canvas);
2669
+ return calculateInitialViewport(bounds, containerWidth, containerHeight, {
2670
+ padding: 0.2,
2671
+ minZoom: 0.1,
2672
+ maxZoom: 1.5,
2673
+ });
2674
+ }, [canvas, containerWidth, containerHeight]);
2675
+
2632
2676
  // Debug: Log canvas data to help diagnose disappearing edges
2633
2677
  if (process.env.NODE_ENV === 'development') {
2634
2678
  console.log('[GraphRenderer] Canvas data:', {
@@ -2812,6 +2856,7 @@ export const GraphRenderer = forwardRef<GraphRendererHandle, GraphRendererProps>
2812
2856
  draggableNodeIds={draggableNodeIds}
2813
2857
  onNodeDragStop={onNodeDragStop}
2814
2858
  onCopy={onCopy}
2859
+ initialViewport={initialViewport}
2815
2860
  />
2816
2861
  </ReactFlowProvider>
2817
2862
  </TooltipPortalContext.Provider>
package/src/index.ts CHANGED
@@ -77,5 +77,5 @@ export {
77
77
  swapNodePositions,
78
78
  swapEdgeSides,
79
79
  } from './utils/orientationUtils';
80
- export { getCanvasBounds, getCanvasDisplaySize } from './utils/canvasBounds';
81
- export type { CanvasBounds } from './utils/canvasBounds';
80
+ export { getCanvasBounds, getCanvasDisplaySize, calculateInitialViewport } from './utils/canvasBounds';
81
+ export type { CanvasBounds, Viewport } from './utils/canvasBounds';
@@ -2992,3 +2992,148 @@ export const FitViewToNodes: Story = {
2992
2992
  },
2993
2993
  },
2994
2994
  };
2995
+
2996
+ // ============================================================================
2997
+ // Initial Viewport Comparison Story
2998
+ // ============================================================================
2999
+
3000
+ const InitialViewportComparisonTemplate = () => {
3001
+ const [key, setKey] = React.useState(0);
3002
+
3003
+ const handleRemount = () => {
3004
+ setKey((k) => k + 1);
3005
+ };
3006
+
3007
+ return (
3008
+ <div>
3009
+ <div
3010
+ style={{
3011
+ marginBottom: 16,
3012
+ padding: 12,
3013
+ backgroundColor: '#fef3c7',
3014
+ borderRadius: 4,
3015
+ border: '1px solid #f59e0b',
3016
+ }}
3017
+ >
3018
+ <strong style={{ color: '#92400e' }}>Initial Viewport Comparison</strong>
3019
+ <div style={{ marginTop: 8, fontSize: 12, color: '#78350f' }}>
3020
+ <p style={{ margin: '4px 0' }}>
3021
+ Compare the loading behavior with and without pre-calculated viewport dimensions.
3022
+ </p>
3023
+ <p style={{ margin: '8px 0 4px 0' }}>
3024
+ <strong>Left:</strong> Default behavior - starts at zoom=1, then animates to fit
3025
+ </p>
3026
+ <p style={{ margin: '4px 0' }}>
3027
+ <strong>Right:</strong> With <code>containerWidth</code>/<code>containerHeight</code> - instant correct positioning
3028
+ </p>
3029
+ <button
3030
+ onClick={handleRemount}
3031
+ style={{
3032
+ marginTop: 12,
3033
+ padding: '8px 16px',
3034
+ backgroundColor: '#f59e0b',
3035
+ color: 'white',
3036
+ border: 'none',
3037
+ borderRadius: 4,
3038
+ cursor: 'pointer',
3039
+ fontWeight: 'bold',
3040
+ fontSize: 14,
3041
+ }}
3042
+ >
3043
+ Remount Both (to see initial load behavior)
3044
+ </button>
3045
+ </div>
3046
+ </div>
3047
+ <div style={{ display: 'flex', gap: 16 }}>
3048
+ <div style={{ flex: 1 }}>
3049
+ <div
3050
+ style={{
3051
+ padding: '8px 12px',
3052
+ backgroundColor: '#fee2e2',
3053
+ borderRadius: '4px 4px 0 0',
3054
+ border: '1px solid #fca5a5',
3055
+ borderBottom: 'none',
3056
+ fontSize: 12,
3057
+ fontWeight: 'bold',
3058
+ color: '#991b1b',
3059
+ }}
3060
+ >
3061
+ Without containerWidth/Height (animated)
3062
+ </div>
3063
+ <div
3064
+ key={`animated-${key}`}
3065
+ style={{ width: '100%', height: '500px', border: '1px solid #fca5a5' }}
3066
+ >
3067
+ <GraphRenderer canvas={versionRegistryCanvas} />
3068
+ </div>
3069
+ </div>
3070
+ <div style={{ flex: 1 }}>
3071
+ <div
3072
+ style={{
3073
+ padding: '8px 12px',
3074
+ backgroundColor: '#dcfce7',
3075
+ borderRadius: '4px 4px 0 0',
3076
+ border: '1px solid #86efac',
3077
+ borderBottom: 'none',
3078
+ fontSize: 12,
3079
+ fontWeight: 'bold',
3080
+ color: '#166534',
3081
+ }}
3082
+ >
3083
+ With containerWidth/Height (instant)
3084
+ </div>
3085
+ <div
3086
+ key={`instant-${key}`}
3087
+ style={{ width: '100%', height: '500px', border: '1px solid #86efac' }}
3088
+ >
3089
+ <GraphRenderer
3090
+ canvas={versionRegistryCanvas}
3091
+ containerWidth={600}
3092
+ containerHeight={500}
3093
+ />
3094
+ </div>
3095
+ </div>
3096
+ </div>
3097
+ </div>
3098
+ );
3099
+ };
3100
+
3101
+ export const InitialViewportComparison: Story = {
3102
+ render: () => <InitialViewportComparisonTemplate />,
3103
+ parameters: {
3104
+ docs: {
3105
+ description: {
3106
+ story: `
3107
+ **Initial Viewport Comparison** - Demonstrates the difference between default and pre-calculated viewport behavior.
3108
+
3109
+ **The Problem:**
3110
+ By default, React Flow renders at zoom=1 centered at origin, then after ~100ms calls \`fitView()\` with a 200ms animation.
3111
+ This creates a visible "zoom in then zoom out" effect on initial load.
3112
+
3113
+ **The Solution:**
3114
+ When you provide \`containerWidth\` and \`containerHeight\` props, the component calculates the correct viewport
3115
+ (zoom level and pan position) synchronously before the first render. This eliminates the animation entirely.
3116
+
3117
+ **How to Use:**
3118
+ \`\`\`tsx
3119
+ <GraphRenderer
3120
+ canvas={myCanvas}
3121
+ containerWidth={800} // Your container's width in pixels
3122
+ containerHeight={600} // Your container's height in pixels
3123
+ />
3124
+ \`\`\`
3125
+
3126
+ **When to Use:**
3127
+ - When you know the container dimensions ahead of time (fixed layouts)
3128
+ - When the container size comes from a layout system (CSS grid, flexbox with known dimensions)
3129
+ - When you want to eliminate any visual "settling" on initial load
3130
+
3131
+ **When NOT to Use:**
3132
+ - When container dimensions are dynamic/unknown until mount
3133
+ - When using percentage-based sizing without a parent with known dimensions
3134
+ - In these cases, the default delayed fitView behavior is still appropriate
3135
+ `,
3136
+ },
3137
+ },
3138
+ },
3139
+ };
@@ -2,7 +2,7 @@
2
2
  {
3
3
  "id": "span-1",
4
4
  "name": "rules.lint.with.violations",
5
- "startTime": 1773856917201,
5
+ "startTime": 1773938297323,
6
6
  "attributes": {
7
7
  "span.kind": "test.case",
8
8
  "test.name": "rules.lint.with.violations",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "events": [
13
13
  {
14
- "time": 1773856917201,
14
+ "time": 1773938297324,
15
15
  "name": "test.started",
16
16
  "attributes": {
17
17
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  {
24
- "time": 1773856917201,
24
+ "time": 1773938297324,
25
25
  "name": "engine.creating",
26
26
  "attributes": {
27
27
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  {
33
- "time": 1773856917201,
33
+ "time": 1773938297324,
34
34
  "name": "engine.created",
35
35
  "attributes": {
36
36
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -39,7 +39,7 @@
39
39
  }
40
40
  },
41
41
  {
42
- "time": 1773856917201,
42
+ "time": 1773938297324,
43
43
  "name": "lint.starting",
44
44
  "attributes": {
45
45
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -50,7 +50,7 @@
50
50
  }
51
51
  },
52
52
  {
53
- "time": 1773856917205,
53
+ "time": 1773938297328,
54
54
  "name": "lint.completed",
55
55
  "attributes": {
56
56
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  {
65
- "time": 1773856917205,
65
+ "time": 1773938297328,
66
66
  "name": "violations.analyzed",
67
67
  "attributes": {
68
68
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -74,13 +74,13 @@
74
74
  }
75
75
  ],
76
76
  "status": "OK",
77
- "endTime": 1773856917205,
78
- "duration": 4
77
+ "endTime": 1773938297328,
78
+ "duration": 5
79
79
  },
80
80
  {
81
81
  "id": "span-2",
82
82
  "name": "rules.lint.valid.config",
83
- "startTime": 1773856917205,
83
+ "startTime": 1773938297328,
84
84
  "attributes": {
85
85
  "span.kind": "test.case",
86
86
  "test.name": "rules.lint.valid.config",
@@ -89,7 +89,7 @@
89
89
  },
90
90
  "events": [
91
91
  {
92
- "time": 1773856917205,
92
+ "time": 1773938297328,
93
93
  "name": "test.started",
94
94
  "attributes": {
95
95
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -100,7 +100,7 @@
100
100
  }
101
101
  },
102
102
  {
103
- "time": 1773856917205,
103
+ "time": 1773938297328,
104
104
  "name": "lint.starting",
105
105
  "attributes": {
106
106
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -110,7 +110,7 @@
110
110
  }
111
111
  },
112
112
  {
113
- "time": 1773856917206,
113
+ "time": 1773938297329,
114
114
  "name": "lint.completed",
115
115
  "attributes": {
116
116
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -122,13 +122,13 @@
122
122
  }
123
123
  ],
124
124
  "status": "OK",
125
- "endTime": 1773856917206,
125
+ "endTime": 1773938297329,
126
126
  "duration": 1
127
127
  },
128
128
  {
129
129
  "id": "span-3",
130
130
  "name": "rules.lint.severity.override",
131
- "startTime": 1773856917206,
131
+ "startTime": 1773938297329,
132
132
  "attributes": {
133
133
  "span.kind": "test.case",
134
134
  "test.name": "rules.lint.severity.override",
@@ -137,7 +137,7 @@
137
137
  },
138
138
  "events": [
139
139
  {
140
- "time": 1773856917206,
140
+ "time": 1773938297329,
141
141
  "name": "test.started",
142
142
  "attributes": {
143
143
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -147,7 +147,7 @@
147
147
  }
148
148
  },
149
149
  {
150
- "time": 1773856917206,
150
+ "time": 1773938297329,
151
151
  "name": "lint.starting",
152
152
  "attributes": {
153
153
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -157,7 +157,7 @@
157
157
  }
158
158
  },
159
159
  {
160
- "time": 1773856917206,
160
+ "time": 1773938297329,
161
161
  "name": "lint.completed",
162
162
  "attributes": {
163
163
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -168,13 +168,13 @@
168
168
  }
169
169
  ],
170
170
  "status": "OK",
171
- "endTime": 1773856917206,
171
+ "endTime": 1773938297329,
172
172
  "duration": 0
173
173
  },
174
174
  {
175
175
  "id": "span-4",
176
176
  "name": "rules.lint.disabled.rules",
177
- "startTime": 1773856917206,
177
+ "startTime": 1773938297329,
178
178
  "attributes": {
179
179
  "span.kind": "test.case",
180
180
  "test.name": "rules.lint.disabled.rules",
@@ -183,7 +183,7 @@
183
183
  },
184
184
  "events": [
185
185
  {
186
- "time": 1773856917206,
186
+ "time": 1773938297329,
187
187
  "name": "test.started",
188
188
  "attributes": {
189
189
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -193,7 +193,7 @@
193
193
  }
194
194
  },
195
195
  {
196
- "time": 1773856917206,
196
+ "time": 1773938297329,
197
197
  "name": "lint.starting",
198
198
  "attributes": {
199
199
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -202,7 +202,7 @@
202
202
  }
203
203
  },
204
204
  {
205
- "time": 1773856917206,
205
+ "time": 1773938297329,
206
206
  "name": "lint.completed",
207
207
  "attributes": {
208
208
  "code.filepath": "rules-engine-instrumented.test.ts",
@@ -214,13 +214,13 @@
214
214
  }
215
215
  ],
216
216
  "status": "OK",
217
- "endTime": 1773856917206,
218
- "duration": 0
217
+ "endTime": 1773938297330,
218
+ "duration": 1
219
219
  },
220
220
  {
221
221
  "id": "span-5",
222
222
  "name": "should convert simple config to nodes and edges",
223
- "startTime": 1773856917458,
223
+ "startTime": 1773938297456,
224
224
  "attributes": {
225
225
  "span.kind": "test.case",
226
226
  "test.name": "should convert simple config to nodes and edges",
@@ -231,7 +231,7 @@
231
231
  },
232
232
  "events": [
233
233
  {
234
- "time": 1773856917458,
234
+ "time": 1773938297456,
235
235
  "name": "setup.started",
236
236
  "attributes": {
237
237
  "code.filepath": "GraphConverter.test.ts",
@@ -240,7 +240,7 @@
240
240
  }
241
241
  },
242
242
  {
243
- "time": 1773856917458,
243
+ "time": 1773938297456,
244
244
  "name": "setup.complete",
245
245
  "attributes": {
246
246
  "code.filepath": "GraphConverter.test.ts",
@@ -250,7 +250,7 @@
250
250
  }
251
251
  },
252
252
  {
253
- "time": 1773856917458,
253
+ "time": 1773938297456,
254
254
  "name": "execution.started",
255
255
  "attributes": {
256
256
  "code.filepath": "GraphConverter.ts",
@@ -259,7 +259,7 @@
259
259
  }
260
260
  },
261
261
  {
262
- "time": 1773856917459,
262
+ "time": 1773938297456,
263
263
  "name": "execution.complete",
264
264
  "attributes": {
265
265
  "code.filepath": "GraphConverter.ts",
@@ -269,7 +269,7 @@
269
269
  }
270
270
  },
271
271
  {
272
- "time": 1773856917459,
272
+ "time": 1773938297456,
273
273
  "name": "assertion.started",
274
274
  "attributes": {
275
275
  "code.filepath": "GraphConverter.test.ts",
@@ -278,7 +278,7 @@
278
278
  }
279
279
  },
280
280
  {
281
- "time": 1773856917459,
281
+ "time": 1773938297456,
282
282
  "name": "assertion.complete",
283
283
  "attributes": {
284
284
  "code.filepath": "GraphConverter.test.ts",
@@ -289,13 +289,13 @@
289
289
  }
290
290
  ],
291
291
  "status": "OK",
292
- "endTime": 1773856917459,
293
- "duration": 1
292
+ "endTime": 1773938297456,
293
+ "duration": 0
294
294
  },
295
295
  {
296
296
  "id": "span-6",
297
297
  "name": "should extract manual positions from node types",
298
- "startTime": 1773856917459,
298
+ "startTime": 1773938297456,
299
299
  "attributes": {
300
300
  "span.kind": "test.case",
301
301
  "test.name": "should extract manual positions from node types",
@@ -306,7 +306,7 @@
306
306
  },
307
307
  "events": [
308
308
  {
309
- "time": 1773856917459,
309
+ "time": 1773938297456,
310
310
  "name": "setup.started",
311
311
  "attributes": {
312
312
  "code.filepath": "GraphConverter.test.ts",
@@ -315,7 +315,7 @@
315
315
  }
316
316
  },
317
317
  {
318
- "time": 1773856917459,
318
+ "time": 1773938297456,
319
319
  "name": "setup.complete",
320
320
  "attributes": {
321
321
  "code.filepath": "GraphConverter.test.ts",
@@ -325,7 +325,7 @@
325
325
  }
326
326
  },
327
327
  {
328
- "time": 1773856917459,
328
+ "time": 1773938297456,
329
329
  "name": "execution.started",
330
330
  "attributes": {
331
331
  "code.filepath": "GraphConverter.ts",
@@ -334,7 +334,7 @@
334
334
  }
335
335
  },
336
336
  {
337
- "time": 1773856917459,
337
+ "time": 1773938297456,
338
338
  "name": "execution.complete",
339
339
  "attributes": {
340
340
  "code.filepath": "GraphConverter.ts",
@@ -343,7 +343,7 @@
343
343
  }
344
344
  },
345
345
  {
346
- "time": 1773856917459,
346
+ "time": 1773938297456,
347
347
  "name": "assertion.started",
348
348
  "attributes": {
349
349
  "code.filepath": "GraphConverter.test.ts",
@@ -352,7 +352,7 @@
352
352
  }
353
353
  },
354
354
  {
355
- "time": 1773856917459,
355
+ "time": 1773938297456,
356
356
  "name": "assertion.complete",
357
357
  "attributes": {
358
358
  "code.filepath": "GraphConverter.test.ts",
@@ -363,13 +363,13 @@
363
363
  }
364
364
  ],
365
365
  "status": "OK",
366
- "endTime": 1773856917459,
366
+ "endTime": 1773938297456,
367
367
  "duration": 0
368
368
  },
369
369
  {
370
370
  "id": "span-7",
371
371
  "name": "should handle nodes without positions",
372
- "startTime": 1773856917459,
372
+ "startTime": 1773938297456,
373
373
  "attributes": {
374
374
  "span.kind": "test.case",
375
375
  "test.name": "should handle nodes without positions",
@@ -380,7 +380,7 @@
380
380
  },
381
381
  "events": [
382
382
  {
383
- "time": 1773856917459,
383
+ "time": 1773938297456,
384
384
  "name": "setup.started",
385
385
  "attributes": {
386
386
  "code.filepath": "GraphConverter.test.ts",
@@ -389,7 +389,7 @@
389
389
  }
390
390
  },
391
391
  {
392
- "time": 1773856917459,
392
+ "time": 1773938297456,
393
393
  "name": "setup.complete",
394
394
  "attributes": {
395
395
  "code.filepath": "GraphConverter.test.ts",
@@ -399,7 +399,7 @@
399
399
  }
400
400
  },
401
401
  {
402
- "time": 1773856917459,
402
+ "time": 1773938297456,
403
403
  "name": "execution.started",
404
404
  "attributes": {
405
405
  "code.filepath": "GraphConverter.ts",
@@ -408,7 +408,7 @@
408
408
  }
409
409
  },
410
410
  {
411
- "time": 1773856917459,
411
+ "time": 1773938297456,
412
412
  "name": "execution.complete",
413
413
  "attributes": {
414
414
  "code.filepath": "GraphConverter.ts",
@@ -417,7 +417,7 @@
417
417
  }
418
418
  },
419
419
  {
420
- "time": 1773856917459,
420
+ "time": 1773938297456,
421
421
  "name": "assertion.started",
422
422
  "attributes": {
423
423
  "code.filepath": "GraphConverter.test.ts",
@@ -426,7 +426,7 @@
426
426
  }
427
427
  },
428
428
  {
429
- "time": 1773856917459,
429
+ "time": 1773938297456,
430
430
  "name": "assertion.complete",
431
431
  "attributes": {
432
432
  "code.filepath": "GraphConverter.test.ts",
@@ -437,7 +437,7 @@
437
437
  }
438
438
  ],
439
439
  "status": "OK",
440
- "endTime": 1773856917459,
440
+ "endTime": 1773938297456,
441
441
  "duration": 0
442
442
  }
443
443
  ]