@@ -25,7 +25,7 @@ import type {
25
25
} from './connection'
26
26
import type { DefaultEdgeOptions , Edge , EdgeUpdatable , GraphEdge } from './edge'
27
27
import type { CoordinateExtent , CoordinateExtentRange , GraphNode , Node } from './node'
28
- import type { D3Selection , D3Zoom , D3ZoomHandler , PanOnScrollMode , ViewportFunctions , ViewportTransform } from './zoom'
28
+ import type { D3Selection , D3Zoom , D3ZoomHandler , PanOnScrollMode , ViewportTransform } from './zoom'
29
29
import type { CustomEvent , FlowHooks , FlowHooksEmit , FlowHooksOn } from './hooks'
30
30
import type { EdgeChange , NodeChange , NodeDragItem } from './changes'
31
31
import type { ConnectingHandle , ValidConnectionFunc } from './handle'
@@ -218,7 +218,7 @@ export type UpdateNodeData = <Data = ElementData, CustomEvents extends Record<st
218
218
219
219
export type IsNodeIntersecting = ( node : ( Partial < Node > & { id : Node [ 'id' ] } ) | Rect , area : Rect , partially ?: boolean ) => boolean
220
220
221
- export interface Actions extends ViewportFunctions {
221
+ export interface Actions extends Omit < ViewportHelper , 'viewportInitialized' > {
222
222
/** parses elements (nodes + edges) and re-sets the state */
223
223
setElements : SetElements
224
224
/** parses nodes and re-sets the state */
0 commit comments