fix(types): marker types & flowstate id removed from state
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+2
-2
@@ -83,8 +83,8 @@ export interface EdgeProps<Data = any> {
|
||||
labelBgBorderRadius?: number
|
||||
animated?: boolean
|
||||
updatable?: boolean
|
||||
markerStart?: EdgeMarkerType
|
||||
markerEnd?: any
|
||||
markerStart?: string
|
||||
markerEnd?: string
|
||||
}
|
||||
|
||||
export interface SmoothStepEdgeProps<T = any> extends EdgeProps<T> {
|
||||
|
||||
+1
-2
@@ -8,8 +8,7 @@ import { GraphNode, CoordinateExtent, Node } from './node'
|
||||
import { D3Selection, D3Zoom, D3ZoomHandler, KeyCode, PanOnScrollMode } from './zoom'
|
||||
import { FlowHooks } from './hooks'
|
||||
|
||||
export interface FlowState<N = any, E = N> extends FlowOptions<N, E> {
|
||||
id?: never
|
||||
export interface FlowState<N = any, E = N> extends Omit<FlowOptions<N, E>, 'id'> {
|
||||
hooks: FlowHooks
|
||||
instance?: FlowInstance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user