@aloudata/ink-flow 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/package.json +2 -3
  2. package/dist/base.css +0 -6
  3. package/dist/components/A11yDescriptions/index.d.ts +0 -8
  4. package/dist/components/A11yDescriptions/index.d.ts.map +0 -1
  5. package/dist/components/BatchProvider/index.d.ts +0 -17
  6. package/dist/components/BatchProvider/index.d.ts.map +0 -1
  7. package/dist/components/BatchProvider/types.d.ts +0 -7
  8. package/dist/components/BatchProvider/types.d.ts.map +0 -1
  9. package/dist/components/BatchProvider/useQueue.d.ts +0 -11
  10. package/dist/components/BatchProvider/useQueue.d.ts.map +0 -1
  11. package/dist/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -17
  12. package/dist/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
  13. package/dist/components/EdgeWrapper/index.d.ts +0 -3
  14. package/dist/components/EdgeWrapper/index.d.ts.map +0 -1
  15. package/dist/components/EdgeWrapper/utils.d.ts +0 -11
  16. package/dist/components/EdgeWrapper/utils.d.ts.map +0 -1
  17. package/dist/components/Edges/BaseEdge.d.ts +0 -3
  18. package/dist/components/Edges/BaseEdge.d.ts.map +0 -1
  19. package/dist/components/Edges/BezierEdge.d.ts +0 -5
  20. package/dist/components/Edges/BezierEdge.d.ts.map +0 -1
  21. package/dist/components/Edges/EdgeAnchor.d.ts +0 -14
  22. package/dist/components/Edges/EdgeAnchor.d.ts.map +0 -1
  23. package/dist/components/Edges/EdgeText.d.ts +0 -8
  24. package/dist/components/Edges/EdgeText.d.ts.map +0 -1
  25. package/dist/components/Edges/SimpleBezierEdge.d.ts +0 -21
  26. package/dist/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
  27. package/dist/components/Edges/SmoothStepEdge.d.ts +0 -5
  28. package/dist/components/Edges/SmoothStepEdge.d.ts.map +0 -1
  29. package/dist/components/Edges/StepEdge.d.ts +0 -5
  30. package/dist/components/Edges/StepEdge.d.ts.map +0 -1
  31. package/dist/components/Edges/StraightEdge.d.ts +0 -5
  32. package/dist/components/Edges/StraightEdge.d.ts.map +0 -1
  33. package/dist/components/Edges/index.d.ts +0 -6
  34. package/dist/components/Edges/index.d.ts.map +0 -1
  35. package/dist/components/Handle/index.d.ts +0 -9
  36. package/dist/components/Handle/index.d.ts.map +0 -1
  37. package/dist/components/InkFlowProvider/index.d.ts +0 -14
  38. package/dist/components/InkFlowProvider/index.d.ts.map +0 -1
  39. package/dist/components/NodeWrapper/index.d.ts +0 -3
  40. package/dist/components/NodeWrapper/index.d.ts.map +0 -1
  41. package/dist/components/NodeWrapper/useNodeObserver.d.ts +0 -14
  42. package/dist/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
  43. package/dist/components/NodeWrapper/utils.d.ts +0 -9
  44. package/dist/components/NodeWrapper/utils.d.ts.map +0 -1
  45. package/dist/components/Nodes/DefaultNode.d.ts +0 -3
  46. package/dist/components/Nodes/DefaultNode.d.ts.map +0 -1
  47. package/dist/components/Nodes/GroupNode.d.ts +0 -2
  48. package/dist/components/Nodes/GroupNode.d.ts.map +0 -1
  49. package/dist/components/Nodes/InputNode.d.ts +0 -4
  50. package/dist/components/Nodes/InputNode.d.ts.map +0 -1
  51. package/dist/components/Nodes/OutputNode.d.ts +0 -3
  52. package/dist/components/Nodes/OutputNode.d.ts.map +0 -1
  53. package/dist/components/Nodes/utils.d.ts +0 -13
  54. package/dist/components/Nodes/utils.d.ts.map +0 -1
  55. package/dist/components/Panel/index.d.ts +0 -11
  56. package/dist/components/Panel/index.d.ts.map +0 -1
  57. package/dist/components/StoreUpdater/index.d.ts +0 -9
  58. package/dist/components/StoreUpdater/index.d.ts.map +0 -1
  59. package/dist/components/UserSelection/index.d.ts +0 -2
  60. package/dist/components/UserSelection/index.d.ts.map +0 -1
  61. package/dist/constants/errorMessages.d.ts +0 -22
  62. package/dist/constants/errorMessages.d.ts.map +0 -1
  63. package/dist/constants/index.d.ts +0 -2
  64. package/dist/constants/index.d.ts.map +0 -1
  65. package/dist/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
  66. package/dist/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
  67. package/dist/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
  68. package/dist/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
  69. package/dist/container/EdgeRenderer/index.d.ts +0 -13
  70. package/dist/container/EdgeRenderer/index.d.ts.map +0 -1
  71. package/dist/container/FlowRenderer/index.d.ts +0 -14
  72. package/dist/container/FlowRenderer/index.d.ts.map +0 -1
  73. package/dist/container/GraphView/index.d.ts +0 -11
  74. package/dist/container/GraphView/index.d.ts.map +0 -1
  75. package/dist/container/InkFlow/Wrapper.d.ts +0 -13
  76. package/dist/container/InkFlow/Wrapper.d.ts.map +0 -1
  77. package/dist/container/InkFlow/index.d.ts +0 -4
  78. package/dist/container/InkFlow/index.d.ts.map +0 -1
  79. package/dist/container/InkFlow/init-values.d.ts +0 -4
  80. package/dist/container/InkFlow/init-values.d.ts.map +0 -1
  81. package/dist/container/NodeRenderer/index.d.ts +0 -10
  82. package/dist/container/NodeRenderer/index.d.ts.map +0 -1
  83. package/dist/container/NodeRenderer/useResizeObserver.d.ts +0 -2
  84. package/dist/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
  85. package/dist/container/Pane/index.d.ts +0 -12
  86. package/dist/container/Pane/index.d.ts.map +0 -1
  87. package/dist/container/Viewport/index.d.ts +0 -7
  88. package/dist/container/Viewport/index.d.ts.map +0 -1
  89. package/dist/container/ZoomPane/index.d.ts +0 -7
  90. package/dist/container/ZoomPane/index.d.ts.map +0 -1
  91. package/dist/contexts/NodeIdContext.d.ts +0 -6
  92. package/dist/contexts/NodeIdContext.d.ts.map +0 -1
  93. package/dist/contexts/StoreContext.d.ts +0 -4
  94. package/dist/contexts/StoreContext.d.ts.map +0 -1
  95. package/dist/hooks/index.d.ts +0 -5
  96. package/dist/hooks/index.d.ts.map +0 -1
  97. package/dist/hooks/useDrag.d.ts +0 -12
  98. package/dist/hooks/useDrag.d.ts.map +0 -1
  99. package/dist/hooks/useEdgesState.d.ts +0 -4
  100. package/dist/hooks/useEdgesState.d.ts.map +0 -1
  101. package/dist/hooks/useGlobalKeyHandler.d.ts +0 -11
  102. package/dist/hooks/useGlobalKeyHandler.d.ts.map +0 -1
  103. package/dist/hooks/useInkFlow.d.ts +0 -10
  104. package/dist/hooks/useInkFlow.d.ts.map +0 -1
  105. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  106. package/dist/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  107. package/dist/hooks/useKeyPress.d.ts +0 -15
  108. package/dist/hooks/useKeyPress.d.ts.map +0 -1
  109. package/dist/hooks/useMoveSelectedNodes.d.ts +0 -12
  110. package/dist/hooks/useMoveSelectedNodes.d.ts.map +0 -1
  111. package/dist/hooks/useNodesState.d.ts +0 -4
  112. package/dist/hooks/useNodesState.d.ts.map +0 -1
  113. package/dist/hooks/useResizeHandler.d.ts +0 -8
  114. package/dist/hooks/useResizeHandler.d.ts.map +0 -1
  115. package/dist/hooks/useStore.d.ts +0 -21
  116. package/dist/hooks/useStore.d.ts.map +0 -1
  117. package/dist/hooks/useViewportHelper.d.ts +0 -10
  118. package/dist/hooks/useViewportHelper.d.ts.map +0 -1
  119. package/dist/hooks/useVisibleEdgeIds.d.ts +0 -9
  120. package/dist/hooks/useVisibleEdgeIds.d.ts.map +0 -1
  121. package/dist/hooks/useVisibleNodeIds.d.ts +0 -9
  122. package/dist/hooks/useVisibleNodeIds.d.ts.map +0 -1
  123. package/dist/index.cjs.js +0 -17
  124. package/dist/index.cjs.js.map +0 -1
  125. package/dist/index.d.ts +0 -9
  126. package/dist/index.d.ts.map +0 -1
  127. package/dist/index.esm.js +0 -17
  128. package/dist/index.esm.js.map +0 -1
  129. package/dist/plugins/Controls/ControlButton.d.ts +0 -3
  130. package/dist/plugins/Controls/ControlButton.d.ts.map +0 -1
  131. package/dist/plugins/Controls/Controls.d.ts +0 -8
  132. package/dist/plugins/Controls/Controls.d.ts.map +0 -1
  133. package/dist/plugins/Controls/Icons/FitView.d.ts +0 -2
  134. package/dist/plugins/Controls/Icons/FitView.d.ts.map +0 -1
  135. package/dist/plugins/Controls/Icons/Lock.d.ts +0 -2
  136. package/dist/plugins/Controls/Icons/Lock.d.ts.map +0 -1
  137. package/dist/plugins/Controls/Icons/Minus.d.ts +0 -2
  138. package/dist/plugins/Controls/Icons/Minus.d.ts.map +0 -1
  139. package/dist/plugins/Controls/Icons/Plus.d.ts +0 -2
  140. package/dist/plugins/Controls/Icons/Plus.d.ts.map +0 -1
  141. package/dist/plugins/Controls/Icons/Unlock.d.ts +0 -2
  142. package/dist/plugins/Controls/Icons/Unlock.d.ts.map +0 -1
  143. package/dist/plugins/Controls/index.d.ts +0 -4
  144. package/dist/plugins/Controls/index.d.ts.map +0 -1
  145. package/dist/plugins/Controls/types.d.ts +0 -35
  146. package/dist/plugins/Controls/types.d.ts.map +0 -1
  147. package/dist/plugins/index.d.ts +0 -2
  148. package/dist/plugins/index.d.ts.map +0 -1
  149. package/dist/store/index.d.ts +0 -12
  150. package/dist/store/index.d.ts.map +0 -1
  151. package/dist/store/initialState.d.ts +0 -12
  152. package/dist/store/initialState.d.ts.map +0 -1
  153. package/dist/styles/utils.d.ts +0 -3
  154. package/dist/styles/utils.d.ts.map +0 -1
  155. package/dist/types/edges.d.ts +0 -114
  156. package/dist/types/edges.d.ts.map +0 -1
  157. package/dist/types/general.d.ts +0 -123
  158. package/dist/types/general.d.ts.map +0 -1
  159. package/dist/types/index.d.ts +0 -7
  160. package/dist/types/index.d.ts.map +0 -1
  161. package/dist/types/instance.d.ts +0 -149
  162. package/dist/types/instance.d.ts.map +0 -1
  163. package/dist/types/nodes.d.ts +0 -40
  164. package/dist/types/nodes.d.ts.map +0 -1
  165. package/dist/types/props.d.ts +0 -151
  166. package/dist/types/props.d.ts.map +0 -1
  167. package/dist/types/store.d.ts +0 -105
  168. package/dist/types/store.d.ts.map +0 -1
  169. package/dist/types/system/changes.d.ts +0 -51
  170. package/dist/types/system/changes.d.ts.map +0 -1
  171. package/dist/types/system/edges.d.ts +0 -83
  172. package/dist/types/system/edges.d.ts.map +0 -1
  173. package/dist/types/system/general.d.ts +0 -119
  174. package/dist/types/system/general.d.ts.map +0 -1
  175. package/dist/types/system/handles.d.ts +0 -51
  176. package/dist/types/system/handles.d.ts.map +0 -1
  177. package/dist/types/system/index.d.ts +0 -8
  178. package/dist/types/system/index.d.ts.map +0 -1
  179. package/dist/types/system/nodes.d.ts +0 -126
  180. package/dist/types/system/nodes.d.ts.map +0 -1
  181. package/dist/types/system/panzoom.d.ts +0 -49
  182. package/dist/types/system/panzoom.d.ts.map +0 -1
  183. package/dist/types/system/utils.d.ts +0 -25
  184. package/dist/types/system/utils.d.ts.map +0 -1
  185. package/dist/types/utils/types.d.ts +0 -8
  186. package/dist/types/utils/types.d.ts.map +0 -1
  187. package/dist/utils/bezier-edge.d.ts +0 -59
  188. package/dist/utils/bezier-edge.d.ts.map +0 -1
  189. package/dist/utils/changes.d.ts +0 -16
  190. package/dist/utils/changes.d.ts.map +0 -1
  191. package/dist/utils/dom.d.ts +0 -20
  192. package/dist/utils/dom.d.ts.map +0 -1
  193. package/dist/utils/edges/bezier-edge.d.ts +0 -59
  194. package/dist/utils/edges/bezier-edge.d.ts.map +0 -1
  195. package/dist/utils/edges/general.d.ts +0 -46
  196. package/dist/utils/edges/general.d.ts.map +0 -1
  197. package/dist/utils/edges/index.d.ts +0 -6
  198. package/dist/utils/edges/index.d.ts.map +0 -1
  199. package/dist/utils/edges/positions.d.ts +0 -12
  200. package/dist/utils/edges/positions.d.ts.map +0 -1
  201. package/dist/utils/edges/smoothstep-edge.d.ts +0 -43
  202. package/dist/utils/edges/smoothstep-edge.d.ts.map +0 -1
  203. package/dist/utils/edges/straight-edge.d.ts +0 -28
  204. package/dist/utils/edges/straight-edge.d.ts.map +0 -1
  205. package/dist/utils/edges.d.ts +0 -26
  206. package/dist/utils/edges.d.ts.map +0 -1
  207. package/dist/utils/general.d.ts +0 -61
  208. package/dist/utils/general.d.ts.map +0 -1
  209. package/dist/utils/graph.d.ts +0 -113
  210. package/dist/utils/graph.d.ts.map +0 -1
  211. package/dist/utils/marker.d.ts +0 -9
  212. package/dist/utils/marker.d.ts.map +0 -1
  213. package/dist/utils/positions.d.ts +0 -12
  214. package/dist/utils/positions.d.ts.map +0 -1
  215. package/dist/utils/smoothstep-edge.d.ts +0 -43
  216. package/dist/utils/smoothstep-edge.d.ts.map +0 -1
  217. package/dist/utils/store.d.ts +0 -30
  218. package/dist/utils/store.d.ts.map +0 -1
  219. package/dist/utils/straight-edge.d.ts +0 -34
  220. package/dist/utils/straight-edge.d.ts.map +0 -1
  221. package/dist/utils/xydrag/XYDrag.d.ts +0 -52
  222. package/dist/utils/xydrag/XYDrag.d.ts.map +0 -1
  223. package/dist/utils/xydrag/index.d.ts +0 -2
  224. package/dist/utils/xydrag/index.d.ts.map +0 -1
  225. package/dist/utils/xydrag/utils.d.ts +0 -10
  226. package/dist/utils/xydrag/utils.d.ts.map +0 -1
  227. package/dist/utils/xyhandle/XYHandle.d.ts +0 -49
  228. package/dist/utils/xyhandle/XYHandle.d.ts.map +0 -1
  229. package/dist/utils/xyhandle/index.d.ts +0 -2
  230. package/dist/utils/xyhandle/index.d.ts.map +0 -1
  231. package/dist/utils/xyhandle/utils.d.ts +0 -14
  232. package/dist/utils/xyhandle/utils.d.ts.map +0 -1
  233. package/dist/utils/xypanzoom/XYPanZoom.d.ts +0 -12
  234. package/dist/utils/xypanzoom/XYPanZoom.d.ts.map +0 -1
  235. package/dist/utils/xypanzoom/eventhandler.d.ts +0 -46
  236. package/dist/utils/xypanzoom/eventhandler.d.ts.map +0 -1
  237. package/dist/utils/xypanzoom/filter.d.ts +0 -14
  238. package/dist/utils/xypanzoom/filter.d.ts.map +0 -1
  239. package/dist/utils/xypanzoom/index.d.ts +0 -2
  240. package/dist/utils/xypanzoom/index.d.ts.map +0 -1
  241. package/dist/utils/xypanzoom/utils.d.ts +0 -10
  242. package/dist/utils/xypanzoom/utils.d.ts.map +0 -1
