update: add missing property to store
Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
|||||||
import { CSSProperties } from 'vue'
|
import { CSSProperties, ToRefs } from 'vue'
|
||||||
import { ToRefs } from '@vue/reactivity'
|
|
||||||
import { GraphEdge, Edge } from './edge'
|
import { GraphEdge, Edge } from './edge'
|
||||||
import { GraphNode, CoordinateExtent, Node } from './node'
|
import { GraphNode, CoordinateExtent, Node } from './node'
|
||||||
import { ConnectionLineType, ConnectionMode } from './connection'
|
import { ConnectionLineType, ConnectionMode } from './connection'
|
||||||
|
|||||||
+3
-2
@@ -1,5 +1,4 @@
|
|||||||
import { ComputedRef } from 'vue'
|
import { ComputedRef, CSSProperties, ToRefs } from 'vue'
|
||||||
import { ToRefs } from '@vue/reactivity'
|
|
||||||
import { Dimensions, Elements, FlowElements, FlowInstance, FlowOptions, Rect, SnapGrid, Transform, XYPosition } from './flow'
|
import { Dimensions, Elements, FlowElements, FlowInstance, FlowOptions, Rect, SnapGrid, Transform, XYPosition } from './flow'
|
||||||
import { HandleType, EdgeComponent, NodeComponent } from './components'
|
import { HandleType, EdgeComponent, NodeComponent } from './components'
|
||||||
import { Connection, ConnectionLineType, ConnectionMode, SetConnectionId } from './connection'
|
import { Connection, ConnectionLineType, ConnectionMode, SetConnectionId } from './connection'
|
||||||
@@ -43,6 +42,7 @@ export interface State<N = any, E = N> extends Omit<FlowOptions<N, E>, 'id' | 'm
|
|||||||
connectionPosition: XYPosition
|
connectionPosition: XYPosition
|
||||||
connectionMode: ConnectionMode
|
connectionMode: ConnectionMode
|
||||||
connectionLineType: ConnectionLineType
|
connectionLineType: ConnectionLineType
|
||||||
|
connectionLineStyle: CSSProperties | undefined
|
||||||
edgeUpdaterRadius: number
|
edgeUpdaterRadius: number
|
||||||
|
|
||||||
snapToGrid: boolean
|
snapToGrid: boolean
|
||||||
@@ -90,6 +90,7 @@ export interface Actions<N = any, E = N> {
|
|||||||
setInteractive: (isInteractive: boolean) => void
|
setInteractive: (isInteractive: boolean) => void
|
||||||
setState: (state: Partial<FlowOptions<N, E>>) => void
|
setState: (state: Partial<FlowOptions<N, E>>) => void
|
||||||
updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void
|
updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void
|
||||||
|
$destroy: () => void
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Getters<N = any, E = N> {
|
export interface Getters<N = any, E = N> {
|
||||||
|
|||||||
Reference in New Issue
Block a user