chore: remove unused imports
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { CSSProperties } from 'vue'
|
||||
import { XYPosition, Position, SnapGrid, Element, XYZPosition, Dimensions } from './flow'
|
||||
import { HandleElement, ValidConnectionFunc } from './components'
|
||||
import { CSSProperties } from 'vue'
|
||||
|
||||
export type CoordinateExtent = [[number, number], [number, number]]
|
||||
|
||||
|
||||
+5
-2
@@ -14,8 +14,8 @@ import {
|
||||
} from './flow'
|
||||
import { HandleType, EdgeComponent, NodeComponent, NodeTypes, EdgeTypes } from './components'
|
||||
import { ConnectionLineType, ConnectionMode, SetConnectionId } from './connection'
|
||||
import { GraphEdge } from './edge'
|
||||
import { GraphNode, CoordinateExtent } from './node'
|
||||
import { Edge, GraphEdge } from './edge'
|
||||
import { GraphNode, CoordinateExtent, Node } from './node'
|
||||
import { D3Selection, D3Zoom, D3ZoomHandler, InitD3ZoomPayload, KeyCode, PanOnScrollMode } from './zoom'
|
||||
import { FlowHooks } from './hooks'
|
||||
|
||||
@@ -85,6 +85,9 @@ export interface FlowState extends Omit<FlowOptions, 'elements' | 'id'> {
|
||||
}
|
||||
|
||||
export interface FlowActions {
|
||||
setElements: (elements: Elements, extent: CoordinateExtent) => void
|
||||
setNodes: (nodes: Node[], extent: CoordinateExtent) => void
|
||||
setEdges: (edges: Edge[]) => void
|
||||
setUserSelection: (mousePos: XYPosition) => void
|
||||
updateUserSelection: (mousePos: XYPosition) => void
|
||||
unsetUserSelection: () => void
|
||||
|
||||
Reference in New Issue
Block a user