Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
asikowitz committed Jan 29, 2025
1 parent eff9287 commit 8a4d44f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function useComputeGraph(urn: string, type: EntityType): Processe
const { flowNodes, flowEdges, resetPositions } = useMemo(
() => {
const smallContext = { nodes, edges, adjacencyList };
console.debug('OLD CONTEXT', smallContext);
console.debug(smallContext);

// Computed before nodes are hidden by `hideNodes`, to keep node order consistent.
// Includes nodes that will be hidden, but they'll be filtered out by `getDisplayedNodes`.
Expand All @@ -62,7 +62,7 @@ export default function useComputeGraph(urn: string, type: EntityType): Processe
ignoreSchemaFieldStatus,
};
const newSmallContext = hideNodes(urn, config, smallContext);
console.debug('NEW CONTEXT', newSmallContext);
console.debug(newSmallContext);

const { displayedNodes, parents } = getDisplayedNodes(urn, orderedNodes, newSmallContext);
const nodeBuilder = new NodeBuilder(urn, type, displayedNodes, parents);
Expand Down

0 comments on commit 8a4d44f

Please sign in to comment.