Skip to content

Commit

Permalink
refactor(layoutUtils): Remove debug console logs from getLayoutedNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz committed Aug 7, 2024
1 parent e59092f commit 46286f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/frontend/src/utils/layoutUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export const getLayoutedNodes = async (nodes: NodeType[], edges: Edge[]) => {
targets: [e.targetHandle || e.target],
})),
};
console.log("graph", graph);
const layoutedGraph = await elk.layout(graph);

const layoutedNodes = nodes.map((node) => {
Expand All @@ -76,6 +75,5 @@ export const getLayoutedNodes = async (nodes: NodeType[], edges: Edge[]) => {
type: "genericNode",
};
});
console.log("layoutedNodes", layoutedNodes);
return layoutedNodes;
};

0 comments on commit 46286f6

Please sign in to comment.