-
-
Notifications
You must be signed in to change notification settings - Fork 319
/
Copy pathindex.ts
76 lines (64 loc) · 2.61 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/**
* Vue Flow
* @module vue-flow
*/
export { default as VueFlow } from './container/VueFlow/VueFlow.vue'
export { default as Handle } from './components/Handle/Handle.vue'
export { default as Panel } from './components/Panel/Panel.vue'
export { default as StraightEdge } from './components/Edges/StraightEdge'
export { default as StepEdge } from './components/Edges/StepEdge'
export { default as BezierEdge } from './components/Edges/BezierEdge'
export { default as SimpleBezierEdge } from './components/Edges/SimpleBezierEdge'
export { default as SmoothStepEdge } from './components/Edges/SmoothStepEdge'
export { default as BaseEdge } from './components/Edges/BaseEdge.vue'
export { default as EdgeText } from './components/Edges/EdgeText.vue'
export { default as EdgeLabelRenderer } from './components/Edges/EdgeLabelRenderer.vue'
export {
getBezierPath,
getSimpleBezierPath,
getSmoothStepPath,
getStraightPath,
getSimpleEdgeCenter,
getBezierEdgeCenter,
} from './components/Edges/utils'
export {
isNode,
isEdge,
isGraphNode,
isGraphEdge,
getOutgoers,
getIncomers,
getConnectedEdges,
getTransformForBounds,
getRectOfNodes,
pointToRendererPoint,
rendererPointToPoint,
getNodesInside,
getMarkerId,
getBoundsofRects,
connectionExists,
clamp,
} from './utils/graph'
/**
* @deprecated - Use store instance and call `applyChanges` with template-ref or the one received by `onPaneReady` instead
* Intended for options API
* In composition API you can access apply utilities from `useVueFlow`
*/
export { applyChanges, applyEdgeChanges, applyNodeChanges } from './utils/changes'
export { defaultEdgeTypes, defaultNodeTypes } from './utils/defaultNodesEdges'
export { VueFlow as VueFlowInjection, NodeId as NodeIdInjection } from './context'
export { useVueFlow } from './composables/useVueFlow'
export { useHandle } from './composables/useHandle'
export { useNode } from './composables/useNode'
export { useEdge } from './composables/useEdge'
export { useGetPointerPosition } from './composables/useGetPointerPosition'
export { useNodeId } from './composables/useNodeId'
export { useConnection } from './composables/useConnection'
export { useHandleConnections } from './composables/useHandleConnections'
export { useNodeConnections } from './composables/useNodeConnections'
export { useNodesData } from './composables/useNodesData'
export { useEdgesData } from './composables/useEdgesData'
export { useNodesInitialized } from './composables/useNodesInitialized'
export { useKeyPress } from './composables/useKeyPress'
export { VueFlowError, ErrorCode, isErrorOfType } from './utils/errors'
export * from './types'