@localstack/appinspector-ui 1.0.132 → 1.0.133
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/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -31889,7 +31889,11 @@ var TraceGraph = ({
|
|
|
31889
31889
|
});
|
|
31890
31890
|
}
|
|
31891
31891
|
}
|
|
31892
|
-
const
|
|
31892
|
+
const knownSpanIds = new Set(allNodes.map((node) => node.id));
|
|
31893
|
+
const validEdges = allEdges.filter(
|
|
31894
|
+
(edge) => knownSpanIds.has(edge.source) && knownSpanIds.has(edge.target)
|
|
31895
|
+
);
|
|
31896
|
+
const { edges: layoutedEdges, nodes: layoutedNodes } = getLayoutedNodesAndEdges(allNodes, validEdges);
|
|
31893
31897
|
for (const node of layoutedNodes) {
|
|
31894
31898
|
if (node.id === initialFocusEventId) {
|
|
31895
31899
|
node.selected = true;
|