wechen-agent-editor-v1 1.2.2 → 1.3.0

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 (1112) hide show
  1. package/README.md +73 -15
  2. package/dist/WechenAgentEditor.d.ts +8 -0
  3. package/dist/WechenAgentEditor.d.ts.map +1 -1
  4. package/dist/WechenAgentEditorContext.d.ts +7 -0
  5. package/dist/WechenAgentEditorContext.d.ts.map +1 -1
  6. package/dist/flow/PathEditContext.d.ts +16 -0
  7. package/dist/flow/PathEditContext.d.ts.map +1 -0
  8. package/dist/flow/edgeLayoutSnapshot.d.ts +2 -2
  9. package/dist/flow/edgeLayoutSnapshot.d.ts.map +1 -1
  10. package/dist/flow/edgeOrthogonalPath.d.ts +3 -2
  11. package/dist/flow/edgeOrthogonalPath.d.ts.map +1 -1
  12. package/dist/flow/edgePolylinePath.d.ts +81 -0
  13. package/dist/flow/edgePolylinePath.d.ts.map +1 -0
  14. package/dist/flow/flowGraphMutations.d.ts +10 -0
  15. package/dist/flow/flowGraphMutations.d.ts.map +1 -1
  16. package/dist/flow/flowJsonUtils.d.ts.map +1 -1
  17. package/dist/flow/nodes/CardNode.d.ts.map +1 -1
  18. package/dist/flow/nodes/MainAgentNode.d.ts.map +1 -1
  19. package/dist/flow/nodes/PillNode.d.ts.map +1 -1
  20. package/dist/flow/selectionToolbar/EdgeSelectionToolbar.d.ts +13 -0
  21. package/dist/flow/selectionToolbar/EdgeSelectionToolbar.d.ts.map +1 -0
  22. package/dist/flow/selectionToolbar/SelectionToolbar.d.ts +30 -0
  23. package/dist/flow/selectionToolbar/SelectionToolbar.d.ts.map +1 -0
  24. package/dist/flow/selectionToolbar/WechenNodeSelectionToolbar.d.ts +7 -0
  25. package/dist/flow/selectionToolbar/WechenNodeSelectionToolbar.d.ts.map +1 -0
  26. package/dist/flow/selectionToolbar/edgeSelectionToolbarLogic.d.ts +15 -0
  27. package/dist/flow/selectionToolbar/edgeSelectionToolbarLogic.d.ts.map +1 -0
  28. package/dist/flow/selectionToolbar/polylineMidpoint.d.ts +7 -0
  29. package/dist/flow/selectionToolbar/polylineMidpoint.d.ts.map +1 -0
  30. package/dist/flow/selectionToolbar/selectionToolbarVisibility.d.ts +24 -0
  31. package/dist/flow/selectionToolbar/selectionToolbarVisibility.d.ts.map +1 -0
  32. package/dist/flow/wechenAgentEdgeTypes.d.ts +2 -15
  33. package/dist/flow/wechenAgentEdgeTypes.d.ts.map +1 -1
  34. package/dist/flowTypes.d.ts +15 -0
  35. package/dist/flowTypes.d.ts.map +1 -1
  36. package/dist/i18n/localeKeys.d.ts +5 -0
  37. package/dist/i18n/localeKeys.d.ts.map +1 -1
  38. package/dist/index.d.ts +5 -1
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +9544 -8941
  41. package/dist/index.js.map +1 -1
  42. package/dist/style.css +1 -1
  43. package/package.json +5 -6
  44. package/node_modules/@types/d3-color/LICENSE +0 -21
  45. package/node_modules/@types/d3-color/README.md +0 -15
  46. package/node_modules/@types/d3-color/index.d.ts +0 -669
  47. package/node_modules/@types/d3-color/package.json +0 -55
  48. package/node_modules/@types/d3-drag/LICENSE +0 -21
  49. package/node_modules/@types/d3-drag/README.md +0 -15
  50. package/node_modules/@types/d3-drag/index.d.ts +0 -395
  51. package/node_modules/@types/d3-drag/package.json +0 -42
  52. package/node_modules/@types/d3-interpolate/LICENSE +0 -21
  53. package/node_modules/@types/d3-interpolate/README.md +0 -15
  54. package/node_modules/@types/d3-interpolate/index.d.ts +0 -387
  55. package/node_modules/@types/d3-interpolate/package.json +0 -47
  56. package/node_modules/@types/d3-selection/LICENSE +0 -21
  57. package/node_modules/@types/d3-selection/README.md +0 -15
  58. package/node_modules/@types/d3-selection/index.d.ts +0 -1173
  59. package/node_modules/@types/d3-selection/package.json +0 -50
  60. package/node_modules/@types/d3-transition/LICENSE +0 -21
  61. package/node_modules/@types/d3-transition/README.md +0 -15
  62. package/node_modules/@types/d3-transition/index.d.ts +0 -664
  63. package/node_modules/@types/d3-transition/package.json +0 -47
  64. package/node_modules/@types/d3-zoom/LICENSE +0 -21
  65. package/node_modules/@types/d3-zoom/README.md +0 -15
  66. package/node_modules/@types/d3-zoom/index.d.ts +0 -611
  67. package/node_modules/@types/d3-zoom/package.json +0 -48
  68. package/node_modules/@xyflow/react/LICENSE +0 -21
  69. package/node_modules/@xyflow/react/README.md +0 -135
  70. package/node_modules/@xyflow/react/dist/base.css +0 -504
  71. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts +0 -61
  72. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts.map +0 -1
  73. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts +0 -15
  74. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts.map +0 -1
  75. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts +0 -3
  76. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts.map +0 -1
  77. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts +0 -59
  78. package/node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts.map +0 -1
  79. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts +0 -26
  80. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts.map +0 -1
  81. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts +0 -29
  82. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts.map +0 -1
  83. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts +0 -2
  84. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
  85. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts +0 -2
  86. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
  87. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts +0 -2
  88. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
  89. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts +0 -2
  90. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
  91. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts +0 -2
  92. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
  93. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts +0 -4
  94. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts.map +0 -1
  95. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts +0 -66
  96. package/node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts.map +0 -1
  97. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
  98. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
  99. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts +0 -3
  100. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/index.d.ts.map +0 -1
  101. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts +0 -13
  102. package/node_modules/@xyflow/react/dist/esm/additional-components/EdgeToolbar/types.d.ts.map +0 -1
  103. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts +0 -29
  104. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
  105. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
  106. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
  107. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
  108. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
  109. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts +0 -4
  110. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts.map +0 -1
  111. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts +0 -123
  112. package/node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts.map +0 -1
  113. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
  114. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
  115. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
  116. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
  117. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts +0 -4
  118. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts.map +0 -1
  119. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts +0 -97
  120. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts.map +0 -1
  121. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
  122. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
  123. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
  124. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
  125. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts +0 -3
  126. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts.map +0 -1
  127. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts +0 -32
  128. package/node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts.map +0 -1
  129. package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts +0 -7
  130. package/node_modules/@xyflow/react/dist/esm/additional-components/index.d.ts.map +0 -1
  131. package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts +0 -8
  132. package/node_modules/@xyflow/react/dist/esm/components/A11yDescriptions/index.d.ts.map +0 -1
  133. package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts +0 -8
  134. package/node_modules/@xyflow/react/dist/esm/components/Attribution/index.d.ts.map +0 -1
  135. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts +0 -17
  136. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/index.d.ts.map +0 -1
  137. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts +0 -7
  138. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/types.d.ts.map +0 -1
  139. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts +0 -11
  140. package/node_modules/@xyflow/react/dist/esm/components/BatchProvider/useQueue.d.ts.map +0 -1
  141. package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts +0 -12
  142. package/node_modules/@xyflow/react/dist/esm/components/ConnectionLine/index.d.ts.map +0 -1
  143. package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts +0 -47
  144. package/node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts.map +0 -1
  145. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
  146. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
  147. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts +0 -6
  148. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/index.d.ts.map +0 -1
  149. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts +0 -11
  150. package/node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/utils.d.ts.map +0 -1
  151. package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts +0 -30
  152. package/node_modules/@xyflow/react/dist/esm/components/Edges/BaseEdge.d.ts.map +0 -1
  153. package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts +0 -31
  154. package/node_modules/@xyflow/react/dist/esm/components/Edges/BezierEdge.d.ts.map +0 -1
  155. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts +0 -17
  156. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeAnchor.d.ts.map +0 -1
  157. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts +0 -34
  158. package/node_modules/@xyflow/react/dist/esm/components/Edges/EdgeText.d.ts.map +0 -1
  159. package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts +0 -30
  160. package/node_modules/@xyflow/react/dist/esm/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
  161. package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts +0 -31
  162. package/node_modules/@xyflow/react/dist/esm/components/Edges/SmoothStepEdge.d.ts.map +0 -1
  163. package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts +0 -31
  164. package/node_modules/@xyflow/react/dist/esm/components/Edges/StepEdge.d.ts.map +0 -1
  165. package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts +0 -29
  166. package/node_modules/@xyflow/react/dist/esm/components/Edges/StraightEdge.d.ts.map +0 -1
  167. package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts +0 -6
  168. package/node_modules/@xyflow/react/dist/esm/components/Edges/index.d.ts.map +0 -1
  169. package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts +0 -39
  170. package/node_modules/@xyflow/react/dist/esm/components/Handle/index.d.ts.map +0 -1
  171. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts +0 -5
  172. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/index.d.ts.map +0 -1
  173. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts +0 -14
  174. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
  175. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts +0 -9
  176. package/node_modules/@xyflow/react/dist/esm/components/NodeWrapper/utils.d.ts.map +0 -1
  177. package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts +0 -3
  178. package/node_modules/@xyflow/react/dist/esm/components/Nodes/DefaultNode.d.ts.map +0 -1
  179. package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts +0 -2
  180. package/node_modules/@xyflow/react/dist/esm/components/Nodes/GroupNode.d.ts.map +0 -1
  181. package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts +0 -3
  182. package/node_modules/@xyflow/react/dist/esm/components/Nodes/InputNode.d.ts.map +0 -1
  183. package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts +0 -3
  184. package/node_modules/@xyflow/react/dist/esm/components/Nodes/OutputNode.d.ts.map +0 -1
  185. package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts +0 -13
  186. package/node_modules/@xyflow/react/dist/esm/components/Nodes/utils.d.ts.map +0 -1
  187. package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts +0 -13
  188. package/node_modules/@xyflow/react/dist/esm/components/NodesSelection/index.d.ts.map +0 -1
  189. package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts +0 -45
  190. package/node_modules/@xyflow/react/dist/esm/components/Panel/index.d.ts.map +0 -1
  191. package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts +0 -83
  192. package/node_modules/@xyflow/react/dist/esm/components/ReactFlowProvider/index.d.ts.map +0 -1
  193. package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts +0 -7
  194. package/node_modules/@xyflow/react/dist/esm/components/SelectionListener/index.d.ts.map +0 -1
  195. package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts +0 -9
  196. package/node_modules/@xyflow/react/dist/esm/components/StoreUpdater/index.d.ts.map +0 -1
  197. package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts +0 -2
  198. package/node_modules/@xyflow/react/dist/esm/components/UserSelection/index.d.ts.map +0 -1
  199. package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts +0 -30
  200. package/node_modules/@xyflow/react/dist/esm/components/ViewportPortal/index.d.ts.map +0 -1
  201. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
  202. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
  203. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
  204. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
  205. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts +0 -13
  206. package/node_modules/@xyflow/react/dist/esm/container/EdgeRenderer/index.d.ts.map +0 -1
  207. package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts +0 -14
  208. package/node_modules/@xyflow/react/dist/esm/container/FlowRenderer/index.d.ts.map +0 -1
  209. package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts +0 -11
  210. package/node_modules/@xyflow/react/dist/esm/container/GraphView/index.d.ts.map +0 -1
  211. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
  212. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
  213. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
  214. package/node_modules/@xyflow/react/dist/esm/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
  215. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts +0 -10
  216. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/index.d.ts.map +0 -1
  217. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts +0 -2
  218. package/node_modules/@xyflow/react/dist/esm/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
  219. package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts +0 -11
  220. package/node_modules/@xyflow/react/dist/esm/container/Pane/index.d.ts.map +0 -1
  221. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts +0 -20
  222. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/Wrapper.d.ts.map +0 -1
  223. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts +0 -24
  224. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/index.d.ts.map +0 -1
  225. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts +0 -4
  226. package/node_modules/@xyflow/react/dist/esm/container/ReactFlow/init-values.d.ts.map +0 -1
  227. package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts +0 -7
  228. package/node_modules/@xyflow/react/dist/esm/container/Viewport/index.d.ts.map +0 -1
  229. package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts +0 -7
  230. package/node_modules/@xyflow/react/dist/esm/container/ZoomPane/index.d.ts.map +0 -1
  231. package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts +0 -34
  232. package/node_modules/@xyflow/react/dist/esm/contexts/NodeIdContext.d.ts.map +0 -1
  233. package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts +0 -4
  234. package/node_modules/@xyflow/react/dist/esm/contexts/StoreContext.d.ts.map +0 -1
  235. package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts +0 -9
  236. package/node_modules/@xyflow/react/dist/esm/hooks/useColorModeClass.d.ts.map +0 -1
  237. package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts +0 -33
  238. package/node_modules/@xyflow/react/dist/esm/hooks/useConnection.d.ts.map +0 -1
  239. package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts +0 -18
  240. package/node_modules/@xyflow/react/dist/esm/hooks/useDrag.d.ts.map +0 -1
  241. package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts +0 -21
  242. package/node_modules/@xyflow/react/dist/esm/hooks/useEdges.d.ts.map +0 -1
  243. package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts +0 -11
  244. package/node_modules/@xyflow/react/dist/esm/hooks/useGlobalKeyHandler.d.ts.map +0 -1
  245. package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts +0 -23
  246. package/node_modules/@xyflow/react/dist/esm/hooks/useHandleConnections.d.ts.map +0 -1
  247. package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts +0 -30
  248. package/node_modules/@xyflow/react/dist/esm/hooks/useInternalNode.d.ts.map +0 -1
  249. package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  250. package/node_modules/@xyflow/react/dist/esm/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  251. package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts +0 -53
  252. package/node_modules/@xyflow/react/dist/esm/hooks/useKeyPress.d.ts.map +0 -1
  253. package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts +0 -12
  254. package/node_modules/@xyflow/react/dist/esm/hooks/useMoveSelectedNodes.d.ts.map +0 -1
  255. package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts +0 -38
  256. package/node_modules/@xyflow/react/dist/esm/hooks/useNodeConnections.d.ts.map +0 -1
  257. package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts +0 -22
  258. package/node_modules/@xyflow/react/dist/esm/hooks/useNodes.d.ts.map +0 -1
  259. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts +0 -27
  260. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesData.d.ts.map +0 -1
  261. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts +0 -105
  262. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesEdgesState.d.ts.map +0 -1
  263. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts +0 -39
  264. package/node_modules/@xyflow/react/dist/esm/hooks/useNodesInitialized.d.ts.map +0 -1
  265. package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
  266. package/node_modules/@xyflow/react/dist/esm/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
  267. package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts +0 -8
  268. package/node_modules/@xyflow/react/dist/esm/hooks/useOnInitHandler.d.ts.map +0 -1
  269. package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
  270. package/node_modules/@xyflow/react/dist/esm/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
  271. package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts +0 -43
  272. package/node_modules/@xyflow/react/dist/esm/hooks/useOnSelectionChange.d.ts.map +0 -1
  273. package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts +0 -33
  274. package/node_modules/@xyflow/react/dist/esm/hooks/useOnViewportChange.d.ts.map +0 -1
  275. package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts +0 -30
  276. package/node_modules/@xyflow/react/dist/esm/hooks/useReactFlow.d.ts.map +0 -1
  277. package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts +0 -8
  278. package/node_modules/@xyflow/react/dist/esm/hooks/useResizeHandler.d.ts.map +0 -1
  279. package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts +0 -45
  280. package/node_modules/@xyflow/react/dist/esm/hooks/useStore.d.ts.map +0 -1
  281. package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts +0 -48
  282. package/node_modules/@xyflow/react/dist/esm/hooks/useUpdateNodeInternals.d.ts.map +0 -1
  283. package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts +0 -32
  284. package/node_modules/@xyflow/react/dist/esm/hooks/useViewport.d.ts.map +0 -1
  285. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts +0 -10
  286. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportHelper.d.ts.map +0 -1
  287. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts +0 -9
  288. package/node_modules/@xyflow/react/dist/esm/hooks/useViewportSync.d.ts.map +0 -1
  289. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts +0 -9
  290. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleEdgeIds.d.ts.map +0 -1
  291. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts +0 -9
  292. package/node_modules/@xyflow/react/dist/esm/hooks/useVisibleNodeIds.d.ts.map +0 -1
  293. package/node_modules/@xyflow/react/dist/esm/index.d.ts +0 -41
  294. package/node_modules/@xyflow/react/dist/esm/index.d.ts.map +0 -1
  295. package/node_modules/@xyflow/react/dist/esm/index.js +0 -4987
  296. package/node_modules/@xyflow/react/dist/esm/index.mjs +0 -4987
  297. package/node_modules/@xyflow/react/dist/esm/store/index.d.ts +0 -19
  298. package/node_modules/@xyflow/react/dist/esm/store/index.d.ts.map +0 -1
  299. package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts +0 -19
  300. package/node_modules/@xyflow/react/dist/esm/store/initialState.d.ts.map +0 -1
  301. package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts +0 -3
  302. package/node_modules/@xyflow/react/dist/esm/styles/utils.d.ts.map +0 -1
  303. package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts +0 -649
  304. package/node_modules/@xyflow/react/dist/esm/types/component-props.d.ts.map +0 -1
  305. package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts +0 -217
  306. package/node_modules/@xyflow/react/dist/esm/types/edges.d.ts.map +0 -1
  307. package/node_modules/@xyflow/react/dist/esm/types/general.d.ts +0 -179
  308. package/node_modules/@xyflow/react/dist/esm/types/general.d.ts.map +0 -1
  309. package/node_modules/@xyflow/react/dist/esm/types/index.d.ts +0 -7
  310. package/node_modules/@xyflow/react/dist/esm/types/index.d.ts.map +0 -1
  311. package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts +0 -242
  312. package/node_modules/@xyflow/react/dist/esm/types/instance.d.ts.map +0 -1
  313. package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts +0 -101
  314. package/node_modules/@xyflow/react/dist/esm/types/nodes.d.ts.map +0 -1
  315. package/node_modules/@xyflow/react/dist/esm/types/store.d.ts +0 -115
  316. package/node_modules/@xyflow/react/dist/esm/types/store.d.ts.map +0 -1
  317. package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts +0 -87
  318. package/node_modules/@xyflow/react/dist/esm/utils/changes.d.ts.map +0 -1
  319. package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts +0 -48
  320. package/node_modules/@xyflow/react/dist/esm/utils/general.d.ts.map +0 -1
  321. package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts +0 -3
  322. package/node_modules/@xyflow/react/dist/esm/utils/index.d.ts.map +0 -1
  323. package/node_modules/@xyflow/react/dist/style.css +0 -624
  324. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts +0 -61
  325. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Background.d.ts.map +0 -1
  326. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts +0 -15
  327. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/Patterns.d.ts.map +0 -1
  328. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts +0 -3
  329. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/index.d.ts.map +0 -1
  330. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts +0 -59
  331. package/node_modules/@xyflow/react/dist/umd/additional-components/Background/types.d.ts.map +0 -1
  332. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts +0 -26
  333. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/ControlButton.d.ts.map +0 -1
  334. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts +0 -29
  335. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Controls.d.ts.map +0 -1
  336. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts +0 -2
  337. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/FitView.d.ts.map +0 -1
  338. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts +0 -2
  339. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Lock.d.ts.map +0 -1
  340. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts +0 -2
  341. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Minus.d.ts.map +0 -1
  342. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts +0 -2
  343. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Plus.d.ts.map +0 -1
  344. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts +0 -2
  345. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/Icons/Unlock.d.ts.map +0 -1
  346. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts +0 -4
  347. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/index.d.ts.map +0 -1
  348. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts +0 -66
  349. package/node_modules/@xyflow/react/dist/umd/additional-components/Controls/types.d.ts.map +0 -1
  350. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts +0 -26
  351. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/EdgeToolbar.d.ts.map +0 -1
  352. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts +0 -3
  353. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/index.d.ts.map +0 -1
  354. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts +0 -13
  355. package/node_modules/@xyflow/react/dist/umd/additional-components/EdgeToolbar/types.d.ts.map +0 -1
  356. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts +0 -29
  357. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMap.d.ts.map +0 -1
  358. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts +0 -5
  359. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNode.d.ts.map +0 -1
  360. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts +0 -6
  361. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/MiniMapNodes.d.ts.map +0 -1
  362. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts +0 -4
  363. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/index.d.ts.map +0 -1
  364. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts +0 -123
  365. package/node_modules/@xyflow/react/dist/umd/additional-components/MiniMap/types.d.ts.map +0 -1
  366. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts +0 -11
  367. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizeControl.d.ts.map +0 -1
  368. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts +0 -27
  369. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/NodeResizer.d.ts.map +0 -1
  370. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts +0 -4
  371. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/index.d.ts.map +0 -1
  372. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts +0 -97
  373. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeResizer/types.d.ts.map +0 -1
  374. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts +0 -38
  375. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbar.d.ts.map +0 -1
  376. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts +0 -5
  377. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/NodeToolbarPortal.d.ts.map +0 -1
  378. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts +0 -3
  379. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/index.d.ts.map +0 -1
  380. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts +0 -32
  381. package/node_modules/@xyflow/react/dist/umd/additional-components/NodeToolbar/types.d.ts.map +0 -1
  382. package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts +0 -7
  383. package/node_modules/@xyflow/react/dist/umd/additional-components/index.d.ts.map +0 -1
  384. package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts +0 -8
  385. package/node_modules/@xyflow/react/dist/umd/components/A11yDescriptions/index.d.ts.map +0 -1
  386. package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts +0 -8
  387. package/node_modules/@xyflow/react/dist/umd/components/Attribution/index.d.ts.map +0 -1
  388. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts +0 -17
  389. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/index.d.ts.map +0 -1
  390. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts +0 -7
  391. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/types.d.ts.map +0 -1
  392. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts +0 -11
  393. package/node_modules/@xyflow/react/dist/umd/components/BatchProvider/useQueue.d.ts.map +0 -1
  394. package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts +0 -12
  395. package/node_modules/@xyflow/react/dist/umd/components/ConnectionLine/index.d.ts.map +0 -1
  396. package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts +0 -47
  397. package/node_modules/@xyflow/react/dist/umd/components/EdgeLabelRenderer/index.d.ts.map +0 -1
  398. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +0 -15
  399. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +0 -1
  400. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts +0 -6
  401. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/index.d.ts.map +0 -1
  402. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts +0 -11
  403. package/node_modules/@xyflow/react/dist/umd/components/EdgeWrapper/utils.d.ts.map +0 -1
  404. package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts +0 -30
  405. package/node_modules/@xyflow/react/dist/umd/components/Edges/BaseEdge.d.ts.map +0 -1
  406. package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts +0 -31
  407. package/node_modules/@xyflow/react/dist/umd/components/Edges/BezierEdge.d.ts.map +0 -1
  408. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts +0 -17
  409. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeAnchor.d.ts.map +0 -1
  410. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts +0 -34
  411. package/node_modules/@xyflow/react/dist/umd/components/Edges/EdgeText.d.ts.map +0 -1
  412. package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts +0 -30
  413. package/node_modules/@xyflow/react/dist/umd/components/Edges/SimpleBezierEdge.d.ts.map +0 -1
  414. package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts +0 -31
  415. package/node_modules/@xyflow/react/dist/umd/components/Edges/SmoothStepEdge.d.ts.map +0 -1
  416. package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts +0 -31
  417. package/node_modules/@xyflow/react/dist/umd/components/Edges/StepEdge.d.ts.map +0 -1
  418. package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts +0 -29
  419. package/node_modules/@xyflow/react/dist/umd/components/Edges/StraightEdge.d.ts.map +0 -1
  420. package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts +0 -6
  421. package/node_modules/@xyflow/react/dist/umd/components/Edges/index.d.ts.map +0 -1
  422. package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts +0 -39
  423. package/node_modules/@xyflow/react/dist/umd/components/Handle/index.d.ts.map +0 -1
  424. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts +0 -5
  425. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/index.d.ts.map +0 -1
  426. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts +0 -14
  427. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/useNodeObserver.d.ts.map +0 -1
  428. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts +0 -9
  429. package/node_modules/@xyflow/react/dist/umd/components/NodeWrapper/utils.d.ts.map +0 -1
  430. package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts +0 -3
  431. package/node_modules/@xyflow/react/dist/umd/components/Nodes/DefaultNode.d.ts.map +0 -1
  432. package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts +0 -2
  433. package/node_modules/@xyflow/react/dist/umd/components/Nodes/GroupNode.d.ts.map +0 -1
  434. package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts +0 -3
  435. package/node_modules/@xyflow/react/dist/umd/components/Nodes/InputNode.d.ts.map +0 -1
  436. package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts +0 -3
  437. package/node_modules/@xyflow/react/dist/umd/components/Nodes/OutputNode.d.ts.map +0 -1
  438. package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts +0 -13
  439. package/node_modules/@xyflow/react/dist/umd/components/Nodes/utils.d.ts.map +0 -1
  440. package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts +0 -13
  441. package/node_modules/@xyflow/react/dist/umd/components/NodesSelection/index.d.ts.map +0 -1
  442. package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts +0 -45
  443. package/node_modules/@xyflow/react/dist/umd/components/Panel/index.d.ts.map +0 -1
  444. package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts +0 -83
  445. package/node_modules/@xyflow/react/dist/umd/components/ReactFlowProvider/index.d.ts.map +0 -1
  446. package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts +0 -7
  447. package/node_modules/@xyflow/react/dist/umd/components/SelectionListener/index.d.ts.map +0 -1
  448. package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts +0 -9
  449. package/node_modules/@xyflow/react/dist/umd/components/StoreUpdater/index.d.ts.map +0 -1
  450. package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts +0 -2
  451. package/node_modules/@xyflow/react/dist/umd/components/UserSelection/index.d.ts.map +0 -1
  452. package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts +0 -30
  453. package/node_modules/@xyflow/react/dist/umd/components/ViewportPortal/index.d.ts.map +0 -1
  454. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts +0 -10
  455. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts.map +0 -1
  456. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts +0 -9
  457. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/MarkerSymbols.d.ts.map +0 -1
  458. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts +0 -13
  459. package/node_modules/@xyflow/react/dist/umd/container/EdgeRenderer/index.d.ts.map +0 -1
  460. package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts +0 -14
  461. package/node_modules/@xyflow/react/dist/umd/container/FlowRenderer/index.d.ts.map +0 -1
  462. package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts +0 -11
  463. package/node_modules/@xyflow/react/dist/umd/container/GraphView/index.d.ts.map +0 -1
  464. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts +0 -10
  465. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useNodeOrEdgeTypesWarning.d.ts.map +0 -1
  466. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts +0 -2
  467. package/node_modules/@xyflow/react/dist/umd/container/GraphView/useStylesLoadedWarning.d.ts.map +0 -1
  468. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts +0 -10
  469. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/index.d.ts.map +0 -1
  470. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts +0 -2
  471. package/node_modules/@xyflow/react/dist/umd/container/NodeRenderer/useResizeObserver.d.ts.map +0 -1
  472. package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts +0 -11
  473. package/node_modules/@xyflow/react/dist/umd/container/Pane/index.d.ts.map +0 -1
  474. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts +0 -20
  475. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/Wrapper.d.ts.map +0 -1
  476. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts +0 -24
  477. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/index.d.ts.map +0 -1
  478. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts +0 -4
  479. package/node_modules/@xyflow/react/dist/umd/container/ReactFlow/init-values.d.ts.map +0 -1
  480. package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts +0 -7
  481. package/node_modules/@xyflow/react/dist/umd/container/Viewport/index.d.ts.map +0 -1
  482. package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts +0 -7
  483. package/node_modules/@xyflow/react/dist/umd/container/ZoomPane/index.d.ts.map +0 -1
  484. package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts +0 -34
  485. package/node_modules/@xyflow/react/dist/umd/contexts/NodeIdContext.d.ts.map +0 -1
  486. package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts +0 -4
  487. package/node_modules/@xyflow/react/dist/umd/contexts/StoreContext.d.ts.map +0 -1
  488. package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts +0 -9
  489. package/node_modules/@xyflow/react/dist/umd/hooks/useColorModeClass.d.ts.map +0 -1
  490. package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts +0 -33
  491. package/node_modules/@xyflow/react/dist/umd/hooks/useConnection.d.ts.map +0 -1
  492. package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts +0 -18
  493. package/node_modules/@xyflow/react/dist/umd/hooks/useDrag.d.ts.map +0 -1
  494. package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts +0 -21
  495. package/node_modules/@xyflow/react/dist/umd/hooks/useEdges.d.ts.map +0 -1
  496. package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts +0 -11
  497. package/node_modules/@xyflow/react/dist/umd/hooks/useGlobalKeyHandler.d.ts.map +0 -1
  498. package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts +0 -23
  499. package/node_modules/@xyflow/react/dist/umd/hooks/useHandleConnections.d.ts.map +0 -1
  500. package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts +0 -30
  501. package/node_modules/@xyflow/react/dist/umd/hooks/useInternalNode.d.ts.map +0 -1
  502. package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
  503. package/node_modules/@xyflow/react/dist/umd/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  504. package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts +0 -53
  505. package/node_modules/@xyflow/react/dist/umd/hooks/useKeyPress.d.ts.map +0 -1
  506. package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts +0 -12
  507. package/node_modules/@xyflow/react/dist/umd/hooks/useMoveSelectedNodes.d.ts.map +0 -1
  508. package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts +0 -38
  509. package/node_modules/@xyflow/react/dist/umd/hooks/useNodeConnections.d.ts.map +0 -1
  510. package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts +0 -22
  511. package/node_modules/@xyflow/react/dist/umd/hooks/useNodes.d.ts.map +0 -1
  512. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts +0 -27
  513. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesData.d.ts.map +0 -1
  514. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts +0 -105
  515. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesEdgesState.d.ts.map +0 -1
  516. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts +0 -39
  517. package/node_modules/@xyflow/react/dist/umd/hooks/useNodesInitialized.d.ts.map +0 -1
  518. package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts +0 -10
  519. package/node_modules/@xyflow/react/dist/umd/hooks/useOnEdgesChangeMiddleware.d.ts.map +0 -1
  520. package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts +0 -8
  521. package/node_modules/@xyflow/react/dist/umd/hooks/useOnInitHandler.d.ts.map +0 -1
  522. package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts +0 -10
  523. package/node_modules/@xyflow/react/dist/umd/hooks/useOnNodesChangeMiddleware.d.ts.map +0 -1
  524. package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts +0 -43
  525. package/node_modules/@xyflow/react/dist/umd/hooks/useOnSelectionChange.d.ts.map +0 -1
  526. package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts +0 -33
  527. package/node_modules/@xyflow/react/dist/umd/hooks/useOnViewportChange.d.ts.map +0 -1
  528. package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts +0 -30
  529. package/node_modules/@xyflow/react/dist/umd/hooks/useReactFlow.d.ts.map +0 -1
  530. package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts +0 -8
  531. package/node_modules/@xyflow/react/dist/umd/hooks/useResizeHandler.d.ts.map +0 -1
  532. package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts +0 -45
  533. package/node_modules/@xyflow/react/dist/umd/hooks/useStore.d.ts.map +0 -1
  534. package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts +0 -48
  535. package/node_modules/@xyflow/react/dist/umd/hooks/useUpdateNodeInternals.d.ts.map +0 -1
  536. package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts +0 -32
  537. package/node_modules/@xyflow/react/dist/umd/hooks/useViewport.d.ts.map +0 -1
  538. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts +0 -10
  539. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportHelper.d.ts.map +0 -1
  540. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts +0 -9
  541. package/node_modules/@xyflow/react/dist/umd/hooks/useViewportSync.d.ts.map +0 -1
  542. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts +0 -9
  543. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleEdgeIds.d.ts.map +0 -1
  544. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts +0 -9
  545. package/node_modules/@xyflow/react/dist/umd/hooks/useVisibleNodeIds.d.ts.map +0 -1
  546. package/node_modules/@xyflow/react/dist/umd/index.d.ts +0 -41
  547. package/node_modules/@xyflow/react/dist/umd/index.d.ts.map +0 -1
  548. package/node_modules/@xyflow/react/dist/umd/index.js +0 -10
  549. package/node_modules/@xyflow/react/dist/umd/store/index.d.ts +0 -19
  550. package/node_modules/@xyflow/react/dist/umd/store/index.d.ts.map +0 -1
  551. package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts +0 -19
  552. package/node_modules/@xyflow/react/dist/umd/store/initialState.d.ts.map +0 -1
  553. package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts +0 -3
  554. package/node_modules/@xyflow/react/dist/umd/styles/utils.d.ts.map +0 -1
  555. package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts +0 -649
  556. package/node_modules/@xyflow/react/dist/umd/types/component-props.d.ts.map +0 -1
  557. package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts +0 -217
  558. package/node_modules/@xyflow/react/dist/umd/types/edges.d.ts.map +0 -1
  559. package/node_modules/@xyflow/react/dist/umd/types/general.d.ts +0 -179
  560. package/node_modules/@xyflow/react/dist/umd/types/general.d.ts.map +0 -1
  561. package/node_modules/@xyflow/react/dist/umd/types/index.d.ts +0 -7
  562. package/node_modules/@xyflow/react/dist/umd/types/index.d.ts.map +0 -1
  563. package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts +0 -242
  564. package/node_modules/@xyflow/react/dist/umd/types/instance.d.ts.map +0 -1
  565. package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts +0 -101
  566. package/node_modules/@xyflow/react/dist/umd/types/nodes.d.ts.map +0 -1
  567. package/node_modules/@xyflow/react/dist/umd/types/store.d.ts +0 -115
  568. package/node_modules/@xyflow/react/dist/umd/types/store.d.ts.map +0 -1
  569. package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts +0 -87
  570. package/node_modules/@xyflow/react/dist/umd/utils/changes.d.ts.map +0 -1
  571. package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts +0 -48
  572. package/node_modules/@xyflow/react/dist/umd/utils/general.d.ts.map +0 -1
  573. package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts +0 -3
  574. package/node_modules/@xyflow/react/dist/umd/utils/index.d.ts.map +0 -1
  575. package/node_modules/@xyflow/react/package.json +0 -98
  576. package/node_modules/@xyflow/system/LICENSE +0 -21
  577. package/node_modules/@xyflow/system/README.md +0 -62
  578. package/node_modules/@xyflow/system/dist/esm/constants.d.ts +0 -43
  579. package/node_modules/@xyflow/system/dist/esm/constants.d.ts.map +0 -1
  580. package/node_modules/@xyflow/system/dist/esm/index.d.ts +0 -9
  581. package/node_modules/@xyflow/system/dist/esm/index.d.ts.map +0 -1
  582. package/node_modules/@xyflow/system/dist/esm/index.js +0 -3514
  583. package/node_modules/@xyflow/system/dist/esm/index.mjs +0 -3514
  584. package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts +0 -64
  585. package/node_modules/@xyflow/system/dist/esm/types/changes.d.ts.map +0 -1
  586. package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts +0 -140
  587. package/node_modules/@xyflow/system/dist/esm/types/edges.d.ts.map +0 -1
  588. package/node_modules/@xyflow/system/dist/esm/types/general.d.ts +0 -296
  589. package/node_modules/@xyflow/system/dist/esm/types/general.d.ts.map +0 -1
  590. package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts +0 -58
  591. package/node_modules/@xyflow/system/dist/esm/types/handles.d.ts.map +0 -1
  592. package/node_modules/@xyflow/system/dist/esm/types/index.d.ts +0 -8
  593. package/node_modules/@xyflow/system/dist/esm/types/index.d.ts.map +0 -1
  594. package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts +0 -157
  595. package/node_modules/@xyflow/system/dist/esm/types/nodes.d.ts.map +0 -1
  596. package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts +0 -55
  597. package/node_modules/@xyflow/system/dist/esm/types/panzoom.d.ts.map +0 -1
  598. package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts +0 -61
  599. package/node_modules/@xyflow/system/dist/esm/types/utils.d.ts.map +0 -1
  600. package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts +0 -13
  601. package/node_modules/@xyflow/system/dist/esm/utils/connections.d.ts.map +0 -1
  602. package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts +0 -21
  603. package/node_modules/@xyflow/system/dist/esm/utils/dom.d.ts.map +0 -1
  604. package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts +0 -2
  605. package/node_modules/@xyflow/system/dist/esm/utils/edge-toolbar.d.ts.map +0 -1
  606. package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts +0 -77
  607. package/node_modules/@xyflow/system/dist/esm/utils/edges/bezier-edge.d.ts.map +0 -1
  608. package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts +0 -91
  609. package/node_modules/@xyflow/system/dist/esm/utils/edges/general.d.ts.map +0 -1
  610. package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts +0 -6
  611. package/node_modules/@xyflow/system/dist/esm/utils/edges/index.d.ts.map +0 -1
  612. package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts +0 -17
  613. package/node_modules/@xyflow/system/dist/esm/utils/edges/positions.d.ts.map +0 -1
  614. package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts +0 -66
  615. package/node_modules/@xyflow/system/dist/esm/utils/edges/smoothstep-edge.d.ts.map +0 -1
  616. package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts +0 -41
  617. package/node_modules/@xyflow/system/dist/esm/utils/edges/straight-edge.d.ts.map +0 -1
  618. package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts +0 -85
  619. package/node_modules/@xyflow/system/dist/esm/utils/general.d.ts.map +0 -1
  620. package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts +0 -191
  621. package/node_modules/@xyflow/system/dist/esm/utils/graph.d.ts.map +0 -1
  622. package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts +0 -12
  623. package/node_modules/@xyflow/system/dist/esm/utils/index.d.ts.map +0 -1
  624. package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts +0 -9
  625. package/node_modules/@xyflow/system/dist/esm/utils/marker.d.ts.map +0 -1
  626. package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts +0 -3
  627. package/node_modules/@xyflow/system/dist/esm/utils/node-toolbar.d.ts.map +0 -1
  628. package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts +0 -5
  629. package/node_modules/@xyflow/system/dist/esm/utils/shallow-node-data.d.ts.map +0 -1
  630. package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts +0 -34
  631. package/node_modules/@xyflow/system/dist/esm/utils/store.d.ts.map +0 -1
  632. package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts +0 -8
  633. package/node_modules/@xyflow/system/dist/esm/utils/types.d.ts.map +0 -1
  634. package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts +0 -55
  635. package/node_modules/@xyflow/system/dist/esm/xydrag/XYDrag.d.ts.map +0 -1
  636. package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts +0 -2
  637. package/node_modules/@xyflow/system/dist/esm/xydrag/index.d.ts.map +0 -1
  638. package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts +0 -24
  639. package/node_modules/@xyflow/system/dist/esm/xydrag/utils.d.ts.map +0 -1
  640. package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts +0 -3
  641. package/node_modules/@xyflow/system/dist/esm/xyhandle/XYHandle.d.ts.map +0 -1
  642. package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts +0 -2
  643. package/node_modules/@xyflow/system/dist/esm/xyhandle/index.d.ts.map +0 -1
  644. package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts +0 -50
  645. package/node_modules/@xyflow/system/dist/esm/xyhandle/types.d.ts.map +0 -1
  646. package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts +0 -10
  647. package/node_modules/@xyflow/system/dist/esm/xyhandle/utils.d.ts.map +0 -1
  648. package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts +0 -28
  649. package/node_modules/@xyflow/system/dist/esm/xyminimap/index.d.ts.map +0 -1
  650. package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts +0 -12
  651. package/node_modules/@xyflow/system/dist/esm/xypanzoom/XYPanZoom.d.ts.map +0 -1
  652. package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts +0 -46
  653. package/node_modules/@xyflow/system/dist/esm/xypanzoom/eventhandler.d.ts.map +0 -1
  654. package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts +0 -15
  655. package/node_modules/@xyflow/system/dist/esm/xypanzoom/filter.d.ts.map +0 -1
  656. package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts +0 -2
  657. package/node_modules/@xyflow/system/dist/esm/xypanzoom/index.d.ts.map +0 -1
  658. package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts +0 -9
  659. package/node_modules/@xyflow/system/dist/esm/xypanzoom/utils.d.ts.map +0 -1
  660. package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts +0 -49
  661. package/node_modules/@xyflow/system/dist/esm/xyresizer/XYResizer.d.ts.map +0 -1
  662. package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts +0 -3
  663. package/node_modules/@xyflow/system/dist/esm/xyresizer/index.d.ts.map +0 -1
  664. package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts +0 -59
  665. package/node_modules/@xyflow/system/dist/esm/xyresizer/types.d.ts.map +0 -1
  666. package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts +0 -76
  667. package/node_modules/@xyflow/system/dist/esm/xyresizer/utils.d.ts.map +0 -1
  668. package/node_modules/@xyflow/system/dist/umd/constants.d.ts +0 -43
  669. package/node_modules/@xyflow/system/dist/umd/constants.d.ts.map +0 -1
  670. package/node_modules/@xyflow/system/dist/umd/index.d.ts +0 -9
  671. package/node_modules/@xyflow/system/dist/umd/index.d.ts.map +0 -1
  672. package/node_modules/@xyflow/system/dist/umd/index.js +0 -1
  673. package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts +0 -64
  674. package/node_modules/@xyflow/system/dist/umd/types/changes.d.ts.map +0 -1
  675. package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts +0 -140
  676. package/node_modules/@xyflow/system/dist/umd/types/edges.d.ts.map +0 -1
  677. package/node_modules/@xyflow/system/dist/umd/types/general.d.ts +0 -296
  678. package/node_modules/@xyflow/system/dist/umd/types/general.d.ts.map +0 -1
  679. package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts +0 -58
  680. package/node_modules/@xyflow/system/dist/umd/types/handles.d.ts.map +0 -1
  681. package/node_modules/@xyflow/system/dist/umd/types/index.d.ts +0 -8
  682. package/node_modules/@xyflow/system/dist/umd/types/index.d.ts.map +0 -1
  683. package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts +0 -157
  684. package/node_modules/@xyflow/system/dist/umd/types/nodes.d.ts.map +0 -1
  685. package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts +0 -55
  686. package/node_modules/@xyflow/system/dist/umd/types/panzoom.d.ts.map +0 -1
  687. package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts +0 -61
  688. package/node_modules/@xyflow/system/dist/umd/types/utils.d.ts.map +0 -1
  689. package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts +0 -13
  690. package/node_modules/@xyflow/system/dist/umd/utils/connections.d.ts.map +0 -1
  691. package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts +0 -21
  692. package/node_modules/@xyflow/system/dist/umd/utils/dom.d.ts.map +0 -1
  693. package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts +0 -2
  694. package/node_modules/@xyflow/system/dist/umd/utils/edge-toolbar.d.ts.map +0 -1
  695. package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts +0 -77
  696. package/node_modules/@xyflow/system/dist/umd/utils/edges/bezier-edge.d.ts.map +0 -1
  697. package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts +0 -91
  698. package/node_modules/@xyflow/system/dist/umd/utils/edges/general.d.ts.map +0 -1
  699. package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts +0 -6
  700. package/node_modules/@xyflow/system/dist/umd/utils/edges/index.d.ts.map +0 -1
  701. package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts +0 -17
  702. package/node_modules/@xyflow/system/dist/umd/utils/edges/positions.d.ts.map +0 -1
  703. package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts +0 -66
  704. package/node_modules/@xyflow/system/dist/umd/utils/edges/smoothstep-edge.d.ts.map +0 -1
  705. package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts +0 -41
  706. package/node_modules/@xyflow/system/dist/umd/utils/edges/straight-edge.d.ts.map +0 -1
  707. package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts +0 -85
  708. package/node_modules/@xyflow/system/dist/umd/utils/general.d.ts.map +0 -1
  709. package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts +0 -191
  710. package/node_modules/@xyflow/system/dist/umd/utils/graph.d.ts.map +0 -1
  711. package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts +0 -12
  712. package/node_modules/@xyflow/system/dist/umd/utils/index.d.ts.map +0 -1
  713. package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts +0 -9
  714. package/node_modules/@xyflow/system/dist/umd/utils/marker.d.ts.map +0 -1
  715. package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts +0 -3
  716. package/node_modules/@xyflow/system/dist/umd/utils/node-toolbar.d.ts.map +0 -1
  717. package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts +0 -5
  718. package/node_modules/@xyflow/system/dist/umd/utils/shallow-node-data.d.ts.map +0 -1
  719. package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts +0 -34
  720. package/node_modules/@xyflow/system/dist/umd/utils/store.d.ts.map +0 -1
  721. package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts +0 -8
  722. package/node_modules/@xyflow/system/dist/umd/utils/types.d.ts.map +0 -1
  723. package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts +0 -55
  724. package/node_modules/@xyflow/system/dist/umd/xydrag/XYDrag.d.ts.map +0 -1
  725. package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts +0 -2
  726. package/node_modules/@xyflow/system/dist/umd/xydrag/index.d.ts.map +0 -1
  727. package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts +0 -24
  728. package/node_modules/@xyflow/system/dist/umd/xydrag/utils.d.ts.map +0 -1
  729. package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts +0 -3
  730. package/node_modules/@xyflow/system/dist/umd/xyhandle/XYHandle.d.ts.map +0 -1
  731. package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts +0 -2
  732. package/node_modules/@xyflow/system/dist/umd/xyhandle/index.d.ts.map +0 -1
  733. package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts +0 -50
  734. package/node_modules/@xyflow/system/dist/umd/xyhandle/types.d.ts.map +0 -1
  735. package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts +0 -10
  736. package/node_modules/@xyflow/system/dist/umd/xyhandle/utils.d.ts.map +0 -1
  737. package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts +0 -28
  738. package/node_modules/@xyflow/system/dist/umd/xyminimap/index.d.ts.map +0 -1
  739. package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts +0 -12
  740. package/node_modules/@xyflow/system/dist/umd/xypanzoom/XYPanZoom.d.ts.map +0 -1
  741. package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts +0 -46
  742. package/node_modules/@xyflow/system/dist/umd/xypanzoom/eventhandler.d.ts.map +0 -1
  743. package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts +0 -15
  744. package/node_modules/@xyflow/system/dist/umd/xypanzoom/filter.d.ts.map +0 -1
  745. package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts +0 -2
  746. package/node_modules/@xyflow/system/dist/umd/xypanzoom/index.d.ts.map +0 -1
  747. package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts +0 -9
  748. package/node_modules/@xyflow/system/dist/umd/xypanzoom/utils.d.ts.map +0 -1
  749. package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts +0 -49
  750. package/node_modules/@xyflow/system/dist/umd/xyresizer/XYResizer.d.ts.map +0 -1
  751. package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts +0 -3
  752. package/node_modules/@xyflow/system/dist/umd/xyresizer/index.d.ts.map +0 -1
  753. package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts +0 -59
  754. package/node_modules/@xyflow/system/dist/umd/xyresizer/types.d.ts.map +0 -1
  755. package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts +0 -76
  756. package/node_modules/@xyflow/system/dist/umd/xyresizer/utils.d.ts.map +0 -1
  757. package/node_modules/@xyflow/system/package.json +0 -79
  758. package/node_modules/classcat/LICENSE.md +0 -7
  759. package/node_modules/classcat/README.md +0 -88
  760. package/node_modules/classcat/index.cjs +0 -19
  761. package/node_modules/classcat/index.d.ts +0 -15
  762. package/node_modules/classcat/index.js +0 -19
  763. package/node_modules/classcat/package.json +0 -38
  764. package/node_modules/d3-color/LICENSE +0 -13
  765. package/node_modules/d3-color/README.md +0 -203
  766. package/node_modules/d3-color/dist/d3-color.js +0 -606
  767. package/node_modules/d3-color/dist/d3-color.min.js +0 -2
  768. package/node_modules/d3-color/package.json +0 -54
  769. package/node_modules/d3-color/src/color.js +0 -396
  770. package/node_modules/d3-color/src/cubehelix.js +0 -61
  771. package/node_modules/d3-color/src/define.js +0 -10
  772. package/node_modules/d3-color/src/index.js +0 -3
  773. package/node_modules/d3-color/src/lab.js +0 -123
  774. package/node_modules/d3-color/src/math.js +0 -2
  775. package/node_modules/d3-dispatch/LICENSE +0 -13
  776. package/node_modules/d3-dispatch/README.md +0 -94
  777. package/node_modules/d3-dispatch/dist/d3-dispatch.js +0 -95
  778. package/node_modules/d3-dispatch/dist/d3-dispatch.min.js +0 -2
  779. package/node_modules/d3-dispatch/package.json +0 -50
  780. package/node_modules/d3-dispatch/src/dispatch.js +0 -84
  781. package/node_modules/d3-dispatch/src/index.js +0 -1
  782. package/node_modules/d3-drag/LICENSE +0 -13
  783. package/node_modules/d3-drag/README.md +0 -248
  784. package/node_modules/d3-drag/dist/d3-drag.js +0 -273
  785. package/node_modules/d3-drag/dist/d3-drag.min.js +0 -2
  786. package/node_modules/d3-drag/package.json +0 -54
  787. package/node_modules/d3-drag/src/constant.js +0 -1
  788. package/node_modules/d3-drag/src/drag.js +0 -194
  789. package/node_modules/d3-drag/src/event.js +0 -28
  790. package/node_modules/d3-drag/src/index.js +0 -2
  791. package/node_modules/d3-drag/src/nodrag.js +0 -28
  792. package/node_modules/d3-drag/src/noevent.js +0 -13
  793. package/node_modules/d3-ease/LICENSE +0 -28
  794. package/node_modules/d3-ease/README.md +0 -253
  795. package/node_modules/d3-ease/dist/d3-ease.js +0 -262
  796. package/node_modules/d3-ease/dist/d3-ease.min.js +0 -2
  797. package/node_modules/d3-ease/package.json +0 -51
  798. package/node_modules/d3-ease/src/back.js +0 -37
  799. package/node_modules/d3-ease/src/bounce.js +0 -22
  800. package/node_modules/d3-ease/src/circle.js +0 -11
  801. package/node_modules/d3-ease/src/cubic.js +0 -11
  802. package/node_modules/d3-ease/src/elastic.js +0 -46
  803. package/node_modules/d3-ease/src/exp.js +0 -13
  804. package/node_modules/d3-ease/src/index.js +0 -66
  805. package/node_modules/d3-ease/src/linear.js +0 -1
  806. package/node_modules/d3-ease/src/math.js +0 -4
  807. package/node_modules/d3-ease/src/poly.js +0 -37
  808. package/node_modules/d3-ease/src/quad.js +0 -11
  809. package/node_modules/d3-ease/src/sin.js +0 -14
  810. package/node_modules/d3-interpolate/LICENSE +0 -13
  811. package/node_modules/d3-interpolate/README.md +0 -268
  812. package/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -590
  813. package/node_modules/d3-interpolate/dist/d3-interpolate.min.js +0 -2
  814. package/node_modules/d3-interpolate/package.json +0 -53
  815. package/node_modules/d3-interpolate/src/array.js +0 -22
  816. package/node_modules/d3-interpolate/src/basis.js +0 -19
  817. package/node_modules/d3-interpolate/src/basisClosed.js +0 -13
  818. package/node_modules/d3-interpolate/src/color.js +0 -29
  819. package/node_modules/d3-interpolate/src/constant.js +0 -1
  820. package/node_modules/d3-interpolate/src/cubehelix.js +0 -29
  821. package/node_modules/d3-interpolate/src/date.js +0 -6
  822. package/node_modules/d3-interpolate/src/discrete.js +0 -6
  823. package/node_modules/d3-interpolate/src/hcl.js +0 -21
  824. package/node_modules/d3-interpolate/src/hsl.js +0 -21
  825. package/node_modules/d3-interpolate/src/hue.js +0 -9
  826. package/node_modules/d3-interpolate/src/index.js +0 -21
  827. package/node_modules/d3-interpolate/src/lab.js +0 -16
  828. package/node_modules/d3-interpolate/src/number.js +0 -5
  829. package/node_modules/d3-interpolate/src/numberArray.js +0 -14
  830. package/node_modules/d3-interpolate/src/object.js +0 -23
  831. package/node_modules/d3-interpolate/src/piecewise.js +0 -11
  832. package/node_modules/d3-interpolate/src/quantize.js +0 -5
  833. package/node_modules/d3-interpolate/src/rgb.js +0 -55
  834. package/node_modules/d3-interpolate/src/round.js +0 -5
  835. package/node_modules/d3-interpolate/src/string.js +0 -64
  836. package/node_modules/d3-interpolate/src/transform/decompose.js +0 -26
  837. package/node_modules/d3-interpolate/src/transform/index.js +0 -63
  838. package/node_modules/d3-interpolate/src/transform/parse.js +0 -18
  839. package/node_modules/d3-interpolate/src/value.js +0 -22
  840. package/node_modules/d3-interpolate/src/zoom.js +0 -71
  841. package/node_modules/d3-selection/LICENSE +0 -13
  842. package/node_modules/d3-selection/README.md +0 -863
  843. package/node_modules/d3-selection/dist/d3-selection.js +0 -1022
  844. package/node_modules/d3-selection/dist/d3-selection.min.js +0 -2
  845. package/node_modules/d3-selection/package.json +0 -51
  846. package/node_modules/d3-selection/src/array.js +0 -9
  847. package/node_modules/d3-selection/src/constant.js +0 -5
  848. package/node_modules/d3-selection/src/create.js +0 -6
  849. package/node_modules/d3-selection/src/creator.js +0 -25
  850. package/node_modules/d3-selection/src/identity.js +0 -3
  851. package/node_modules/d3-selection/src/index.js +0 -15
  852. package/node_modules/d3-selection/src/local.js +0 -27
  853. package/node_modules/d3-selection/src/matcher.js +0 -12
  854. package/node_modules/d3-selection/src/namespace.js +0 -7
  855. package/node_modules/d3-selection/src/namespaces.js +0 -9
  856. package/node_modules/d3-selection/src/pointer.js +0 -20
  857. package/node_modules/d3-selection/src/pointers.js +0 -11
  858. package/node_modules/d3-selection/src/select.js +0 -7
  859. package/node_modules/d3-selection/src/selectAll.js +0 -8
  860. package/node_modules/d3-selection/src/selection/append.js +0 -8
  861. package/node_modules/d3-selection/src/selection/attr.js +0 -57
  862. package/node_modules/d3-selection/src/selection/call.js +0 -6
  863. package/node_modules/d3-selection/src/selection/classed.js +0 -75
  864. package/node_modules/d3-selection/src/selection/clone.js +0 -13
  865. package/node_modules/d3-selection/src/selection/data.js +0 -128
  866. package/node_modules/d3-selection/src/selection/datum.js +0 -5
  867. package/node_modules/d3-selection/src/selection/dispatch.js +0 -34
  868. package/node_modules/d3-selection/src/selection/each.js +0 -10
  869. package/node_modules/d3-selection/src/selection/empty.js +0 -3
  870. package/node_modules/d3-selection/src/selection/enter.js +0 -22
  871. package/node_modules/d3-selection/src/selection/exit.js +0 -6
  872. package/node_modules/d3-selection/src/selection/filter.js +0 -16
  873. package/node_modules/d3-selection/src/selection/html.js +0 -25
  874. package/node_modules/d3-selection/src/selection/index.js +0 -90
  875. package/node_modules/d3-selection/src/selection/insert.js +0 -14
  876. package/node_modules/d3-selection/src/selection/iterator.js +0 -7
  877. package/node_modules/d3-selection/src/selection/join.js +0 -15
  878. package/node_modules/d3-selection/src/selection/lower.js +0 -7
  879. package/node_modules/d3-selection/src/selection/merge.js +0 -19
  880. package/node_modules/d3-selection/src/selection/node.js +0 -11
  881. package/node_modules/d3-selection/src/selection/nodes.js +0 -3
  882. package/node_modules/d3-selection/src/selection/on.js +0 -67
  883. package/node_modules/d3-selection/src/selection/order.js +0 -13
  884. package/node_modules/d3-selection/src/selection/property.js +0 -28
  885. package/node_modules/d3-selection/src/selection/raise.js +0 -7
  886. package/node_modules/d3-selection/src/selection/remove.js +0 -8
  887. package/node_modules/d3-selection/src/selection/select.js +0 -17
  888. package/node_modules/d3-selection/src/selection/selectAll.js +0 -25
  889. package/node_modules/d3-selection/src/selection/selectChild.js +0 -18
  890. package/node_modules/d3-selection/src/selection/selectChildren.js +0 -18
  891. package/node_modules/d3-selection/src/selection/size.js +0 -5
  892. package/node_modules/d3-selection/src/selection/sort.js +0 -24
  893. package/node_modules/d3-selection/src/selection/sparse.js +0 -3
  894. package/node_modules/d3-selection/src/selection/style.js +0 -35
  895. package/node_modules/d3-selection/src/selection/text.js +0 -25
  896. package/node_modules/d3-selection/src/selector.js +0 -7
  897. package/node_modules/d3-selection/src/selectorAll.js +0 -9
  898. package/node_modules/d3-selection/src/sourceEvent.js +0 -5
  899. package/node_modules/d3-selection/src/window.js +0 -5
  900. package/node_modules/d3-timer/LICENSE +0 -13
  901. package/node_modules/d3-timer/README.md +0 -87
  902. package/node_modules/d3-timer/dist/d3-timer.js +0 -153
  903. package/node_modules/d3-timer/dist/d3-timer.min.js +0 -2
  904. package/node_modules/d3-timer/package.json +0 -53
  905. package/node_modules/d3-timer/src/index.js +0 -13
  906. package/node_modules/d3-timer/src/interval.js +0 -17
  907. package/node_modules/d3-timer/src/timeout.js +0 -11
  908. package/node_modules/d3-timer/src/timer.js +0 -110
  909. package/node_modules/d3-transition/LICENSE +0 -13
  910. package/node_modules/d3-transition/README.md +0 -490
  911. package/node_modules/d3-transition/dist/d3-transition.js +0 -900
  912. package/node_modules/d3-transition/dist/d3-transition.min.js +0 -2
  913. package/node_modules/d3-transition/package.json +0 -65
  914. package/node_modules/d3-transition/src/active.js +0 -21
  915. package/node_modules/d3-transition/src/index.js +0 -4
  916. package/node_modules/d3-transition/src/interrupt.js +0 -24
  917. package/node_modules/d3-transition/src/selection/index.js +0 -6
  918. package/node_modules/d3-transition/src/selection/interrupt.js +0 -7
  919. package/node_modules/d3-transition/src/selection/transition.js +0 -42
  920. package/node_modules/d3-transition/src/transition/attr.js +0 -78
  921. package/node_modules/d3-transition/src/transition/attrTween.js +0 -44
  922. package/node_modules/d3-transition/src/transition/delay.js +0 -23
  923. package/node_modules/d3-transition/src/transition/duration.js +0 -23
  924. package/node_modules/d3-transition/src/transition/ease.js +0 -16
  925. package/node_modules/d3-transition/src/transition/easeVarying.js +0 -14
  926. package/node_modules/d3-transition/src/transition/end.js +0 -29
  927. package/node_modules/d3-transition/src/transition/filter.js +0 -16
  928. package/node_modules/d3-transition/src/transition/index.js +0 -73
  929. package/node_modules/d3-transition/src/transition/interpolate.js +0 -10
  930. package/node_modules/d3-transition/src/transition/merge.js +0 -19
  931. package/node_modules/d3-transition/src/transition/on.js +0 -32
  932. package/node_modules/d3-transition/src/transition/remove.js +0 -11
  933. package/node_modules/d3-transition/src/transition/schedule.js +0 -153
  934. package/node_modules/d3-transition/src/transition/select.js +0 -22
  935. package/node_modules/d3-transition/src/transition/selectAll.js +0 -26
  936. package/node_modules/d3-transition/src/transition/selection.js +0 -7
  937. package/node_modules/d3-transition/src/transition/style.js +0 -80
  938. package/node_modules/d3-transition/src/transition/styleTween.js +0 -24
  939. package/node_modules/d3-transition/src/transition/text.js +0 -20
  940. package/node_modules/d3-transition/src/transition/textTween.js +0 -24
  941. package/node_modules/d3-transition/src/transition/transition.js +0 -24
  942. package/node_modules/d3-transition/src/transition/tween.js +0 -81
  943. package/node_modules/d3-zoom/LICENSE +0 -13
  944. package/node_modules/d3-zoom/README.md +0 -414
  945. package/node_modules/d3-zoom/dist/d3-zoom.js +0 -531
  946. package/node_modules/d3-zoom/dist/d3-zoom.min.js +0 -2
  947. package/node_modules/d3-zoom/package.json +0 -57
  948. package/node_modules/d3-zoom/src/constant.js +0 -1
  949. package/node_modules/d3-zoom/src/event.js +0 -14
  950. package/node_modules/d3-zoom/src/index.js +0 -2
  951. package/node_modules/d3-zoom/src/noevent.js +0 -8
  952. package/node_modules/d3-zoom/src/transform.js +0 -51
  953. package/node_modules/d3-zoom/src/zoom.js +0 -447
  954. package/node_modules/use-sync-external-store/LICENSE +0 -21
  955. package/node_modules/use-sync-external-store/README.md +0 -5
  956. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -97
  957. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -85
  958. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -95
  959. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.development.js +0 -88
  960. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.production.js +0 -59
  961. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -66
  962. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -96
  963. package/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -84
  964. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.development.js +0 -27
  965. package/node_modules/use-sync-external-store/cjs/use-sync-external-store.production.js +0 -13
  966. package/node_modules/use-sync-external-store/index.js +0 -7
  967. package/node_modules/use-sync-external-store/package.json +0 -43
  968. package/node_modules/use-sync-external-store/shim/index.js +0 -7
  969. package/node_modules/use-sync-external-store/shim/index.native.js +0 -7
  970. package/node_modules/use-sync-external-store/shim/with-selector.js +0 -7
  971. package/node_modules/use-sync-external-store/with-selector.js +0 -7
  972. package/node_modules/zustand/LICENSE +0 -21
  973. package/node_modules/zustand/context.d.ts +0 -25
  974. package/node_modules/zustand/context.js +0 -60
  975. package/node_modules/zustand/esm/context.d.mts +0 -25
  976. package/node_modules/zustand/esm/context.d.ts +0 -25
  977. package/node_modules/zustand/esm/context.js +0 -61
  978. package/node_modules/zustand/esm/context.mjs +0 -61
  979. package/node_modules/zustand/esm/index.d.mts +0 -3
  980. package/node_modules/zustand/esm/index.d.ts +0 -3
  981. package/node_modules/zustand/esm/index.js +0 -48
  982. package/node_modules/zustand/esm/index.mjs +0 -48
  983. package/node_modules/zustand/esm/middleware/combine.d.mts +0 -5
  984. package/node_modules/zustand/esm/middleware/combine.d.ts +0 -5
  985. package/node_modules/zustand/esm/middleware/devtools.d.mts +0 -49
  986. package/node_modules/zustand/esm/middleware/devtools.d.ts +0 -49
  987. package/node_modules/zustand/esm/middleware/immer.d.mts +0 -25
  988. package/node_modules/zustand/esm/middleware/immer.d.ts +0 -25
  989. package/node_modules/zustand/esm/middleware/immer.js +0 -12
  990. package/node_modules/zustand/esm/middleware/immer.mjs +0 -12
  991. package/node_modules/zustand/esm/middleware/persist.d.mts +0 -119
  992. package/node_modules/zustand/esm/middleware/persist.d.ts +0 -119
  993. package/node_modules/zustand/esm/middleware/redux.d.mts +0 -21
  994. package/node_modules/zustand/esm/middleware/redux.d.ts +0 -21
  995. package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.mts +0 -25
  996. package/node_modules/zustand/esm/middleware/subscribeWithSelector.d.ts +0 -25
  997. package/node_modules/zustand/esm/middleware.d.mts +0 -5
  998. package/node_modules/zustand/esm/middleware.d.ts +0 -5
  999. package/node_modules/zustand/esm/middleware.js +0 -583
  1000. package/node_modules/zustand/esm/middleware.mjs +0 -583
  1001. package/node_modules/zustand/esm/react/shallow.d.mts +0 -1
  1002. package/node_modules/zustand/esm/react/shallow.d.ts +0 -1
  1003. package/node_modules/zustand/esm/react/shallow.js +0 -49
  1004. package/node_modules/zustand/esm/react/shallow.mjs +0 -49
  1005. package/node_modules/zustand/esm/react.d.mts +0 -38
  1006. package/node_modules/zustand/esm/react.d.ts +0 -38
  1007. package/node_modules/zustand/esm/shallow.d.mts +0 -7
  1008. package/node_modules/zustand/esm/shallow.d.ts +0 -7
  1009. package/node_modules/zustand/esm/shallow.js +0 -47
  1010. package/node_modules/zustand/esm/shallow.mjs +0 -47
  1011. package/node_modules/zustand/esm/traditional.d.mts +0 -21
  1012. package/node_modules/zustand/esm/traditional.d.ts +0 -21
  1013. package/node_modules/zustand/esm/traditional.js +0 -27
  1014. package/node_modules/zustand/esm/traditional.mjs +0 -27
  1015. package/node_modules/zustand/esm/vanilla/shallow.d.mts +0 -1
  1016. package/node_modules/zustand/esm/vanilla/shallow.d.ts +0 -1
  1017. package/node_modules/zustand/esm/vanilla/shallow.js +0 -38
  1018. package/node_modules/zustand/esm/vanilla/shallow.mjs +0 -38
  1019. package/node_modules/zustand/esm/vanilla.d.mts +0 -81
  1020. package/node_modules/zustand/esm/vanilla.d.ts +0 -81
  1021. package/node_modules/zustand/esm/vanilla.js +0 -40
  1022. package/node_modules/zustand/esm/vanilla.mjs +0 -40
  1023. package/node_modules/zustand/index.d.ts +0 -3
  1024. package/node_modules/zustand/index.js +0 -60
  1025. package/node_modules/zustand/middleware/combine.d.ts +0 -5
  1026. package/node_modules/zustand/middleware/devtools.d.ts +0 -49
  1027. package/node_modules/zustand/middleware/immer.d.ts +0 -25
  1028. package/node_modules/zustand/middleware/immer.js +0 -19
  1029. package/node_modules/zustand/middleware/persist.d.ts +0 -119
  1030. package/node_modules/zustand/middleware/redux.d.ts +0 -21
  1031. package/node_modules/zustand/middleware/subscribeWithSelector.d.ts +0 -25
  1032. package/node_modules/zustand/middleware.d.ts +0 -5
  1033. package/node_modules/zustand/middleware.js +0 -609
  1034. package/node_modules/zustand/package.json +0 -232
  1035. package/node_modules/zustand/react/shallow.d.ts +0 -1
  1036. package/node_modules/zustand/react/shallow.js +0 -86
  1037. package/node_modules/zustand/react.d.ts +0 -38
  1038. package/node_modules/zustand/readme.md +0 -505
  1039. package/node_modules/zustand/shallow.d.ts +0 -7
  1040. package/node_modules/zustand/shallow.js +0 -87
  1041. package/node_modules/zustand/system/context.development.js +0 -73
  1042. package/node_modules/zustand/system/context.production.js +0 -1
  1043. package/node_modules/zustand/system/index.development.js +0 -71
  1044. package/node_modules/zustand/system/index.production.js +0 -1
  1045. package/node_modules/zustand/system/middleware/immer.development.js +0 -21
  1046. package/node_modules/zustand/system/middleware/immer.production.js +0 -1
  1047. package/node_modules/zustand/system/middleware.development.js +0 -592
  1048. package/node_modules/zustand/system/middleware.production.js +0 -5
  1049. package/node_modules/zustand/system/react/shallow.development.js +0 -60
  1050. package/node_modules/zustand/system/react/shallow.production.js +0 -1
  1051. package/node_modules/zustand/system/shallow.development.js +0 -56
  1052. package/node_modules/zustand/system/shallow.production.js +0 -1
  1053. package/node_modules/zustand/system/traditional.development.js +0 -40
  1054. package/node_modules/zustand/system/traditional.production.js +0 -1
  1055. package/node_modules/zustand/system/vanilla/shallow.development.js +0 -47
  1056. package/node_modules/zustand/system/vanilla/shallow.production.js +0 -1
  1057. package/node_modules/zustand/system/vanilla.development.js +0 -47
  1058. package/node_modules/zustand/system/vanilla.production.js +0 -1
  1059. package/node_modules/zustand/traditional.d.ts +0 -21
  1060. package/node_modules/zustand/traditional.js +0 -36
  1061. package/node_modules/zustand/ts3.4/context.d.ts +0 -25
  1062. package/node_modules/zustand/ts3.4/esm/context.d.ts +0 -25
  1063. package/node_modules/zustand/ts3.4/esm/index.d.ts +0 -3
  1064. package/node_modules/zustand/ts3.4/esm/middleware/combine.d.ts +0 -13
  1065. package/node_modules/zustand/ts3.4/esm/middleware/devtools.d.ts +0 -102
  1066. package/node_modules/zustand/ts3.4/esm/middleware/immer.d.ts +0 -60
  1067. package/node_modules/zustand/ts3.4/esm/middleware/persist.d.ts +0 -139
  1068. package/node_modules/zustand/ts3.4/esm/middleware/redux.d.ts +0 -30
  1069. package/node_modules/zustand/ts3.4/esm/middleware/subscribeWithSelector.d.ts +0 -42
  1070. package/node_modules/zustand/ts3.4/esm/middleware.d.ts +0 -5
  1071. package/node_modules/zustand/ts3.4/esm/react/shallow.d.ts +0 -1
  1072. package/node_modules/zustand/ts3.4/esm/react.d.ts +0 -48
  1073. package/node_modules/zustand/ts3.4/esm/shallow.d.ts +0 -7
  1074. package/node_modules/zustand/ts3.4/esm/traditional.d.ts +0 -31
  1075. package/node_modules/zustand/ts3.4/esm/vanilla/shallow.d.ts +0 -1
  1076. package/node_modules/zustand/ts3.4/esm/vanilla.d.ts +0 -106
  1077. package/node_modules/zustand/ts3.4/index.d.ts +0 -3
  1078. package/node_modules/zustand/ts3.4/middleware/combine.d.ts +0 -13
  1079. package/node_modules/zustand/ts3.4/middleware/devtools.d.ts +0 -102
  1080. package/node_modules/zustand/ts3.4/middleware/immer.d.ts +0 -60
  1081. package/node_modules/zustand/ts3.4/middleware/persist.d.ts +0 -139
  1082. package/node_modules/zustand/ts3.4/middleware/redux.d.ts +0 -30
  1083. package/node_modules/zustand/ts3.4/middleware/subscribeWithSelector.d.ts +0 -42
  1084. package/node_modules/zustand/ts3.4/middleware.d.ts +0 -5
  1085. package/node_modules/zustand/ts3.4/react/shallow.d.ts +0 -1
  1086. package/node_modules/zustand/ts3.4/react.d.ts +0 -48
  1087. package/node_modules/zustand/ts3.4/shallow.d.ts +0 -7
  1088. package/node_modules/zustand/ts3.4/traditional.d.ts +0 -31
  1089. package/node_modules/zustand/ts3.4/vanilla/shallow.d.ts +0 -1
  1090. package/node_modules/zustand/ts3.4/vanilla.d.ts +0 -106
  1091. package/node_modules/zustand/umd/context.development.js +0 -63
  1092. package/node_modules/zustand/umd/context.production.js +0 -1
  1093. package/node_modules/zustand/umd/index.development.js +0 -58
  1094. package/node_modules/zustand/umd/index.production.js +0 -1
  1095. package/node_modules/zustand/umd/middleware/immer.development.js +0 -23
  1096. package/node_modules/zustand/umd/middleware/immer.production.js +0 -1
  1097. package/node_modules/zustand/umd/middleware.development.js +0 -615
  1098. package/node_modules/zustand/umd/middleware.production.js +0 -1
  1099. package/node_modules/zustand/umd/react/shallow.development.js +0 -90
  1100. package/node_modules/zustand/umd/react/shallow.production.js +0 -1
  1101. package/node_modules/zustand/umd/shallow.development.js +0 -91
  1102. package/node_modules/zustand/umd/shallow.production.js +0 -1
  1103. package/node_modules/zustand/umd/traditional.development.js +0 -38
  1104. package/node_modules/zustand/umd/traditional.production.js +0 -1
  1105. package/node_modules/zustand/umd/vanilla/shallow.development.js +0 -81
  1106. package/node_modules/zustand/umd/vanilla/shallow.production.js +0 -1
  1107. package/node_modules/zustand/umd/vanilla.development.js +0 -63
  1108. package/node_modules/zustand/umd/vanilla.production.js +0 -1
  1109. package/node_modules/zustand/vanilla/shallow.d.ts +0 -1
  1110. package/node_modules/zustand/vanilla/shallow.js +0 -75
  1111. package/node_modules/zustand/vanilla.d.ts +0 -81
  1112. package/node_modules/zustand/vanilla.js +0 -59
