@xyflow/react 12.5.5 → 12.5.6
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.
- package/dist/esm/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/esm/hooks/useReactFlow.d.ts.map +1 -1
- package/dist/esm/index.js +15 -13
- package/dist/esm/index.mjs +15 -13
- package/dist/esm/store/initialState.d.ts.map +1 -1
- package/dist/esm/types/store.d.ts +3 -2
- package/dist/esm/types/store.d.ts.map +1 -1
- package/dist/style.css +11 -0
- package/dist/umd/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/umd/hooks/useReactFlow.d.ts.map +1 -1
- package/dist/umd/index.js +2 -2
- package/dist/umd/store/initialState.d.ts.map +1 -1
- package/dist/umd/types/store.d.ts +3 -2
- package/dist/umd/types/store.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAoBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,0BAER,GACA,OAAO,CAIT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReactFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactFlow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useReactFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactFlow.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,iBAAiB,EACjB,IAAI,EACJ,IAAI,EAKL,MAAM,UAAU,CAAC;AAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,KAAK,iBAAiB,CAC3G,QAAQ,EACR,QAAQ,CACT,CAiPA"}
|
package/dist/esm/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { createContext, useContext, useMemo, forwardRef, useEffect, useRef, useState, useLayoutEffect, useCallback, memo } from 'react';
|
|
4
4
|
import cc from 'classcat';
|
|
5
|
-
import { errorMessages, infiniteExtent, isInputDOMNode, getViewportForBounds, pointToRendererPoint, rendererPointToPoint, isNodeBase, isEdgeBase, getElementsToRemove, isRectObject, nodeToRect, getOverlappingArea, getNodesBounds, evaluateAbsolutePosition, getDimensions, XYPanZoom, PanOnScrollMode, SelectionMode, getEventPosition, getNodesInside, areSetsEqual, XYDrag, snapPosition, calculateNodePosition, Position, ConnectionMode, isMouseEvent, XYHandle, getHostForElement, addEdge, getInternalNodesBounds, isNumeric, nodeHasDimensions, getNodeDimensions, elementSelectionKeys, isEdgeVisible, MarkerType, createMarkerIds, getBezierEdgeCenter, getSmoothStepPath, getStraightPath, getBezierPath, getEdgePosition, getElevatedEdgeZIndex, getMarkerId, getConnectionStatus, ConnectionLineType, updateConnectionLookup, adoptUserNodes, initialConnection, devWarn, updateNodeInternals, updateAbsolutePositions, handleExpandParent, panBy, fitViewport, isMacOs, areConnectionMapsEqual, handleConnectionChange, shallowNodeData, XYMinimap, getBoundsOfRects, ResizeControlVariant, XYResizer, XY_RESIZER_LINE_POSITIONS, XY_RESIZER_HANDLE_POSITIONS, getNodeToolbarTransform } from '@xyflow/system';
|
|
5
|
+
import { errorMessages, infiniteExtent, isInputDOMNode, getViewportForBounds, pointToRendererPoint, rendererPointToPoint, isNodeBase, isEdgeBase, getElementsToRemove, isRectObject, nodeToRect, getOverlappingArea, getNodesBounds, withResolvers, evaluateAbsolutePosition, getDimensions, XYPanZoom, PanOnScrollMode, SelectionMode, getEventPosition, getNodesInside, areSetsEqual, XYDrag, snapPosition, calculateNodePosition, Position, ConnectionMode, isMouseEvent, XYHandle, getHostForElement, addEdge, getInternalNodesBounds, isNumeric, nodeHasDimensions, getNodeDimensions, elementSelectionKeys, isEdgeVisible, MarkerType, createMarkerIds, getBezierEdgeCenter, getSmoothStepPath, getStraightPath, getBezierPath, getEdgePosition, getElevatedEdgeZIndex, getMarkerId, getConnectionStatus, ConnectionLineType, updateConnectionLookup, adoptUserNodes, initialConnection, devWarn, updateNodeInternals, updateAbsolutePositions, handleExpandParent, panBy, fitViewport, isMacOs, areConnectionMapsEqual, handleConnectionChange, shallowNodeData, XYMinimap, getBoundsOfRects, ResizeControlVariant, XYResizer, XY_RESIZER_LINE_POSITIONS, XY_RESIZER_HANDLE_POSITIONS, getNodeToolbarTransform } from '@xyflow/system';
|
|
6
6
|
export { ConnectionLineType, ConnectionMode, MarkerType, PanOnScrollMode, Position, ResizeControlVariant, SelectionMode, addEdge, getBezierEdgeCenter, getBezierPath, getConnectedEdges, getEdgeCenter, getIncomers, getNodesBounds, getOutgoers, getSmoothStepPath, getStraightPath, getViewportForBounds, reconnectEdge } from '@xyflow/system';
|
|
7
7
|
import { useStoreWithEqualityFn, createWithEqualityFn } from 'zustand/traditional';
|
|
8
8
|
import { shallow } from 'zustand/shallow';
|
|
@@ -135,12 +135,12 @@ const selector$m = (s) => {
|
|
|
135
135
|
const selectedNodes = [];
|
|
136
136
|
const selectedEdges = [];
|
|
137
137
|
for (const [, node] of s.nodeLookup) {
|
|
138
|
-
if (node.selected) {
|
|
138
|
+
if (node.selected && (s.elementsSelectable || node.selectable)) {
|
|
139
139
|
selectedNodes.push(node.internals.userNode);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
for (const [, edge] of s.edgeLookup) {
|
|
143
|
-
if (edge.selected) {
|
|
143
|
+
if (edge.selected && (s.elementsSelectable || edge.selectable)) {
|
|
144
144
|
selectedEdges.push(edge);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -1184,7 +1184,7 @@ function useReactFlow() {
|
|
|
1184
1184
|
fitView: async (options) => {
|
|
1185
1185
|
// We either create a new Promise or reuse the existing one
|
|
1186
1186
|
// Even if fitView is called multiple times in a row, we only end up with a single Promise
|
|
1187
|
-
const fitViewResolver = store.getState().fitViewResolver ??
|
|
1187
|
+
const fitViewResolver = store.getState().fitViewResolver ?? withResolvers();
|
|
1188
1188
|
// We schedule a fitView by setting fitViewQueued and triggering a setNodes
|
|
1189
1189
|
store.setState({ fitViewQueued: true, fitViewOptions: options, fitViewResolver });
|
|
1190
1190
|
batchContext.nodeQueue.push((nodes) => [...nodes]);
|
|
@@ -2323,7 +2323,7 @@ const MarkerDefinitions = ({ defaultColor, rfId }) => {
|
|
|
2323
2323
|
if (!markers.length) {
|
|
2324
2324
|
return null;
|
|
2325
2325
|
}
|
|
2326
|
-
return (jsx("svg", { className: "react-flow__marker", children: jsx("defs", { children: markers.map((marker) => (jsx(Marker, { id: marker.id, type: marker.type, color: marker.color, width: marker.width, height: marker.height, markerUnits: marker.markerUnits, strokeWidth: marker.strokeWidth, orient: marker.orient }, marker.id))) }) }));
|
|
2326
|
+
return (jsx("svg", { className: "react-flow__marker", "aria-hidden": "true", children: jsx("defs", { children: markers.map((marker) => (jsx(Marker, { id: marker.id, type: marker.type, color: marker.color, width: marker.width, height: marker.height, markerUnits: marker.markerUnits, strokeWidth: marker.strokeWidth, orient: marker.orient }, marker.id))) }) }));
|
|
2327
2327
|
};
|
|
2328
2328
|
MarkerDefinitions.displayName = 'MarkerDefinitions';
|
|
2329
2329
|
var MarkerDefinitions$1 = memo(MarkerDefinitions);
|
|
@@ -3076,7 +3076,7 @@ const getInitialState = ({ nodes, edges, defaultNodes, defaultEdges, width, heig
|
|
|
3076
3076
|
const storeNodeOrigin = nodeOrigin ?? [0, 0];
|
|
3077
3077
|
const storeNodeExtent = nodeExtent ?? infiniteExtent;
|
|
3078
3078
|
updateConnectionLookup(connectionLookup, edgeLookup, storeEdges);
|
|
3079
|
-
adoptUserNodes(storeNodes, nodeLookup, parentLookup, {
|
|
3079
|
+
const nodesInitialized = adoptUserNodes(storeNodes, nodeLookup, parentLookup, {
|
|
3080
3080
|
nodeOrigin: storeNodeOrigin,
|
|
3081
3081
|
nodeExtent: storeNodeExtent,
|
|
3082
3082
|
elevateNodesOnSelect: false,
|
|
@@ -3095,6 +3095,7 @@ const getInitialState = ({ nodes, edges, defaultNodes, defaultEdges, width, heig
|
|
|
3095
3095
|
height: 0,
|
|
3096
3096
|
transform,
|
|
3097
3097
|
nodes: storeNodes,
|
|
3098
|
+
nodesInitialized,
|
|
3098
3099
|
nodeLookup,
|
|
3099
3100
|
parentLookup,
|
|
3100
3101
|
edges: storeEdges,
|
|
@@ -3190,10 +3191,10 @@ const createStore = ({ nodes, edges, defaultNodes, defaultEdges, width, height,
|
|
|
3190
3191
|
});
|
|
3191
3192
|
if (fitViewQueued && nodesInitialized) {
|
|
3192
3193
|
resolveFitView();
|
|
3193
|
-
set({ nodes, fitViewQueued: false, fitViewOptions: undefined });
|
|
3194
|
+
set({ nodes, nodesInitialized, fitViewQueued: false, fitViewOptions: undefined });
|
|
3194
3195
|
}
|
|
3195
3196
|
else {
|
|
3196
|
-
set({ nodes });
|
|
3197
|
+
set({ nodes, nodesInitialized });
|
|
3197
3198
|
}
|
|
3198
3199
|
},
|
|
3199
3200
|
setEdges: (edges) => {
|
|
@@ -3920,14 +3921,15 @@ function useOnSelectionChange({ onChange, }) {
|
|
|
3920
3921
|
}
|
|
3921
3922
|
|
|
3922
3923
|
const selector$4 = (options) => (s) => {
|
|
3924
|
+
if (!options.includeHiddenNodes) {
|
|
3925
|
+
return s.nodesInitialized;
|
|
3926
|
+
}
|
|
3923
3927
|
if (s.nodeLookup.size === 0) {
|
|
3924
3928
|
return false;
|
|
3925
3929
|
}
|
|
3926
|
-
for (const [, {
|
|
3927
|
-
if (
|
|
3928
|
-
|
|
3929
|
-
return false;
|
|
3930
|
-
}
|
|
3930
|
+
for (const [, { internals }] of s.nodeLookup) {
|
|
3931
|
+
if (internals.handleBounds === undefined || !nodeHasDimensions(internals.userNode)) {
|
|
3932
|
+
return false;
|
|
3931
3933
|
}
|
|
3932
3934
|
}
|
|
3933
3935
|
return true;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { createContext, useContext, useMemo, forwardRef, useEffect, useRef, useState, useLayoutEffect, useCallback, memo } from 'react';
|
|
4
4
|
import cc from 'classcat';
|
|
5
|
-
import { errorMessages, infiniteExtent, isInputDOMNode, getViewportForBounds, pointToRendererPoint, rendererPointToPoint, isNodeBase, isEdgeBase, getElementsToRemove, isRectObject, nodeToRect, getOverlappingArea, getNodesBounds, evaluateAbsolutePosition, getDimensions, XYPanZoom, PanOnScrollMode, SelectionMode, getEventPosition, getNodesInside, areSetsEqual, XYDrag, snapPosition, calculateNodePosition, Position, ConnectionMode, isMouseEvent, XYHandle, getHostForElement, addEdge, getInternalNodesBounds, isNumeric, nodeHasDimensions, getNodeDimensions, elementSelectionKeys, isEdgeVisible, MarkerType, createMarkerIds, getBezierEdgeCenter, getSmoothStepPath, getStraightPath, getBezierPath, getEdgePosition, getElevatedEdgeZIndex, getMarkerId, getConnectionStatus, ConnectionLineType, updateConnectionLookup, adoptUserNodes, initialConnection, devWarn, updateNodeInternals, updateAbsolutePositions, handleExpandParent, panBy, fitViewport, isMacOs, areConnectionMapsEqual, handleConnectionChange, shallowNodeData, XYMinimap, getBoundsOfRects, ResizeControlVariant, XYResizer, XY_RESIZER_LINE_POSITIONS, XY_RESIZER_HANDLE_POSITIONS, getNodeToolbarTransform } from '@xyflow/system';
|
|
5
|
+
import { errorMessages, infiniteExtent, isInputDOMNode, getViewportForBounds, pointToRendererPoint, rendererPointToPoint, isNodeBase, isEdgeBase, getElementsToRemove, isRectObject, nodeToRect, getOverlappingArea, getNodesBounds, withResolvers, evaluateAbsolutePosition, getDimensions, XYPanZoom, PanOnScrollMode, SelectionMode, getEventPosition, getNodesInside, areSetsEqual, XYDrag, snapPosition, calculateNodePosition, Position, ConnectionMode, isMouseEvent, XYHandle, getHostForElement, addEdge, getInternalNodesBounds, isNumeric, nodeHasDimensions, getNodeDimensions, elementSelectionKeys, isEdgeVisible, MarkerType, createMarkerIds, getBezierEdgeCenter, getSmoothStepPath, getStraightPath, getBezierPath, getEdgePosition, getElevatedEdgeZIndex, getMarkerId, getConnectionStatus, ConnectionLineType, updateConnectionLookup, adoptUserNodes, initialConnection, devWarn, updateNodeInternals, updateAbsolutePositions, handleExpandParent, panBy, fitViewport, isMacOs, areConnectionMapsEqual, handleConnectionChange, shallowNodeData, XYMinimap, getBoundsOfRects, ResizeControlVariant, XYResizer, XY_RESIZER_LINE_POSITIONS, XY_RESIZER_HANDLE_POSITIONS, getNodeToolbarTransform } from '@xyflow/system';
|
|
6
6
|
export { ConnectionLineType, ConnectionMode, MarkerType, PanOnScrollMode, Position, ResizeControlVariant, SelectionMode, addEdge, getBezierEdgeCenter, getBezierPath, getConnectedEdges, getEdgeCenter, getIncomers, getNodesBounds, getOutgoers, getSmoothStepPath, getStraightPath, getViewportForBounds, reconnectEdge } from '@xyflow/system';
|
|
7
7
|
import { useStoreWithEqualityFn, createWithEqualityFn } from 'zustand/traditional';
|
|
8
8
|
import { shallow } from 'zustand/shallow';
|
|
@@ -135,12 +135,12 @@ const selector$m = (s) => {
|
|
|
135
135
|
const selectedNodes = [];
|
|
136
136
|
const selectedEdges = [];
|
|
137
137
|
for (const [, node] of s.nodeLookup) {
|
|
138
|
-
if (node.selected) {
|
|
138
|
+
if (node.selected && (s.elementsSelectable || node.selectable)) {
|
|
139
139
|
selectedNodes.push(node.internals.userNode);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
for (const [, edge] of s.edgeLookup) {
|
|
143
|
-
if (edge.selected) {
|
|
143
|
+
if (edge.selected && (s.elementsSelectable || edge.selectable)) {
|
|
144
144
|
selectedEdges.push(edge);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
@@ -1184,7 +1184,7 @@ function useReactFlow() {
|
|
|
1184
1184
|
fitView: async (options) => {
|
|
1185
1185
|
// We either create a new Promise or reuse the existing one
|
|
1186
1186
|
// Even if fitView is called multiple times in a row, we only end up with a single Promise
|
|
1187
|
-
const fitViewResolver = store.getState().fitViewResolver ??
|
|
1187
|
+
const fitViewResolver = store.getState().fitViewResolver ?? withResolvers();
|
|
1188
1188
|
// We schedule a fitView by setting fitViewQueued and triggering a setNodes
|
|
1189
1189
|
store.setState({ fitViewQueued: true, fitViewOptions: options, fitViewResolver });
|
|
1190
1190
|
batchContext.nodeQueue.push((nodes) => [...nodes]);
|
|
@@ -2323,7 +2323,7 @@ const MarkerDefinitions = ({ defaultColor, rfId }) => {
|
|
|
2323
2323
|
if (!markers.length) {
|
|
2324
2324
|
return null;
|
|
2325
2325
|
}
|
|
2326
|
-
return (jsx("svg", { className: "react-flow__marker", children: jsx("defs", { children: markers.map((marker) => (jsx(Marker, { id: marker.id, type: marker.type, color: marker.color, width: marker.width, height: marker.height, markerUnits: marker.markerUnits, strokeWidth: marker.strokeWidth, orient: marker.orient }, marker.id))) }) }));
|
|
2326
|
+
return (jsx("svg", { className: "react-flow__marker", "aria-hidden": "true", children: jsx("defs", { children: markers.map((marker) => (jsx(Marker, { id: marker.id, type: marker.type, color: marker.color, width: marker.width, height: marker.height, markerUnits: marker.markerUnits, strokeWidth: marker.strokeWidth, orient: marker.orient }, marker.id))) }) }));
|
|
2327
2327
|
};
|
|
2328
2328
|
MarkerDefinitions.displayName = 'MarkerDefinitions';
|
|
2329
2329
|
var MarkerDefinitions$1 = memo(MarkerDefinitions);
|
|
@@ -3076,7 +3076,7 @@ const getInitialState = ({ nodes, edges, defaultNodes, defaultEdges, width, heig
|
|
|
3076
3076
|
const storeNodeOrigin = nodeOrigin ?? [0, 0];
|
|
3077
3077
|
const storeNodeExtent = nodeExtent ?? infiniteExtent;
|
|
3078
3078
|
updateConnectionLookup(connectionLookup, edgeLookup, storeEdges);
|
|
3079
|
-
adoptUserNodes(storeNodes, nodeLookup, parentLookup, {
|
|
3079
|
+
const nodesInitialized = adoptUserNodes(storeNodes, nodeLookup, parentLookup, {
|
|
3080
3080
|
nodeOrigin: storeNodeOrigin,
|
|
3081
3081
|
nodeExtent: storeNodeExtent,
|
|
3082
3082
|
elevateNodesOnSelect: false,
|
|
@@ -3095,6 +3095,7 @@ const getInitialState = ({ nodes, edges, defaultNodes, defaultEdges, width, heig
|
|
|
3095
3095
|
height: 0,
|
|
3096
3096
|
transform,
|
|
3097
3097
|
nodes: storeNodes,
|
|
3098
|
+
nodesInitialized,
|
|
3098
3099
|
nodeLookup,
|
|
3099
3100
|
parentLookup,
|
|
3100
3101
|
edges: storeEdges,
|
|
@@ -3190,10 +3191,10 @@ const createStore = ({ nodes, edges, defaultNodes, defaultEdges, width, height,
|
|
|
3190
3191
|
});
|
|
3191
3192
|
if (fitViewQueued && nodesInitialized) {
|
|
3192
3193
|
resolveFitView();
|
|
3193
|
-
set({ nodes, fitViewQueued: false, fitViewOptions: undefined });
|
|
3194
|
+
set({ nodes, nodesInitialized, fitViewQueued: false, fitViewOptions: undefined });
|
|
3194
3195
|
}
|
|
3195
3196
|
else {
|
|
3196
|
-
set({ nodes });
|
|
3197
|
+
set({ nodes, nodesInitialized });
|
|
3197
3198
|
}
|
|
3198
3199
|
},
|
|
3199
3200
|
setEdges: (edges) => {
|
|
@@ -3920,14 +3921,15 @@ function useOnSelectionChange({ onChange, }) {
|
|
|
3920
3921
|
}
|
|
3921
3922
|
|
|
3922
3923
|
const selector$4 = (options) => (s) => {
|
|
3924
|
+
if (!options.includeHiddenNodes) {
|
|
3925
|
+
return s.nodesInitialized;
|
|
3926
|
+
}
|
|
3923
3927
|
if (s.nodeLookup.size === 0) {
|
|
3924
3928
|
return false;
|
|
3925
3929
|
}
|
|
3926
|
-
for (const [, {
|
|
3927
|
-
if (
|
|
3928
|
-
|
|
3929
|
-
return false;
|
|
3930
|
-
}
|
|
3930
|
+
for (const [, { internals }] of s.nodeLookup) {
|
|
3931
|
+
if (internals.handleBounds === undefined || !nodeHasDimensions(internals.userNode)) {
|
|
3932
|
+
return false;
|
|
3931
3933
|
}
|
|
3932
3934
|
}
|
|
3933
3935
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialState.d.ts","sourceRoot":"","sources":["../../src/store/initialState.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,UAAU,EAEV,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAgB,IAAI,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzE,QAAA,MAAM,eAAe,mGAUlB;IACD,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,KAAQ,
|
|
1
|
+
{"version":3,"file":"initialState.d.ts","sourceRoot":"","sources":["../../src/store/initialState.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,UAAU,EAEV,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAgB,IAAI,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzE,QAAA,MAAM,eAAe,mGAUlB;IACD,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B,KAAQ,cA+FR,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectionMode, type ConnectionState, type CoordinateExtent, type InternalNodeUpdate, type UpdateNodePositions, type NodeOrigin, type OnConnect, type OnError, type OnViewportChange, type SelectionRect, type SnapGrid, type Handle, type Transform, type PanZoomInstance, type PanBy, type OnConnectStart, type OnConnectEnd, type OnSelectionDrag, type OnMoveStart, type OnMove, type OnMoveEnd, type UpdateConnection, type EdgeLookup, type ConnectionLookup, type NodeLookup, type NodeChange, type EdgeChange, type ParentLookup } from '@xyflow/system';
|
|
1
|
+
import { ConnectionMode, withResolvers, type ConnectionState, type CoordinateExtent, type InternalNodeUpdate, type UpdateNodePositions, type NodeOrigin, type OnConnect, type OnError, type OnViewportChange, type SelectionRect, type SnapGrid, type Handle, type Transform, type PanZoomInstance, type PanBy, type OnConnectStart, type OnConnectEnd, type OnSelectionDrag, type OnMoveStart, type OnMove, type OnMoveEnd, type UpdateConnection, type EdgeLookup, type ConnectionLookup, type NodeLookup, type NodeChange, type EdgeChange, type ParentLookup } from '@xyflow/system';
|
|
2
2
|
import type { Edge, Node, OnNodesChange, OnEdgesChange, DefaultEdgeOptions, FitViewOptions, OnNodesDelete, OnEdgesDelete, OnSelectionChangeFunc, UnselectNodesAndEdgesParams, OnDelete, OnNodeDrag, OnBeforeDelete, IsValidConnection, InternalNode } from '.';
|
|
3
3
|
export type ReactFlowStore<NodeType extends Node = Node, EdgeType extends Edge = Edge> = {
|
|
4
4
|
rfId: string;
|
|
@@ -6,6 +6,7 @@ export type ReactFlowStore<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
6
6
|
height: number;
|
|
7
7
|
transform: Transform;
|
|
8
8
|
nodes: NodeType[];
|
|
9
|
+
nodesInitialized: boolean;
|
|
9
10
|
nodeLookup: NodeLookup<InternalNode<NodeType>>;
|
|
10
11
|
parentLookup: ParentLookup<InternalNode<NodeType>>;
|
|
11
12
|
edges: EdgeType[];
|
|
@@ -61,7 +62,7 @@ export type ReactFlowStore<NodeType extends Node = Node, EdgeType extends Edge =
|
|
|
61
62
|
defaultEdgeOptions?: DefaultEdgeOptions;
|
|
62
63
|
fitViewQueued: boolean;
|
|
63
64
|
fitViewOptions: FitViewOptions | undefined;
|
|
64
|
-
fitViewResolver:
|
|
65
|
+
fitViewResolver: ReturnType<typeof withResolvers<boolean>> | null;
|
|
65
66
|
onNodesDelete?: OnNodesDelete<NodeType>;
|
|
66
67
|
onEdgesDelete?: OnEdgesDelete<EdgeType>;
|
|
67
68
|
onDelete?: OnDelete;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/types/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,MAAM,EACX,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,KAAK,EACV,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,e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AAC;IACb,oBAAoB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,cAAc,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,cAAc,CACrG,QAAQ,EACR,QAAQ,CACT,GACC,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -503,6 +503,17 @@ svg.react-flow__connectionline {
|
|
|
503
503
|
.react-flow__controls-button:last-child {
|
|
504
504
|
border-bottom: none;
|
|
505
505
|
}
|
|
506
|
+
.react-flow__controls.horizontal .react-flow__controls-button {
|
|
507
|
+
border-bottom: none;
|
|
508
|
+
border-right: 1px solid
|
|
509
|
+
var(
|
|
510
|
+
--xy-controls-button-border-color-props,
|
|
511
|
+
var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
|
|
512
|
+
);
|
|
513
|
+
}
|
|
514
|
+
.react-flow__controls.horizontal .react-flow__controls-button:last-child {
|
|
515
|
+
border-right: none;
|
|
516
|
+
}
|
|
506
517
|
.react-flow__resize-control {
|
|
507
518
|
position: absolute;
|
|
508
519
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,qBAAqB;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAoBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,0BAER,GACA,OAAO,CAIT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReactFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactFlow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useReactFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactFlow.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,iBAAiB,EACjB,IAAI,EACJ,IAAI,EAKL,MAAM,UAAU,CAAC;AAIlB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,KAAK,iBAAiB,CAC3G,QAAQ,EACR,QAAQ,CACT,CAiPA"}
|