update(flow): remove store, worker props
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,6 @@ import {
|
||||
} from './flow'
|
||||
import { Connection, ConnectionLineType, ConnectionMode } from './connection'
|
||||
import { GraphNode, Node, NodeExtent, NodeProps, TranslateExtent } from './node'
|
||||
import { FlowStore } from './store'
|
||||
import { EdgeProps } from './edge'
|
||||
import { KeyCode, PanOnScrollMode } from './zoom'
|
||||
|
||||
@@ -32,6 +31,14 @@ export interface HandleElement extends XYPosition, Dimensions {
|
||||
|
||||
export type ValidConnectionFunc = (connection: Connection) => boolean
|
||||
|
||||
export interface HandleProps {
|
||||
id?: string
|
||||
type?: string
|
||||
position?: Position
|
||||
isValidConnection?: ValidConnectionFunc
|
||||
connectable?: boolean
|
||||
}
|
||||
|
||||
export interface BackgroundProps {
|
||||
variant?: BackgroundVariant
|
||||
gap?: number
|
||||
@@ -109,7 +116,6 @@ export interface CustomConnectionLineProps {
|
||||
|
||||
export interface FlowProps extends FlowOptions {
|
||||
id?: string
|
||||
store?: FlowStore
|
||||
modelValue?: Elements
|
||||
nodeTypes?: NodeTypes
|
||||
edgeTypes?: EdgeTypes
|
||||
@@ -146,5 +152,4 @@ export interface FlowProps extends FlowOptions {
|
||||
edgeUpdaterRadius?: number
|
||||
storageKey?: string
|
||||
loading?: Loading
|
||||
worker?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user