@@ -1,157 +0,0 @@
1
- import type { XYPosition, Position, CoordinateExtent, Handle } from '.';
2
- import { Optional } from '../utils/types';
3
- /**
4
- * Framework independent node data structure.
5
- *
6
- * @inline
7
- * @typeParam NodeData - type of the node data
8
- * @typeParam NodeType - type of the node
9
- */
10
- export type NodeBase<NodeData extends Record<string, unknown> = Record<string, unknown>, NodeType extends string | undefined = string | undefined> = {
11
- /** Unique id of a node. */
12
- id: string;
13
- /**
14
- * Position of a node on the pane.
15
- * @example { x: 0, y: 0 }
16
- */
17
- position: XYPosition;
18
- /** Arbitrary data passed to a node. */
19
- data: NodeData;
20
- /**
21
- * Only relevant for default, source, target nodeType. Controls source position.
22
- * @example 'right', 'left', 'top', 'bottom'
23
- */
24
- sourcePosition?: Position;
25
- /**
26
- * Only relevant for default, source, target nodeType. Controls target position.
27
- * @example 'right', 'left', 'top', 'bottom'
28
- */
29
- targetPosition?: Position;
30
- /** Whether or not the node should be visible on the canvas. */
31
- hidden?: boolean;
32
- selected?: boolean;
33
- /** Whether or not the node is currently being dragged. */
34
- dragging?: boolean;
35
- /** Whether or not the node is able to be dragged. */
36
- draggable?: boolean;
37
- selectable?: boolean;
38
- connectable?: boolean;
39
- deletable?: boolean;
40
- /**
41
- * A class name that can be applied to elements inside the node that allows those elements to act
42
- * as drag handles, letting the user drag the node by clicking and dragging on those elements.
43
- */
44
- dragHandle?: string;
45
- width?: number;
46
- height?: number;
47
- initialWidth?: number;
48
- initialHeight?: number;
49
- /** Parent node id, used for creating sub-flows. */
50
- parentId?: string;
51
- zIndex?: number;
52
- /**
53
- * Boundary a node can be moved in.
54
- * @example 'parent' or [[0, 0], [100, 100]]
55
- */
56
- extent?: 'parent' | CoordinateExtent | null;
57
- /**
58
- * When `true`, the parent node will automatically expand if this node is dragged to the edge of
59
- * the parent node's bounds.
60
- */
61
- expandParent?: boolean;
62
- ariaLabel?: string;
63
- /**
64
- * Origin of the node relative to its position.
65
- * @example
66
- * [0.5, 0.5] // centers the node
67
- * [0, 0] // top left
68
- * [1, 1] // bottom right
69
- */
70
- origin?: NodeOrigin;
71
- handles?: NodeHandle[];
72
- measured?: {
73
- width?: number;
74
- height?: number;
75
- };
76
- } & (undefined extends NodeType ? {
77
- /** Type of node defined in nodeTypes */
78
- type?: string | undefined;
79
- } : {
80
- /** Type of node defined in nodeTypes */
81
- type: NodeType;
82
- });
83
- export type InternalNodeBase<NodeType extends NodeBase = NodeBase> = Omit<NodeType, 'measured'> & {
84
- measured: {
85
- width?: number;
86
- height?: number;
87
- };
88
- internals: {
89
- positionAbsolute: XYPosition;
90
- z: number;
91
- rootParentIndex?: number;
92
- /**
93
- * Holds a reference to the original node object provided by the user.
94
- * Used as an optimization to avoid certain operations.
95
- */
96
- userNode: NodeType;
97
- handleBounds?: NodeHandleBounds;
98
- bounds?: NodeBounds;
99
- };
100
- };
101
- /**
102
- * The node data structure that gets used for the custom nodes props.
103
- *
104
- * @public
105
- */
106
- export type NodeProps<NodeType extends NodeBase> = Pick<NodeType, 'id' | 'data' | 'width' | 'height' | 'sourcePosition' | 'targetPosition' | 'dragHandle' | 'parentId'> & Required<Pick<NodeType, 'type' | 'dragging' | 'zIndex' | 'selectable' | 'deletable' | 'selected' | 'draggable'>> & {
107
- /** Whether a node is connectable or not. */
108
- isConnectable: boolean;
109
- /** Position absolute x value. */
110
- positionAbsoluteX: number;
111
- /** Position absolute y value. */
112
- positionAbsoluteY: number;
113
- };
114
- export type NodeHandleBounds = {
115
- source: Handle[] | null;
116
- target: Handle[] | null;
117
- };
118
- export type InternalNodeUpdate = {
119
- id: string;
120
- nodeElement: HTMLDivElement;
121
- force?: boolean;
122
- };
123
- export type NodeBounds = XYPosition & {
124
- width: number | null;
125
- height: number | null;
126
- };
127
- export type NodeDragItem = {
128
- id: string;
129
- position: XYPosition;
130
- distance: XYPosition;
131
- measured: {
132
- width: number;
133
- height: number;
134
- };
135
- internals: {
136
- positionAbsolute: XYPosition;
137
- };
138
- } & Pick<InternalNodeBase, 'extent' | 'parentId' | 'origin' | 'expandParent' | 'dragging'>;
139
- /**
140
- * The origin of a Node determines how it is placed relative to its own coordinates.
141
- * `[0, 0]` places it at the top left corner, `[0.5, 0.5]` right in the center and
142
- * `[1, 1]` at the bottom right of its position.
143
- *
144
- * @public
145
- */
146
- export type NodeOrigin = [number, number];
147
- export type OnSelectionDrag = (event: MouseEvent, nodes: NodeBase[]) => void;
148
- /**
149
- * Type for the handles of a node
150
- *
151
- * @public
152
- */
153
- export type NodeHandle = Omit<Optional<Handle, 'width' | 'height'>, 'nodeId'>;
154
- export type Align = 'center' | 'start' | 'end';
155
- export type NodeLookup<NodeType extends InternalNodeBase = InternalNodeBase> = Map<string, NodeType>;
156
- export type ParentLookup<NodeType extends InternalNodeBase = InternalNodeBase> = Map<string, Map<string, NodeType>>;
157
- //# sourceMappingURL=nodes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/types/nodes.ts"],"names":[],"mappings":"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"}
@@ -1,55 +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
- onDraggingChange: OnDraggingChange;
12
- onPanZoomStart?: OnPanZoom;
13
- onPanZoom?: OnPanZoom;
14
- onPanZoomEnd?: OnPanZoom;
15
- };
16
- export type PanZoomTransformOptions = {
17
- duration?: number;
18
- ease?: (t: number) => number;
19
- interpolate?: 'smooth' | 'linear';
20
- };
21
- export type OnPanZoom = (event: MouseEvent | TouchEvent | null, viewport: Viewport) => void;
22
- export type PanZoomUpdateOptions = {
23
- noWheelClassName: string;
24
- noPanClassName: string;
25
- onPaneContextMenu?: (event: MouseEvent) => void;
26
- preventScrolling: boolean;
27
- panOnScroll: boolean;
28
- panOnDrag: boolean | number[];
29
- panOnScrollMode: PanOnScrollMode;
30
- panOnScrollSpeed: number;
31
- userSelectionActive: boolean;
32
- zoomOnPinch: boolean;
33
- zoomOnScroll: boolean;
34
- zoomOnDoubleClick: boolean;
35
- zoomActivationKeyPressed: boolean;
36
- lib: string;
37
- onTransformChange: OnTransformChange;
38
- connectionInProgress: boolean;
39
- paneClickDistance: number;
40
- selectionOnDrag?: boolean;
41
- };
42
- export type PanZoomInstance = {
43
- update: (params: PanZoomUpdateOptions) => void;
44
- destroy: () => void;
45
- getViewport: () => Viewport;
46
- setViewport: (viewport: Viewport, options?: PanZoomTransformOptions) => Promise<ZoomTransform | undefined>;
47
- setViewportConstrained: (viewport: Viewport, extent: CoordinateExtent, translateExtent: CoordinateExtent) => Promise<ZoomTransform | undefined>;
48
- setScaleExtent: (scaleExtent: [number, number]) => void;
49
- setTranslateExtent: (translateExtent: CoordinateExtent) => void;
50
- scaleTo: (scale: number, options?: PanZoomTransformOptions) => Promise<boolean>;
51
- scaleBy: (factor: number, options?: PanZoomTransformOptions) => Promise<boolean>;
52
- syncViewport: (viewport: Viewport) => void;
53
- setClickDistance: (distance: number) => void;
54
- };
55
- //# sourceMappingURL=panzoom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"panzoom.d.ts","sourceRoot":"","sources":["../../src/types/panzoom.ts"],"names":[],"mappings":"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"}
@@ -1,61 +0,0 @@
1
- /**
2
- * While [`PanelPosition`](/api-reference/types/panel-position) can be used to place a
3
- * component in the corners of a container, the `Position` enum is less precise and used
4
- * primarily in relation to edges and handles.
5
- *
6
- * @public
7
- */
8
- export declare enum Position {
9
- Left = "left",
10
- Top = "top",
11
- Right = "right",
12
- Bottom = "bottom"
13
- }
14
- export declare const oppositePosition: {
15
- left: Position;
16
- right: Position;
17
- top: Position;
18
- bottom: Position;
19
- };
20
- /**
21
- * All positions are stored in an object with x and y coordinates.
22
- *
23
- * @public
24
- */
25
- export type XYPosition = {
26
- x: number;
27
- y: number;
28
- };
29
- export type XYZPosition = XYPosition & {
30
- z: number;
31
- };
32
- export type Dimensions = {
33
- width: number;
34
- height: number;
35
- };
36
- export type Rect = Dimensions & XYPosition;
37
- export type Box = XYPosition & {
38
- x2: number;
39
- y2: number;
40
- };
41
- export type Transform = [number, number, number];
42
- /**
43
- * A coordinate extent represents two points in a coordinate system: one in the top
44
- * left corner and one in the bottom right corner. It is used to represent the
45
- * bounds of nodes in the flow or the bounds of the viewport.
46
- *
47
- * @public
48
- *
49
- * @remarks Props that expect a `CoordinateExtent` usually default to `[[-∞, -∞], [+∞, +∞]]`
50
- * to represent an unbounded extent.
51
- */
52
- export type CoordinateExtent = [[number, number], [number, number]];
53
- /**
54
- * Using Pick with a union type (e.g. `NodeType`) will merge every property type along all union members.
55
- * See https://github.com/microsoft/TypeScript/issues/28339#issuecomment-463577347
56
- * Note: Currently you are able to Pick properties that are not in the type without error.
57
- */
58
- export type DistributivePick<T, K extends string> = T extends unknown ? {
59
- [P in Extract<keyof T, K>]: T[P];
60
- } : never;
61
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/types/utils.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAC;AAEF;;;;GAIG;AACH,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;;;;;;;;;GASG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,OAAO,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,KAAK,CAAC"}
@@ -1,13 +0,0 @@
1
- import { HandleConnection } from '../types';
2
- /**
3
- * @internal
4
- */
5
- export declare function areConnectionMapsEqual(a?: Map<string, HandleConnection>, b?: Map<string, HandleConnection>): boolean;
6
- /**
7
- * We call the callback for all connections in a that are not in b
8
- *
9
- * @internal
10
- */
11
- export declare function handleConnectionChange(a: Map<string, HandleConnection>, b: Map<string, HandleConnection>, cb?: (diff: HandleConnection[]) => void): void;
12
- export declare function getConnectionStatus(isValid: boolean | null): "valid" | "invalid" | null;
13
- //# sourceMappingURL=connections.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"connections.d.ts","sourceRoot":"","sources":["../../src/utils/connections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,WAoB1G;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAChC,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAChC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,IAAI,QAiBxC;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,8BAE1D"}
@@ -1,21 +0,0 @@
1
- import type { Transform, XYPosition, SnapGrid, Dimensions, Handle } from '../types';
2
- export type GetPointerPositionParams = {
3
- transform: Transform;
4
- snapGrid?: SnapGrid;
5
- snapToGrid?: boolean;
6
- containerBounds: DOMRect | null;
7
- };
8
- export declare function getPointerPosition(event: MouseEvent | TouchEvent, { snapGrid, snapToGrid, transform, containerBounds }: GetPointerPositionParams): XYPosition & {
9
- xSnapped: number;
10
- ySnapped: number;
11
- };
12
- export declare const getDimensions: (node: HTMLDivElement) => Dimensions;
13
- export declare const getHostForElement: (element: HTMLElement | EventTarget | null) => Document | ShadowRoot;
14
- export declare function isInputDOMNode(event: KeyboardEvent): boolean;
15
- export declare const isMouseEvent: (event: MouseEvent | TouchEvent) => event is MouseEvent;
16
- export declare const getEventPosition: (event: MouseEvent | TouchEvent, bounds?: DOMRect) => {
17
- x: number;
18
- y: number;
19
- };
20
- export declare const getHandleBounds: (type: "source" | "target", nodeElement: HTMLDivElement, nodeBounds: DOMRect, zoom: number, nodeId: string) => Handle[] | null;
21
- //# 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,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAY,MAAM,EAAE,MAAM,UAAU,CAAC;AAG9F,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,GAAG,IAAI,CAAC;CACjC,CAAC;AAEF,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,GAAG,UAAU,EAC9B,EAAE,QAAiB,EAAE,UAAkB,EAAE,SAAS,EAAE,eAAe,EAAE,EAAE,wBAAwB,GAC9F,UAAU,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAcrD;AAED,eAAO,MAAM,aAAa,SAAU,cAAc,KAAG,UAGnD,CAAC;AAEH,eAAO,MAAM,iBAAiB,YAAa,WAAW,GAAG,WAAW,GAAG,IAAI,KAAG,QAAQ,GAAG,UACiB,CAAC;AAI3G,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAQ5D;AAED,eAAO,MAAM,YAAY,UAAW,UAAU,GAAG,UAAU,KAAG,KAAK,IAAI,UAAgC,CAAC;AAExG,eAAO,MAAM,gBAAgB,UAAW,UAAU,GAAG,UAAU,WAAW,OAAO;;;CAShF,CAAC;AAOF,eAAO,MAAM,eAAe,SACpB,QAAQ,GAAG,QAAQ,eACZ,cAAc,cACf,OAAO,QACb,MAAM,UACJ,MAAM,KACb,MAAM,EAAE,GAAG,IAoBb,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function getEdgeToolbarTransform(x: number, y: number, zoom: number, alignX?: 'left' | 'center' | 'right', alignY?: 'top' | 'center' | 'bottom'): string;
2
- //# sourceMappingURL=edge-toolbar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edge-toolbar.d.ts","sourceRoot":"","sources":["../../src/utils/edge-toolbar.ts"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,CACrC,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,MAAM,GAAG,QAAQ,GAAG,OAAkB,EAC9C,MAAM,GAAE,KAAK,GAAG,QAAQ,GAAG,QAAmB,GAC7C,MAAM,CAIR"}
@@ -1,77 +0,0 @@
1
- import { Position } from '../../types';
2
- export type GetBezierPathParams = {
3
- /** The `x` position of the source handle. */
4
- sourceX: number;
5
- /** The `y` position of the source handle. */
6
- sourceY: number;
7
- /**
8
- * The position of the source handle.
9
- * @default Position.Bottom
10
- */
11
- sourcePosition?: Position;
12
- /** The `x` position of the target handle. */
13
- targetX: number;
14
- /** The `y` position of the target handle. */
15
- targetY: number;
16
- /**
17
- * The position of the target handle.
18
- * @default Position.Top
19
- */
20
- targetPosition?: Position;
21
- /**
22
- * The curvature of the bezier edge.
23
- * @default 0.25
24
- */
25
- curvature?: number;
26
- };
27
- export type GetControlWithCurvatureParams = {
28
- pos: Position;
29
- x1: number;
30
- y1: number;
31
- x2: number;
32
- y2: number;
33
- c: number;
34
- };
35
- export declare function getBezierEdgeCenter({ sourceX, sourceY, targetX, targetY, sourceControlX, sourceControlY, targetControlX, targetControlY, }: {
36
- sourceX: number;
37
- sourceY: number;
38
- targetX: number;
39
- targetY: number;
40
- sourceControlX: number;
41
- sourceControlY: number;
42
- targetControlX: number;
43
- targetControlY: number;
44
- }): [number, number, number, number];
45
- /**
46
- * The `getBezierPath` util returns everything you need to render a bezier edge
47
- *between two nodes.
48
- * @public
49
- * @returns A path string you can use in an SVG, the `labelX` and `labelY` position (center of path)
50
- * and `offsetX`, `offsetY` between source handle and label.
51
- * - `path`: the path to use in an SVG `<path>` element.
52
- * - `labelX`: the `x` position you can use to render a label for this edge.
53
- * - `labelY`: the `y` position you can use to render a label for this edge.
54
- * - `offsetX`: the absolute difference between the source `x` position and the `x` position of the
55
- * middle of this path.
56
- * - `offsetY`: the absolute difference between the source `y` position and the `y` position of the
57
- * middle of this path.
58
- * @example
59
- * ```js
60
- * const source = { x: 0, y: 20 };
61
- * const target = { x: 150, y: 100 };
62
- *
63
- * const [path, labelX, labelY, offsetX, offsetY] = getBezierPath({
64
- * sourceX: source.x,
65
- * sourceY: source.y,
66
- * sourcePosition: Position.Right,
67
- * targetX: target.x,
68
- * targetY: target.y,
69
- * targetPosition: Position.Left,
70
- *});
71
- *```
72
- *
73
- * @remarks This function returns a tuple (aka a fixed-size array) to make it easier to
74
- *work with multiple edge paths at once.
75
- */
76
- export declare function getBezierPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, curvature, }: GetBezierPathParams): [path: string, labelX: number, labelY: number, offsetX: number, offsetY: number];
77
- //# 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,aAAa,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG;IAChC,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B;;;OAGG;IACH,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,CAWnC;AAuBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,EAC7B,SAAgB,GACjB,EAAE,mBAAmB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAmCxG"}
@@ -1,91 +0,0 @@
1
- import { Connection, InternalNodeBase, Transform, EdgeBase, ZIndexMode } from '../..';
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
- zIndexMode?: ZIndexMode;
15
- };
16
- /**
17
- * Returns the z-index for an edge based on the node it connects and whether it is selected.
18
- * By default, edges are rendered below nodes. This behaviour is different for edges that are
19
- * connected to nodes with a parent, as they are rendered above the parent node.
20
- */
21
- export declare function getElevatedEdgeZIndex({ sourceNode, targetNode, selected, zIndex, elevateOnSelect, zIndexMode, }: GetEdgeZIndexParams): number;
22
- type IsEdgeVisibleParams = {
23
- sourceNode: InternalNodeBase;
24
- targetNode: InternalNodeBase;
25
- width: number;
26
- height: number;
27
- transform: Transform;
28
- };
29
- export declare function isEdgeVisible({ sourceNode, targetNode, width, height, transform }: IsEdgeVisibleParams): boolean;
30
- /**
31
- * Type for a custom edge ID generator function.
32
- * @public
33
- */
34
- export type GetEdgeId = (params: Connection | EdgeBase) => string;
35
- /**
36
- * The default edge ID generator function. Generates an ID based on the source, target, and handles.
37
- * @public
38
- * @param params - The connection or edge to generate an ID for.
39
- * @returns The generated edge ID.
40
- */
41
- export declare const getEdgeId: ({ source, sourceHandle, target, targetHandle }: Connection | EdgeBase) => string;
42
- export type AddEdgeOptions = {
43
- /**
44
- * Custom function to generate edge IDs. If not provided, the default `getEdgeId` function is used.
45
- */
46
- getEdgeId?: GetEdgeId;
47
- };
48
- /**
49
- * This util is a convenience function to add a new Edge to an array of edges. It also performs some validation to make sure you don't add an invalid edge or duplicate an existing one.
50
- * @public
51
- * @param edgeParams - Either an `Edge` or a `Connection` you want to add.
52
- * @param edges - The array of all current edges.
53
- * @param options - Optional configuration object.
54
- * @returns A new array of edges with the new edge added.
55
- *
56
- * @remarks If an edge with the same `target` and `source` already exists (and the same
57
- *`targetHandle` and `sourceHandle` if those are set), then this util won't add
58
- *a new edge even if the `id` property is different.
59
- *
60
- */
61
- export declare const addEdge: <EdgeType extends EdgeBase>(edgeParams: EdgeType | Connection, edges: EdgeType[], options?: AddEdgeOptions) => EdgeType[];
62
- export type ReconnectEdgeOptions = {
63
- /**
64
- * Should the id of the old edge be replaced with the new connection id.
65
- * @default true
66
- */
67
- shouldReplaceId?: boolean;
68
- /**
69
- * Custom function to generate edge IDs. If not provided, the default `getEdgeId` function is used.
70
- */
71
- getEdgeId?: GetEdgeId;
72
- };
73
- /**
74
- * A handy utility to update an existing [`Edge`](/api-reference/types/edge) with new properties.
75
- *This searches your edge array for an edge with a matching `id` and updates its
76
- *properties with the connection you provide.
77
- * @public
78
- * @param oldEdge - The edge you want to update.
79
- * @param newConnection - The new connection you want to update the edge with.
80
- * @param edges - The array of all current edges.
81
- * @returns The updated edges array.
82
- *
83
- * @example
84
- * ```js
85
- *const onReconnect = useCallback(
86
- * (oldEdge: Edge, newConnection: Connection) => setEdges((els) => reconnectEdge(oldEdge, newConnection, els)),[]);
87
- *```
88
- */
89
- export declare const reconnectEdge: <EdgeType extends EdgeBase>(oldEdge: EdgeType, newConnection: Connection, edges: EdgeType[], options?: ReconnectEdgeOptions) => EdgeType[];
90
- export {};
91
- //# sourceMappingURL=general.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"general.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/general.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAA6B,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAIjH,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;IAC1B,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,UAAU,EACV,QAAgB,EAChB,MAAU,EACV,eAAuB,EACvB,UAAoB,GACrB,EAAE,mBAAmB,GAAG,MAAM,CAY9B;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,EAAE,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,mBAAmB,GAAG,OAAO,CAmBhH;AAED;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,UAAU,GAAG,QAAQ,KAAK,MAAM,CAAC;AAElE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,mDAAoD,UAAU,GAAG,QAAQ,KAAG,MACxB,CAAC;AAY3E,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,OAAO,GAAI,QAAQ,SAAS,QAAQ,cACnC,QAAQ,GAAG,UAAU,SAC1B,QAAQ,EAAE,YACR,cAAc,KACtB,QAAQ,EAgCV,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,SAAS,QAAQ,WAC5C,QAAQ,iBACF,UAAU,SAClB,QAAQ,EAAE,YACR,oBAAoB,KAC5B,QAAQ,EA8BV,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,17 +0,0 @@
1
- import { EdgePosition } from '../../types/edges';
2
- import { ConnectionMode, OnError } from '../../types/general';
3
- import { InternalNodeBase } from '../../types/nodes';
4
- import { Position, XYPosition } from '../../types/utils';
5
- import { Handle } from '../../types';
6
- export type GetEdgePositionParams = {
7
- id: string;
8
- sourceNode: InternalNodeBase;
9
- sourceHandle: string | null;
10
- targetNode: InternalNodeBase;
11
- targetHandle: string | null;
12
- connectionMode: ConnectionMode;
13
- onError?: OnError;
14
- };
15
- export declare function getEdgePosition(params: GetEdgePositionParams): EdgePosition | null;
16
- export declare function getHandlePosition(node: InternalNodeBase, handle: Handle | null, fallbackPosition?: Position, center?: boolean): XYPosition;
17
- //# sourceMappingURL=positions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"positions.d.ts","sourceRoot":"","sources":["../../../src/utils/edges/positions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAc,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAGrC,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,CAAC,MAAM,EAAE,qBAAqB,GAAG,YAAY,GAAG,IAAI,CA6ClF;AA2BD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,gBAAgB,EACtB,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,gBAAgB,GAAE,QAAwB,EAC1C,MAAM,UAAQ,GACb,UAAU,CAqBZ"}
@@ -1,66 +0,0 @@
1
- import { Position } from '../../types';
2
- export interface GetSmoothStepPathParams {
3
- /** The `x` position of the source handle. */
4
- sourceX: number;
5
- /** The `y` position of the source handle. */
6
- sourceY: number;
7
- /**
8
- * The position of the source handle.
9
- * @default Position.Bottom
10
- */
11
- sourcePosition?: Position;
12
- /** The `x` position of the target handle. */
13
- targetX: number;
14
- /** The `y` position of the target handle. */
15
- targetY: number;
16
- /**
17
- * The position of the target handle.
18
- * @default Position.Top
19
- */
20
- targetPosition?: Position;
21
- /** @default 5 */
22
- borderRadius?: number;
23
- centerX?: number;
24
- centerY?: number;
25
- /** @default 20 */
26
- offset?: number;
27
- /**
28
- * Controls where the bend occurs along the path.
29
- * 0 = at source, 1 = at target, 0.5 = midpoint
30
- * @default 0.5
31
- */
32
- stepPosition?: number;
33
- }
34
- /**
35
- * The `getSmoothStepPath` util returns everything you need to render a stepped path
36
- * between two nodes. The `borderRadius` property can be used to choose how rounded
37
- * the corners of those steps are.
38
- * @public
39
- * @returns A path string you can use in an SVG, the `labelX` and `labelY` position (center of path)
40
- * and `offsetX`, `offsetY` between source handle and label.
41
- *
42
- * - `path`: the path to use in an SVG `<path>` element.
43
- * - `labelX`: the `x` position you can use to render a label for this edge.
44
- * - `labelY`: the `y` position you can use to render a label for this edge.
45
- * - `offsetX`: the absolute difference between the source `x` position and the `x` position of the
46
- * middle of this path.
47
- * - `offsetY`: the absolute difference between the source `y` position and the `y` position of the
48
- * middle of this path.
49
- * @example
50
- * ```js
51
- * const source = { x: 0, y: 20 };
52
- * const target = { x: 150, y: 100 };
53
- *
54
- * const [path, labelX, labelY, offsetX, offsetY] = getSmoothStepPath({
55
- * sourceX: source.x,
56
- * sourceY: source.y,
57
- * sourcePosition: Position.Right,
58
- * targetX: target.x,
59
- * targetY: target.y,
60
- * targetPosition: Position.Left,
61
- * });
62
- * ```
63
- * @remarks This function returns a tuple (aka a fixed-size array) to make it easier to work with multiple edge paths at once.
64
- */
65
- export declare function getSmoothStepPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, borderRadius, centerX, centerY, offset, stepPosition, }: GetSmoothStepPathParams): [path: string, labelX: number, labelY: number, offsetX: number, offsetY: number];
66
- //# 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":"AACA,OAAO,EAAE,QAAQ,EAAmB,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAwMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,EAC7B,YAAgB,EAChB,OAAO,EACP,OAAO,EACP,MAAW,EACX,YAAkB,GACnB,EAAE,uBAAuB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAoB5G"}