@localstack/appinspector-ui 1.0.138 → 1.0.140
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -31689,7 +31689,7 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
|
|
|
31689
31689
|
const validEdges = inputEdges.filter((error) => nodeIds.has(error.source) && nodeIds.has(error.target));
|
|
31690
31690
|
const buildGraph = () => {
|
|
31691
31691
|
const g2 = new import_dagre.default.graphlib.Graph().setDefaultEdgeLabel(() => ({}));
|
|
31692
|
-
g2.setGraph({ rankdir: direction });
|
|
31692
|
+
g2.setGraph({ align: "UL", rankdir: direction });
|
|
31693
31693
|
for (const node of inputNodes) {
|
|
31694
31694
|
g2.setNode(node.id, { height: nodeHeight, width: nodeWidth });
|
|
31695
31695
|
}
|
|
@@ -31761,7 +31761,7 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
|
|
|
31761
31761
|
selectable: true
|
|
31762
31762
|
};
|
|
31763
31763
|
});
|
|
31764
|
-
return { edges:
|
|
31764
|
+
return { edges: validEdges, nodes: layoutedNodes };
|
|
31765
31765
|
};
|
|
31766
31766
|
|
|
31767
31767
|
// src/components/trace-graph/xyflow/controls.tsx
|