fix: imports
This commit is contained in:
@@ -4,9 +4,9 @@ import {
|
||||
getBezierPath,
|
||||
type EdgeProps,
|
||||
} from '@xyflow/react'
|
||||
import FlowContext from '../../lib/graph/flowContext'
|
||||
import { getConnectionStatus, CONNECTION_STATUS_CLASS } from '../../lib/connectionStatus'
|
||||
import { getConnectionLabelForTarget } from '../../lib/graph/nodeRegistry'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import { getConnectionStatus, CONNECTION_STATUS_CLASS } from '@/lib/graph/connectionStatus'
|
||||
import { getConnectionLabelForTarget } from '@/lib/graph/nodeRegistry'
|
||||
|
||||
const EDGE_STROKE_WIDTH = 2
|
||||
const DOT_MARKER_R = 1.5
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React, { useContext, useMemo } from 'react'
|
||||
import FlowContext from '../../lib/graph/flowContext'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import { ArrowDownLeft, ArrowUpRight } from 'lucide-react'
|
||||
import { NodeHelpPopover } from './NodeHelpPopover'
|
||||
import { getNodeType, getNodeClassificationLabel } from '../../lib/graph/nodeRegistry'
|
||||
import { NodeHelpPopover } from '@/components/graph/NodeHelpPopover'
|
||||
import { getNodeType, getNodeClassificationLabel } from '@/lib/graph/nodeRegistry'
|
||||
|
||||
type Props = {
|
||||
nodeId: string
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react'
|
||||
import FlowContext from '../../lib/graph/flowContext'
|
||||
import type { AppNode } from '../../lib/graph/nodeTypes'
|
||||
import { replaceNodeIdInGraph } from '../../lib/graph/flowUtils'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import type { AppNode } from '@/lib/graph/nodeTypes'
|
||||
import { replaceNodeIdInGraph } from '@/lib/graph/flowUtils'
|
||||
|
||||
type Props = {
|
||||
nodeId: string
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from 'react'
|
||||
import { HelpCircle } from 'lucide-react'
|
||||
import { Popover, PopoverContent, PopoverTrigger } from '../ui/popover'
|
||||
import { getNodeHelp } from '../../lib/graph/nodeRegistry'
|
||||
import { cn } from '../../lib/utils'
|
||||
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
||||
import { getNodeHelp } from '@/lib/graph/nodeRegistry'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
type Props = {
|
||||
nodeType: string
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { useCallback, useContext } from 'react'
|
||||
import FlowContext from '../../lib/graph/flowContext'
|
||||
import FlowContext from '@/lib/graph/flowContext'
|
||||
import {
|
||||
Menubar,
|
||||
MenubarContent,
|
||||
@@ -11,8 +11,8 @@ import {
|
||||
MenubarSubContent,
|
||||
MenubarSubTrigger,
|
||||
MenubarTrigger,
|
||||
} from '../ui/menubar'
|
||||
import { Kbd } from '../ui/kbd'
|
||||
} from '@/components/ui/menubar'
|
||||
import { Kbd } from '@/components/ui/kbd'
|
||||
type Props = {
|
||||
nodeId: string
|
||||
nodeType: string
|
||||
|
||||
Reference in New Issue
Block a user