diff --git a/packages/flow/src/components/Flow.tsx b/packages/flow/src/components/Flow.tsx index 01215129..564dde9a 100644 --- a/packages/flow/src/components/Flow.tsx +++ b/packages/flow/src/components/Flow.tsx @@ -1,21 +1,15 @@ -import { - DefaultLogger, - GraphJSON, - IRegistry, - ManualLifecycleEventEmitter, - registerCoreProfile -} from '@behave-graph/core'; -import React, { useMemo } from 'react'; +import { GraphJSON } from '@behave-graph/core'; +import React from 'react'; import { Background, BackgroundVariant, ReactFlow } from 'reactflow'; import { useBehaveGraphFlow } from '../hooks/useBehaveGraphFlow.js'; import { useFlowHandlers } from '../hooks/useFlowHandlers.js'; import { useGraphRunner } from '../hooks/useGraphRunner.js'; import { useNodeSpecJson } from '../hooks/useNodeSpecJson.js'; +import { useRegistry } from '../hooks/useRegistry.js'; import CustomControls from './Controls.js'; import { Examples } from './modals/LoadModal.js'; import { NodePicker } from './NodePicker.js'; -import { useRegistry } from '../hooks/useRegistry.js'; type FlowProps = { initialGraph: GraphJSON; diff --git a/packages/flow/src/components/Node.tsx b/packages/flow/src/components/Node.tsx index 7482ba15..1fbf849f 100644 --- a/packages/flow/src/components/Node.tsx +++ b/packages/flow/src/components/Node.tsx @@ -1,6 +1,6 @@ import { NodeSpecJSON } from '@behave-graph/core'; -import { NodeProps as FlowNodeProps, useEdges } from 'reactflow'; import React from 'react'; +import { NodeProps as FlowNodeProps, useEdges } from 'reactflow'; import { useChangeNodeData } from '../hooks/useChangeNodeData.js'; import { isHandleConnected } from '../util/isHandleConnected.js';