@@ -1,126 +0,0 @@
1
- import type { XYPosition, Position, CoordinateExtent, HandleElement } from '.';
2
- import { Optional } from '../utils/types';
3
- /**
4
- * Framework independent node data structure.
5
- *
6
- * @typeParam NodeData - type of the node data
7
- * @typeParam NodeType - type of the node
8
- */
9
- export type NodeBase<NodeData extends any = any, NodeType extends string = string> = {
10
- /** Unique id of a node */
11
- id: string;
12
- /** Position of a node on the pane
13
- * @example { x: 0, y: 0 }
14
- */
15
- position: XYPosition;
16
- /** Arbitrary data passed to a node */
17
- data: NodeData;
18
- /** Type of node defined in nodeTypes */
19
- type?: NodeType;
20
- /** Only relevant for default, source, target nodeType. controls source position
21
- * @example 'right', 'left', 'top', 'bottom'
22
- */
23
- sourcePosition?: Position;
24
- /** Only relevant for default, source, target nodeType. controls target position
25
- * @example 'right', 'left', 'top', 'bottom'
26
- */
27
- targetPosition?: Position;
28
- hidden?: boolean;
29
- selected?: boolean;
30
- /** True, if node is being dragged */
31
- dragging?: boolean;
32
- draggable?: boolean;
33
- selectable?: boolean;
34
- connectable?: boolean;
35
- deletable?: boolean;
36
- dragHandle?: string;
37
- width?: number;
38
- height?: number;
39
- initialWidth?: number;
40
- initialHeight?: number;
41
- /** Parent node id, used for creating sub-flows */
42
- parentId?: string;
43
- zIndex?: number;
44
- /** Boundary a node can be moved in
45
- * @example 'parent' or [[0, 0], [100, 100]]
46
- */
47
- extent?: 'parent' | CoordinateExtent;
48
- expandParent?: boolean;
49
- ariaLabel?: string;
50
- /** Origin of the node relative to it's position
51
- * @example
52
- * [0.5, 0.5] // centers the node
53
- * [0, 0] // top left
54
- * [1, 1] // bottom right
55
- */
56
- origin?: NodeOrigin;
57
- handles?: NodeHandle[];
58
- measured?: {
59
- width?: number;
60
- height?: number;
61
- };
62
- };
63
- export type InternalNodeBase<NodeType extends NodeBase = NodeBase> = NodeType & {
64
- measured: {
65
- width?: number;
66
- height?: number;
67
- };
68
- internals: {
69
- positionAbsolute: XYPosition;
70
- z: number;
71
- /** Holds a reference to the original node object provided by the user.
72
- * Used as an optimization to avoid certain operations. */
73
- userNode: NodeType;
74
- handleBounds?: NodeHandleBounds;
75
- };
76
- };
77
- /**
78
- * The node data structure that gets used for the nodes prop.
79
- *
80
- * @public
81
- */
82
- export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'selected' | 'dragHandle'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex'>> & {
83
- /** whether a node is connectable or not */
84
- isConnectable: boolean;
85
- /** position absolute x value */
86
- positionAbsoluteX: number;
87
- /** position absolute x value */
88
- positionAbsoluteY: number;
89
- };
90
- export type NodeHandleBounds = {
91
- source: HandleElement[] | null;
92
- target: HandleElement[] | null;
93
- };
94
- export type InternalNodeUpdate = {
95
- id: string;
96
- nodeElement: HTMLDivElement;
97
- force?: boolean;
98
- };
99
- export type NodeBounds = XYPosition & {
100
- width: number | null;
101
- height: number | null;
102
- };
103
- export type NodeDragItem = {
104
- id: string;
105
- position: XYPosition;
106
- distance: XYPosition;
107
- measured: {
108
- width: number;
109
- height: number;
110
- };
111
- internals: {
112
- positionAbsolute: XYPosition;
113
- };
114
- extent?: 'parent' | CoordinateExtent;
115
- parentId?: string;
116
- dragging?: boolean;
117
- origin?: NodeOrigin;
118
- expandParent?: boolean;
119
- };
120
- export type NodeOrigin = [number, number];
121
- export type OnSelectionDrag = (event: MouseEvent, nodes: NodeBase[]) => void;
122
- export type NodeHandle = Optional<HandleElement, 'width' | 'height'>;
123
- export type Align = 'center' | 'start' | 'end';
124
- export type NodeLookup<NodeType extends InternalNodeBase = InternalNodeBase> = Map<string, NodeType>;
125
- export type ParentLookup<NodeType extends InternalNodeBase = InternalNodeBase> = Map<string, NodeType[]>;
126
- //# sour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,QAAQ,CAAC,CAAC;AACxB,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,gBAAgB,GAAG,gBAAgB,IAC3E,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC"}
@@ -1,49 +0,0 @@
1
- import type { ZoomTransform } from 'd3-zoom';
2
- import { PanOnScrollMode, type CoordinateExtent, type Transform, type Viewport } from './';
3
- export type OnDraggingChange = (dragging: boolean) => void;
4
- export type OnTransformChange = (transform: Transform) => void;
5
- export type PanZoomParams = {
6
- domNode: Element;
7
- minZoom: number;
8
- maxZoom: number;
9
- viewport: Viewport;
10
- translateExtent: CoordinateExtent;
11
- onTransformChange: OnTransformChange;
12
- onDraggingChange: OnDraggingChange;
13
- onPanZoomStart?: OnPanZoom;
14
- onPanZoom?: OnPanZoom;
15
- onPanZoomEnd?: OnPanZoom;
16
- };
17
- export type PanZoomTransformOptions = {
18
- duration?: number;
19
- };
20
- export type OnPanZoom = (event: MouseEvent | TouchEvent | null, viewport: Viewport) => void;
21
- export type PanZoomUpdateOptions = {
22
- noWheelClassName: string;
23
- noPanClassName: string;
24
- onPaneContextMenu?: (event: MouseEvent) => void;
25
- preventScrolling: boolean;
26
- panOnScroll: boolean;
27
- panOnDrag: boolean | number[];
28
- panOnScrollMode: PanOnScrollMode;
29
- panOnScrollSpeed: number;
30
- userSelectionActive: boolean;
31
- zoomOnPinch: boolean;
32
- zoomOnScroll: boolean;
33
- zoomOnDoubleClick: boolean;
34
- zoomActivationKeyPressed: boolean;
35
- lib: string;
36
- };
37
- export type PanZoomInstance = {
38
- update: (params: PanZoomUpdateOptions) => void;
39
- destroy: () => void;
40
- getViewport: () => Viewport;
41
- setViewport: (viewport: Viewport, options?: PanZoomTransformOptions) => ZoomTransform | undefined;
42
- setViewportConstrained: (viewport: Viewport, extent: CoordinateExtent, translateExtent: CoordinateExtent) => ZoomTransform | undefined;
43
- setScaleExtent: (scaleExtent: [number, number]) => void;
44
- setTranslateExtent: (translateExtent: CoordinateExtent) => void;
45
- scaleTo: (scale: number, options?: PanZoomTransformOptions) => void;
46
- scaleBy: (factor: number, options?: PanZoomTransformOptions) => void;
47
- syncViewport: (viewport: Viewport) => void;
48
- };
49
- //# sourceMappingURL=panzoom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"panzoom.d.ts","sourceRoot":"","sources":["../../../src/types/system/panzoom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,IAAI,CAAC;AAE3F,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;AAC3D,MAAM,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;AAE/D,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,eAAe,EAAE,gBAAgB,CAAC;IAClC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;AAE5F,MAAM,MAAM,oBAAoB,GAAG;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAA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,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC5C,CAAC"}
@@ -1,25 +0,0 @@
1
- export declare enum Position {
2
- Left = "left",
3
- Top = "top",
4
- Right = "right",
5
- Bottom = "bottom"
6
- }
7
- export type XYPosition = {
8
- x: number;
9
- y: number;
10
- };
11
- export type XYZPosition = XYPosition & {
12
- z: number;
13
- };
14
- export type Dimensions = {
15
- width: number;
16
- height: number;
17
- };
18
- export type Rect = Dimensions & XYPosition;
19
- export type Box = XYPosition & {
20
- x2: number;
21
- y2: number;
22
- };
23
- export type Transform = [number, number, number];
24
- export type CoordinateExtent = [[number, number], [number, number]];
25
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/types/system/utils.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG;IAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,UAAU,GAAG,UAAU,CAAC;AAE3C,MAAM,MAAM,GAAG,GAAG,UAAU,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import { Rect } from '../system';
2
- export type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
3
- export type ParentExpandChild = {
4
- id: string;
5
- parentId: string;
6
- rect: Rect;
7
- };
8
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC"}
@@ -1,59 +0,0 @@
1
- import { Position } from '../types/system';
2
- export type GetBezierPathParams = {
3
- sourceX: number;
4
- sourceY: number;
5
- sourcePosition?: Position;
6
- targetX: number;
7
- targetY: number;
8
- targetPosition?: Position;
9
- curvature?: number;
10
- };
11
- export type GetControlWithCurvatureParams = {
12
- pos: Position;
13
- x1: number;
14
- y1: number;
15
- x2: number;
16
- y2: number;
17
- c: number;
18
- };
19
- export declare function getBezierEdgeCenter({ sourceX, sourceY, targetX, targetY, sourceControlX, sourceControlY, targetControlX, targetControlY, }: {
20
- sourceX: number;
21
- sourceY: number;
22
- targetX: number;
23
- targetY: number;
24
- sourceControlX: number;
25
- sourceControlY: number;
26
- targetControlX: number;
27
- targetControlY: number;
28
- }): [number, number, number, number];
29
- /**
30
- * Get a bezier path from source to target handle
31
- * @param params.sourceX - The x position of the source handle
32
- * @param params.sourceY - The y position of the source handle
33
- * @param params.sourcePosition - The position of the source handle (default: Position.Bottom)
34
- * @param params.targetX - The x position of the target handle
35
- * @param params.targetY - The y position of the target handle
36
- * @param params.targetPosition - The position of the target handle (default: Position.Top)
37
- * @param params.curvature - The curvature of the bezier edge
38
- * @returns A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label
39
- * @example
40
- * const source = { x: 0, y: 20 };
41
- const target = { x: 150, y: 100 };
42
-
43
- const [path, labelX, labelY, offsetX, offsetY] = getBezierPath({
44
- sourceX: source.x,
45
- sourceY: source.y,
46
- sourcePosition: Position.Right,
47
- targetX: target.x,
48
- targetY: target.y,
49
- targetPosition: Position.Left,
50
- });
51
- */
52
- export declare function getBezierPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, curvature, }: GetBezierPathParams): [
53
- path: string,
54
- labelX: number,
55
- labelY: number,
56
- offsetX: number,
57
- offsetY: number
58
- ];
59
- //# sourceMappingURL=bezier-edge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bezier-edge.d.ts","sourceRoot":"","sources":["../../src/utils/bezier-edge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,EAAE,QAAQ,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,GACf,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAiBnC;AA8BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,EAC7B,SAAgB,GACjB,EAAE,mBAAmB,GAAG;IACvB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAChB,CAmCA"}
@@ -1,16 +0,0 @@
1
- import { Edge, InternalNode, Node } from '../types';
2
- import { EdgeChange, EdgeLookup, EdgeRemoveChange, EdgeSelectionChange, NodeChange, NodeLookup, NodeRemoveChange, NodeSelectionChange } from '../types/system';
3
- export declare function applyEdgeChanges<EdgeType extends Edge = Edge>(changes: EdgeChange<EdgeType>[], edges: EdgeType[]): EdgeType[];
4
- export declare function applyNodeChanges<NodeType extends Node = Node>(changes: NodeChange<NodeType>[], nodes: NodeType[]): NodeType[];
5
- export declare function createSelectionChange(id: string, selected: boolean): NodeSelectionChange | EdgeSelectionChange;
6
- export declare function getSelectionChanges(items: Map<string, any>, selectedIds?: Set<string>, mutateItem?: boolean): NodeSelectionChange[] | EdgeSelectionChange[];
7
- export declare function getElementsDiffChanges({ items, lookup, }: {
8
- items: Node[] | undefined;
9
- lookup: NodeLookup<InternalNode<Node>>;
10
- }): NodeChange[];
11
- export declare function getElementsDiffChanges({ items, lookup, }: {
12
- items: Edge[] | undefined;
13
- lookup: EdgeLookup;
14
- }): EdgeChange[];
15
- export declare function elementToRemoveChange<T extends Node | Edge>(item: T): NodeRemoveChange | EdgeRemoveChange;
16
- //# sourceMappingURL=changes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../src/utils/changes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAwGzB,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC3D,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,EAC/B,KAAK,EAAE,QAAQ,EAAE,GAChB,QAAQ,EAAE,CAEZ;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC3D,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,EAC/B,KAAK,EAAE,QAAQ,EAAE,GAChB,QAAQ,EAAE,CAEZ;AAED,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,OAAO,GAChB,mBAAmB,GAAG,mBAAmB,CAM3C;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,EACvB,WAAW,GAAE,GAAG,CAAC,MAAM,CAAa,EACpC,UAAU,UAAQ,GACjB,mBAAmB,EAAE,GAAG,mBAAmB,EAAE,CAsB/C;AAED,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;CACxC,GAAG,UAAU,EAAE,CAAC;AACjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,UAAU,CAAC;CACpB,GAAG,UAAU,EAAE,CAAC;AAqCjB,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,IAAI,GAAG,IAAI,EACzD,IAAI,EAAE,CAAC,GACN,gBAAgB,GAAG,gBAAgB,CAKrC"}
@@ -1,20 +0,0 @@
1
- import { Transform, SnapGrid, XYPosition, Dimensions, NodeOrigin, HandleElement } from '../types/system';
2
- export type GetPointerPositionParams = {
3
- transform: Transform;
4
- snapGrid?: SnapGrid;
5
- snapToGrid?: boolean;
6
- };
7
- export declare function getPointerPosition(event: MouseEvent | TouchEvent, { snapGrid, snapToGrid, transform, }: GetPointerPositionParams): XYPosition & {
8
- xSnapped: number;
9
- ySnapped: number;
10
- };
11
- export declare const getDimensions: (node: HTMLDivElement) => Dimensions;
12
- export declare const getHostForElement: (element: HTMLElement) => Document | ShadowRoot;
13
- export declare function isInputDOMNode(event: KeyboardEvent): boolean;
14
- export declare const isMouseEvent: (event: MouseEvent | TouchEvent) => event is MouseEvent;
15
- export declare const getEventPosition: (event: MouseEvent | TouchEvent, bounds?: DOMRect) => {
16
- x: number;
17
- y: number;
18
- };
19
- export declare const getHandleBounds: (selector: string, nodeElement: HTMLDivElement, zoom: number, nodeOrigin?: NodeOrigin) => HandleElement[] | null;
20
- //# sourceMappingURL=dom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EAEd,MAAM,iBAAiB,CAAC;AAGzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,GAAG,UAAU,EAC9B,EACE,QAAiB,EACjB,UAAkB,EAClB,SAAS,GACV,EAAE,wBAAwB,GAC1B,UAAU,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAarD;AAED,eAAO,MAAM,aAAa,SAAU,cAAc,KAAG,UAGnD,CAAC;AAEH,eAAO,MAAM,iBAAiB,YACnB,WAAW,KACnB,QAAQ,GAAG,UAC0D,CAAC;AAIzE,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAS5D;AAED,eAAO,MAAM,YAAY,UAChB,UAAU,GAAG,UAAU,wBACY,CAAC;AAE7C,eAAO,MAAM,gBAAgB,UACpB,UAAU,GAAG,UAAU,WACrB,OAAO;;;CAUjB,CAAC;AAKF,eAAO,MAAM,eAAe,aAChB,MAAM,eACH,cAAc,QACrB,MAAM,8BAEX,aAAa,EAAE,GAAG,IA2BpB,CAAC"}
@@ -1,59 +0,0 @@
1
- import { Position } from '../../types/system';
2
- export type GetBezierPathParams = {
3
- sourceX: number;
4
- sourceY: number;
5
- sourcePosition?: Position;
6
- targetX: number;
7
- targetY: number;
8
- targetPosition?: Position;
9
- curvature?: number;
10
- };
11
- export type GetControlWithCurvatureParams = {
12
- pos: Position;
13
- x1: number;
14
- y1: number;
15
- x2: number;
16
- y2: number;
17
- c: number;
18
- };
19
- export declare function getBezierEdgeCenter({ sourceX, sourceY, targetX, targetY, sourceControlX, sourceControlY, targetControlX, targetControlY, }: {
20
- sourceX: number;
21
- sourceY: number;
22
- targetX: number;
23
- targetY: number;
24
- sourceControlX: number;
25
- sourceControlY: number;
26
- targetControlX: number;
27
- targetControlY: number;
28
- }): [number, number, number, number];
29
- /**
30
- * Get a bezier path from source to target handle
31
- * @param params.sourceX - The x position of the source handle
32
- * @param params.sourceY - The y position of the source handle
33
- * @param params.sourcePosition - The position of the source handle (default: Position.Bottom)
34
- * @param params.targetX - The x position of the target handle
35
- * @param params.targetY - The y position of the target handle
36
- * @param params.targetPosition - The position of the target handle (default: Position.Top)
37
- * @param params.curvature - The curvature of the bezier edge
38
- * @returns A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label
39
- * @example
40
- * const source = { x: 0, y: 20 };
41
- const target = { x: 150, y: 100 };
42
-
43
- const [path, labelX, labelY, offsetX, offsetY] = getBezierPath({
44
- sourceX: source.x,
45
- sourceY: source.y,
46
- sourcePosition: Position.Right,
47
- targetX: target.x,
48
- targetY: target.y,
49
- targetPosition: Position.Left,
50
- });
51
- */
52
- export declare function getBezierPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, curvature, }: GetBezierPathParams): [
53
- path: string,
54
- labelX: number,
55
- labelY: number,
56
- offsetX: number,
57
- offsetY: number
58
- ];
59
- //# sourceMappingURL=bezier-edge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bezier-edge.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/bezier-edge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,EAAE,QAAQ,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,GACf,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAiBnC;AA8BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,EAC7B,SAAgB,GACjB,EAAE,mBAAmB,GAAG;IACvB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAChB,CAmCA"}
@@ -1,46 +0,0 @@
1
- import { Connection, EdgeBase, InternalNodeBase, Transform } from '../../types/system';
2
- export declare function getEdgeCenter({ sourceX, sourceY, targetX, targetY, }: {
3
- sourceX: number;
4
- sourceY: number;
5
- targetX: number;
6
- targetY: number;
7
- }): [number, number, number, number];
8
- export type GetEdgeZIndexParams = {
9
- sourceNode: InternalNodeBase;
10
- targetNode: InternalNodeBase;
11
- selected?: boolean;
12
- zIndex?: number;
13
- elevateOnSelect?: boolean;
14
- };
15
- export declare function getElevatedEdgeZIndex({ sourceNode, targetNode, selected, zIndex, elevateOnSelect, }: GetEdgeZIndexParams): number;
16
- type IsEdgeVisibleParams = {
17
- sourceNode: InternalNodeBase;
18
- targetNode: InternalNodeBase;
19
- width: number;
20
- height: number;
21
- transform: Transform;
22
- };
23
- export declare function isEdgeVisible({ sourceNode, targetNode, width, height, transform, }: IsEdgeVisibleParams): boolean;
24
- /**
25
- * This util is a convenience function to add a new Edge to an array of edges
26
- * @remarks It also performs some validation to make sure you don't add an invalid edge or duplicate an existing one.
27
- * @public
28
- * @param edgeParams - Either an Edge or a Connection you want to add
29
- * @param edges - The array of all current edges
30
- * @returns A new array of edges with the new edge added
31
- */
32
- export declare const addEdge: <EdgeType extends EdgeBase>(edgeParams: EdgeType | Connection, edges: EdgeType[]) => EdgeType[];
33
- export type UpdateEdgeOptions = {
34
- shouldReplaceId?: boolean;
35
- };
36
- /**
37
- * A handy utility to update an existing Edge with new properties
38
- * @param oldEdge - The edge you want to update
39
- * @param newConnection - The new connection you want to update the edge with
40
- * @param edges - The array of all current edges
41
- * @param options.shouldReplaceId - should the id of the old edge be replaced with the new connection id
42
- * @returns the updated edges array
43
- */
44
- export declare const updateEdge: <EdgeType extends EdgeBase>(oldEdge: EdgeType, newConnection: Connection, edges: EdgeType[], options?: UpdateEdgeOptions) => EdgeType[];
45
- export {};
46
- //# sourceMappingURL=general.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/general.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACV,MAAM,oBAAoB,CAAC;AAW5B,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,GACR,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAQnC;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,UAAU,EACV,QAAgB,EAChB,MAAU,EACV,eAAuB,GACxB,EAAE,mBAAmB,GAAG,MAAM,CAc9B;AAED,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,gBAAgB,CAAC;IAC7B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,UAAU,EACV,UAAU,EACV,KAAK,EACL,MAAM,EACN,SAAS,GACV,EAAE,mBAAmB,GAAG,OAAO,CAsB/B;AAsBD;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,0CACN,QAAQ,GAAG,UAAU,SAC1B,QAAQ,EAAE,KAChB,QAAQ,EA8BV,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,uCACZ,QAAQ,iBACF,UAAU,SAClB,QAAQ,EAAE,YACR,iBAAiB,KACzB,QAAQ,EA4BV,CAAC"}
@@ -1,6 +0,0 @@
1
- export * from './bezier-edge';
2
- export * from './straight-edge';
3
- export * from './smoothstep-edge';
4
- export * from './general';
5
- export * from './positions';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC"}
@@ -1,12 +0,0 @@
1
- import { InternalNodeBase, ConnectionMode, OnError, EdgePosition } from '../../types/system';
2
- export type GetEdgePositionParams = {
3
- id: string;
4
- sourceNode: InternalNodeBase;
5
- sourceHandle: string | null;
6
- targetNode: InternalNodeBase;
7
- targetHandle: string | null;
8
- connectionMode: ConnectionMode;
9
- onError?: OnError;
10
- };
11
- export declare function getEdgePosition(params: GetEdgePositionParams): EdgePosition | null;
12
- //# sourceMappingURL=positions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"positions.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/positions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,YAAY,EAIb,MAAM,oBAAoB,CAAC;AAG5B,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,gBAAgB,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAUF,wBAAgB,eAAe,CAC7B,MAAM,EAAE,qBAAqB,GAC5B,YAAY,GAAG,IAAI,CA4DrB"}
@@ -1,43 +0,0 @@
1
- import { Position } from '../../types/system';
2
- export interface GetSmoothStepPathParams {
3
- sourceX: number;
4
- sourceY: number;
5
- sourcePosition?: Position;
6
- targetX: number;
7
- targetY: number;
8
- targetPosition?: Position;
9
- borderRadius?: number;
10
- centerX?: number;
11
- centerY?: number;
12
- offset?: number;
13
- }
14
- /**
15
- * Get a smooth step path from source to target handle
16
- * @param params.sourceX - The x position of the source handle
17
- * @param params.sourceY - The y position of the source handle
18
- * @param params.sourcePosition - The position of the source handle (default: Position.Bottom)
19
- * @param params.targetX - The x position of the target handle
20
- * @param params.targetY - The y position of the target handle
21
- * @param params.targetPosition - The position of the target handle (default: Position.Top)
22
- * @returns A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label
23
- * @example
24
- * const source = { x: 0, y: 20 };
25
- const target = { x: 150, y: 100 };
26
-
27
- const [path, labelX, labelY, offsetX, offsetY] = getSmoothStepPath({
28
- sourceX: source.x,
29
- sourceY: source.y,
30
- sourcePosition: Position.Right,
31
- targetX: target.x,
32
- targetY: target.y,
33
- targetPosition: Position.Left,
34
- });
35
- */
36
- export declare function getSmoothStepPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, borderRadius, centerX, centerY, offset, }: GetSmoothStepPathParams): [
37
- path: string,
38
- labelX: number,
39
- labelY: number,
40
- offsetX: number,
41
- offsetY: number
42
- ];
43
- //# sourceMappingURL=smoothstep-edge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"smoothstep-edge.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/smoothstep-edge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,oBAAoB,CAAC;AAG1D,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAkOD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,EAC7B,YAAgB,EAChB,OAAO,EACP,OAAO,EACP,MAAW,GACZ,EAAE,uBAAuB,GAAG;IAC3B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAChB,CAyBA"}
@@ -1,28 +0,0 @@
1
- export type GetStraightPathParams = {
2
- sourceX: number;
3
- sourceY: number;
4
- targetX: number;
5
- targetY: number;
6
- };
7
- /**
8
- * Get a straight path from source to target handle
9
- * @param params.sourceX - The x position of the source handle
10
- * @param params.sourceY - The y position of the source handle
11
- * @param params.targetX - The x position of the target handle
12
- * @param params.targetY - The y position of the target handle
13
- * @returns A path string you can use in an SVG, the labelX and labelY position (center of path) and offsetX, offsetY between source handle and label
14
- * @example
15
- * const source = { x: 0, y: 20 };
16
- const target = { x: 150, y: 100 };
17
-
18
- const [path, labelX, labelY, offsetX, offsetY] = getStraightPath({
19
- sourceX: source.x,
20
- sourceY: source.y,
21
- sourcePosition: Position.Right,
22
- targetX: target.x,
23
- targetY: target.y,
24
- targetPosition: Position.Left,
25
- });
26
- */
27
- export declare function getStraightPath({ sourceX, sourceY, targetX, targetY, }: GetStraightPathParams): [path: string, labelX: number, labelY: number, offsetX: number, offsetY: number];
28
- //# sourceMappingURL=straight-edge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"straight-edge.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/straight-edge.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,GACR,EAAE,qBAAqB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAS1G"}
@@ -1,26 +0,0 @@
1
- import { Connection, EdgeBase, InternalNodeBase, Transform } from '../types/system';
2
- type IsEdgeVisibleParams = {
3
- sourceNode: InternalNodeBase;
4
- targetNode: InternalNodeBase;
5
- width: number;
6
- height: number;
7
- transform: Transform;
8
- };
9
- export declare function isEdgeVisible({ sourceNode, targetNode, width, height, transform, }: IsEdgeVisibleParams): boolean;
10
- export type GetEdgeZIndexParams = {
11
- sourceNode: InternalNodeBase;
12
- targetNode: InternalNodeBase;
13
- selected?: boolean;
14
- zIndex?: number;
15
- elevateOnSelect?: boolean;
16
- };
17
- export declare function getElevatedEdgeZIndex({ sourceNode, targetNode, selected, zIndex, elevateOnSelect, }: GetEdgeZIndexParams): number;
18
- export declare const addEdge: <EdgeType extends EdgeBase>(edgeParams: EdgeType | Connection, edges: EdgeType[]) => EdgeType[];
19
- export declare function getEdgeCenter({ sourceX, sourceY, targetX, targetY, }: {
20
- sourceX: number;
21
- sourceY: number;
22
- targetX: number;
23
- targetY: number;
24
- }): [number, number, number, number];
25
- export {};
26
- //# sourceMappingURL=edges.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edges.d.ts","sourceRoot":"","sources":["../../src/utils/edges.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EAEV,QAAQ,EAER,gBAAgB,EAGhB,SAAS,EACV,MAAM,iBAAiB,CAAC;AASzB,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,gBAAgB,CA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