@localstack/appinspector-ui 1.0.139 → 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.js
CHANGED
|
@@ -31702,7 +31702,7 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
|
|
|
31702
31702
|
const validEdges = inputEdges.filter((error) => nodeIds.has(error.source) && nodeIds.has(error.target));
|
|
31703
31703
|
const buildGraph = () => {
|
|
31704
31704
|
const g2 = new dagre.graphlib.Graph().setDefaultEdgeLabel(() => ({}));
|
|
31705
|
-
g2.setGraph({ rankdir: direction });
|
|
31705
|
+
g2.setGraph({ align: "UL", rankdir: direction });
|
|
31706
31706
|
for (const node of inputNodes) {
|
|
31707
31707
|
g2.setNode(node.id, { height: nodeHeight, width: nodeWidth });
|
|
31708
31708
|
}
|
|
@@ -31774,7 +31774,7 @@ var getLayoutedNodesAndEdges = (inputNodes, inputEdges) => {
|
|
|
31774
31774
|
selectable: true
|
|
31775
31775
|
};
|
|
31776
31776
|
});
|
|
31777
|
-
return { edges:
|
|
31777
|
+
return { edges: validEdges, nodes: layoutedNodes };
|
|
31778
31778
|
};
|
|
31779
31779
|
|
|
31780
31780
|
// src/components/trace-graph/xyflow/controls.tsx
|