forked from feathr-ai/feathr
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinterface.ts
More file actions
32 lines (27 loc) · 730 Bytes
/
Copy pathinterface.ts
File metadata and controls
32 lines (27 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { CSSProperties } from 'react'
import { NodeProps, ReactFlowProps } from 'react-flow-renderer'
import { FeatureLineage } from '@/models/model'
import { FeatureType } from '@/utils/utils'
export interface NodeData {
id: string
label: string
subtitle: string
featureId: string
version: string
borderColor?: string
active?: boolean
detialUrl?: string
}
export interface FlowGraphProps {
className?: string
style?: CSSProperties
minHeight?: string | number
height?: string | number
loading?: boolean
data?: FeatureLineage
nodeId?: string
project?: string
snapGrid?: ReactFlowProps['snapGrid']
featureType?: FeatureType
}
export interface LineageNodeProps extends NodeProps<NodeData> {}