@xyflow/react 12.0.0-next.6 → 12.0.0-next.8
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/LICENSE +1 -1
- package/dist/base.css +2 -16
- package/dist/esm/additional-components/Background/types.d.ts +13 -0
- package/dist/esm/additional-components/Background/types.d.ts.map +1 -1
- package/dist/esm/additional-components/Controls/types.d.ts +14 -0
- package/dist/esm/additional-components/Controls/types.d.ts.map +1 -1
- package/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map +1 -1
- package/dist/esm/additional-components/MiniMap/types.d.ts +21 -0
- package/dist/esm/additional-components/MiniMap/types.d.ts.map +1 -1
- package/dist/esm/additional-components/NodeResizer/types.d.ts +25 -0
- package/dist/esm/additional-components/NodeResizer/types.d.ts.map +1 -1
- package/dist/esm/additional-components/NodeToolbar/types.d.ts +10 -0
- package/dist/esm/additional-components/NodeToolbar/types.d.ts.map +1 -1
- package/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +1 -1
- package/dist/esm/components/EdgeWrapper/index.d.ts.map +1 -1
- package/dist/esm/components/Handle/index.d.ts +6 -2
- package/dist/esm/components/Handle/index.d.ts.map +1 -1
- package/dist/esm/components/Panel/index.d.ts +3 -0
- package/dist/esm/components/Panel/index.d.ts.map +1 -1
- package/dist/esm/container/EdgeRenderer/MarkerDefinitions.d.ts.map +1 -1
- package/dist/esm/container/FlowRenderer/index.d.ts.map +1 -1
- package/dist/esm/container/ReactFlow/index.d.ts +4 -117
- package/dist/esm/container/ReactFlow/index.d.ts.map +1 -1
- package/dist/esm/hooks/useConnection.d.ts +13 -7
- package/dist/esm/hooks/useConnection.d.ts.map +1 -1
- package/dist/esm/hooks/useDrag.d.ts +1 -1
- package/dist/esm/hooks/useDrag.d.ts.map +1 -1
- package/dist/esm/hooks/useHandleConnections.d.ts +1 -1
- package/dist/esm/hooks/useNodesEdgesState.d.ts +2 -2
- package/dist/esm/hooks/useNodesEdgesState.d.ts.map +1 -1
- package/dist/esm/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/esm/hooks/useOnSelectionChange.d.ts +1 -1
- package/dist/esm/hooks/useUpdateNodePositions.d.ts.map +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +76 -96
- package/dist/esm/index.mjs +76 -96
- package/dist/esm/store/initialState.d.ts.map +1 -1
- package/dist/esm/types/changes.d.ts +2 -2
- package/dist/esm/types/changes.d.ts.map +1 -1
- package/dist/esm/types/component-props.d.ts +346 -8
- package/dist/esm/types/component-props.d.ts.map +1 -1
- package/dist/esm/types/edges.d.ts +11 -0
- package/dist/esm/types/edges.d.ts.map +1 -1
- package/dist/esm/types/general.d.ts +83 -6
- package/dist/esm/types/general.d.ts.map +1 -1
- package/dist/esm/types/instance.d.ts +93 -9
- package/dist/esm/types/instance.d.ts.map +1 -1
- package/dist/esm/types/nodes.d.ts +3 -3
- package/dist/esm/types/nodes.d.ts.map +1 -1
- package/dist/esm/types/store.d.ts +2 -2
- package/dist/esm/types/store.d.ts.map +1 -1
- package/dist/esm/utils/changes.d.ts +3 -3
- package/dist/esm/utils/changes.d.ts.map +1 -1
- package/dist/esm/utils/general.d.ts +2 -49
- package/dist/esm/utils/general.d.ts.map +1 -1
- package/dist/style.css +10 -12
- package/dist/umd/additional-components/Background/types.d.ts +13 -0
- package/dist/umd/additional-components/Background/types.d.ts.map +1 -1
- package/dist/umd/additional-components/Controls/types.d.ts +14 -0
- package/dist/umd/additional-components/Controls/types.d.ts.map +1 -1
- package/dist/umd/additional-components/MiniMap/MiniMap.d.ts.map +1 -1
- package/dist/umd/additional-components/MiniMap/types.d.ts +21 -0
- package/dist/umd/additional-components/MiniMap/types.d.ts.map +1 -1
- package/dist/umd/additional-components/NodeResizer/types.d.ts +25 -0
- package/dist/umd/additional-components/NodeResizer/types.d.ts.map +1 -1
- package/dist/umd/additional-components/NodeToolbar/types.d.ts +10 -0
- package/dist/umd/additional-components/NodeToolbar/types.d.ts.map +1 -1
- package/dist/umd/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +1 -1
- package/dist/umd/components/EdgeWrapper/index.d.ts.map +1 -1
- package/dist/umd/components/Handle/index.d.ts +6 -2
- package/dist/umd/components/Handle/index.d.ts.map +1 -1
- package/dist/umd/components/Panel/index.d.ts +3 -0
- package/dist/umd/components/Panel/index.d.ts.map +1 -1
- package/dist/umd/container/EdgeRenderer/MarkerDefinitions.d.ts.map +1 -1
- package/dist/umd/container/FlowRenderer/index.d.ts.map +1 -1
- package/dist/umd/container/ReactFlow/index.d.ts +4 -117
- package/dist/umd/container/ReactFlow/index.d.ts.map +1 -1
- package/dist/umd/hooks/useConnection.d.ts +13 -7
- package/dist/umd/hooks/useConnection.d.ts.map +1 -1
- package/dist/umd/hooks/useDrag.d.ts +1 -1
- package/dist/umd/hooks/useDrag.d.ts.map +1 -1
- package/dist/umd/hooks/useHandleConnections.d.ts +1 -1
- package/dist/umd/hooks/useNodesEdgesState.d.ts +2 -2
- package/dist/umd/hooks/useNodesEdgesState.d.ts.map +1 -1
- package/dist/umd/hooks/useNodesInitialized.d.ts.map +1 -1
- package/dist/umd/hooks/useOnSelectionChange.d.ts +1 -1
- package/dist/umd/hooks/useUpdateNodePositions.d.ts.map +1 -1
- package/dist/umd/index.d.ts +3 -3
- package/dist/umd/index.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/changes.d.ts +2 -2
- package/dist/umd/types/changes.d.ts.map +1 -1
- package/dist/umd/types/component-props.d.ts +346 -8
- package/dist/umd/types/component-props.d.ts.map +1 -1
- package/dist/umd/types/edges.d.ts +11 -0
- package/dist/umd/types/edges.d.ts.map +1 -1
- package/dist/umd/types/general.d.ts +83 -6
- package/dist/umd/types/general.d.ts.map +1 -1
- package/dist/umd/types/instance.d.ts +93 -9
- package/dist/umd/types/instance.d.ts.map +1 -1
- package/dist/umd/types/nodes.d.ts +3 -3
- package/dist/umd/types/nodes.d.ts.map +1 -1
- package/dist/umd/types/store.d.ts +2 -2
- package/dist/umd/types/store.d.ts.map +1 -1
- package/dist/umd/utils/changes.d.ts +3 -3
- package/dist/umd/utils/changes.d.ts.map +1 -1
- package/dist/umd/utils/general.d.ts +2 -49
- package/dist/umd/utils/general.d.ts.map +1 -1
- package/package.json +4 -4
package/LICENSE
CHANGED
package/dist/base.css
CHANGED
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
outline: none;
|
|
128
128
|
}
|
|
129
129
|
.react-flow__edge.selected .react-flow__edge-path,
|
|
130
|
-
.react-flow__edge:focus .react-flow__edge-path,
|
|
131
|
-
.react-flow__edge:focus-visible .react-flow__edge-path {
|
|
130
|
+
.react-flow__edge.selectable:focus .react-flow__edge-path,
|
|
131
|
+
.react-flow__edge.selectable:focus-visible .react-flow__edge-path {
|
|
132
132
|
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
|
133
133
|
}
|
|
134
134
|
.react-flow__edge-textwrapper {
|
|
@@ -356,17 +356,3 @@ svg.react-flow__connectionline {
|
|
|
356
356
|
background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
|
|
357
357
|
border: var(--xy-selection-border, var(--xy-selection-border-default));
|
|
358
358
|
}
|
|
359
|
-
.react-flow {
|
|
360
|
-
--edge-label-background-color-default: #ffffff;
|
|
361
|
-
--edge-label-color-default: inherit;
|
|
362
|
-
}
|
|
363
|
-
.react-flow.dark {
|
|
364
|
-
--edge-label-background-color-default: #141414;
|
|
365
|
-
--edge-label-color-default: #f8f8f8;
|
|
366
|
-
}
|
|
367
|
-
.react-flow__edge-textbg {
|
|
368
|
-
fill: var(--edge-label-background-color, var(--edge-label-background-color-default));
|
|
369
|
-
}
|
|
370
|
-
.react-flow__edge-text {
|
|
371
|
-
fill: var(--edge-label-color, var(--edge-label-color-default));
|
|
372
|
-
}
|
|
@@ -6,15 +6,28 @@ export declare enum BackgroundVariant {
|
|
|
6
6
|
}
|
|
7
7
|
export type BackgroundProps = {
|
|
8
8
|
id?: string;
|
|
9
|
+
/** Color of the pattern */
|
|
9
10
|
color?: string;
|
|
11
|
+
/** Color of the background */
|
|
10
12
|
bgColor?: string;
|
|
13
|
+
/** Class applied to the container */
|
|
11
14
|
className?: string;
|
|
15
|
+
/** Class applied to the pattern */
|
|
12
16
|
patternClassName?: string;
|
|
17
|
+
/** Gap between repetitions of the pattern */
|
|
13
18
|
gap?: number | [number, number];
|
|
19
|
+
/** Size of a single pattern element */
|
|
14
20
|
size?: number;
|
|
21
|
+
/** Offset of the pattern */
|
|
15
22
|
offset?: number;
|
|
23
|
+
/** Line width of the Line pattern */
|
|
16
24
|
lineWidth?: number;
|
|
25
|
+
/** Variant of the pattern
|
|
26
|
+
* @example BackgroundVariant.Lines, BackgroundVariant.Dots, BackgroundVariant.Cross
|
|
27
|
+
* 'lines', 'dots', 'cross'
|
|
28
|
+
*/
|
|
17
29
|
variant?: BackgroundVariant;
|
|
30
|
+
/** Style applied to the container */
|
|
18
31
|
style?: CSSProperties;
|
|
19
32
|
};
|
|
20
33
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mCAAmC;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,qCAAqC;IACrC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC"}
|
|
@@ -2,17 +2,31 @@ import type { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
import type { PanelPosition } from '@xyflow/system';
|
|
3
3
|
import type { FitViewOptions } from '../../types';
|
|
4
4
|
export type ControlProps = {
|
|
5
|
+
/** Show button for zoom in/out */
|
|
5
6
|
showZoom?: boolean;
|
|
7
|
+
/** Show button for fit view */
|
|
6
8
|
showFitView?: boolean;
|
|
9
|
+
/** Show button for toggling interactivity */
|
|
7
10
|
showInteractive?: boolean;
|
|
11
|
+
/** Options being used when fit view button is clicked */
|
|
8
12
|
fitViewOptions?: FitViewOptions;
|
|
13
|
+
/** Callback when zoom in button is clicked */
|
|
9
14
|
onZoomIn?: () => void;
|
|
15
|
+
/** Callback when zoom out button is clicked */
|
|
10
16
|
onZoomOut?: () => void;
|
|
17
|
+
/** Callback when fit view button is clicked */
|
|
11
18
|
onFitView?: () => void;
|
|
19
|
+
/** Callback when interactivity is toggled */
|
|
12
20
|
onInteractiveChange?: (interactiveStatus: boolean) => void;
|
|
21
|
+
/** Position of the controls on the pane
|
|
22
|
+
* @example PanelPosition.TopLeft, PanelPosition.TopRight,
|
|
23
|
+
* PanelPosition.BottomLeft, PanelPosition.BottomRight
|
|
24
|
+
*/
|
|
13
25
|
position?: PanelPosition;
|
|
14
26
|
children?: ReactNode;
|
|
27
|
+
/** Style applied to container */
|
|
15
28
|
style?: React.CSSProperties;
|
|
29
|
+
/** ClassName applied to container */
|
|
16
30
|
className?: string;
|
|
17
31
|
'aria-label'?: string;
|
|
18
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/Controls/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,mBAAmB,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/Controls/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG;IACzB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,yDAAyD;IACzD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,6CAA6C;IAC7C,mBAAmB,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iCAAiC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiniMap.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/MiniMap/MiniMap.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MiniMap.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/MiniMap/MiniMap.tsx"],"names":[],"mappings":";AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4B5C,iBAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,aAAkB,EAClB,gBAAoB,EACpB,eAAe,EAGf,aAAa,EACb,SAAS,EACT,eAAwB,EACxB,eAAmB,EACnB,QAAyB,EACzB,OAAO,EACP,WAAW,EACX,QAAgB,EAChB,QAAgB,EAChB,SAAiC,EACjC,UAAU,EACV,QAAa,EACb,WAAe,GAChB,EAAE,YAAY,2CA6Gd;kBApIQ,gBAAgB;;;AAwIzB,eAAO,MAAM,OAAO,8DAAyB,CAAC"}
|
|
@@ -3,23 +3,44 @@ import type { PanelPosition, XYPosition } from '@xyflow/system';
|
|
|
3
3
|
import type { Node } from '../../types';
|
|
4
4
|
export type GetMiniMapNodeAttribute<NodeType extends Node = Node> = (node: NodeType) => string;
|
|
5
5
|
export type MiniMapProps<NodeType extends Node = Node> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
|
|
6
|
+
/** Color of nodes on minimap */
|
|
6
7
|
nodeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
8
|
+
/** Stroke color of nodes on minimap */
|
|
7
9
|
nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
10
|
+
/** ClassName applied to nodes on minimap */
|
|
8
11
|
nodeClassName?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
12
|
+
/** Border radius of nodes on minimap */
|
|
9
13
|
nodeBorderRadius?: number;
|
|
14
|
+
/** Stroke width of nodes on minimap */
|
|
10
15
|
nodeStrokeWidth?: number;
|
|
16
|
+
/** Component used to render nodes on minimap */
|
|
11
17
|
nodeComponent?: ComponentType<MiniMapNodeProps>;
|
|
18
|
+
/** Color of mask representing viewport */
|
|
12
19
|
maskColor?: string;
|
|
20
|
+
/** Stroke color of mask representing viewport */
|
|
13
21
|
maskStrokeColor?: string;
|
|
22
|
+
/** Stroke width of mask representing viewport */
|
|
14
23
|
maskStrokeWidth?: number;
|
|
24
|
+
/** Position of minimap on pane
|
|
25
|
+
* @example PanelPosition.TopLeft, PanelPosition.TopRight,
|
|
26
|
+
* PanelPosition.BottomLeft, PanelPosition.BottomRight
|
|
27
|
+
*/
|
|
15
28
|
position?: PanelPosition;
|
|
29
|
+
/** Callback caled when minimap is clicked*/
|
|
16
30
|
onClick?: (event: MouseEvent, position: XYPosition) => void;
|
|
31
|
+
/** Callback called when node on minimap is clicked */
|
|
17
32
|
onNodeClick?: (event: MouseEvent, node: NodeType) => void;
|
|
33
|
+
/** If true, viewport is pannable via mini map component */
|
|
18
34
|
pannable?: boolean;
|
|
35
|
+
/** If true, viewport is zoomable via mini map component */
|
|
19
36
|
zoomable?: boolean;
|
|
37
|
+
/** The aria-label attribute */
|
|
20
38
|
ariaLabel?: string | null;
|
|
39
|
+
/** Invert direction when panning the minimap viewport */
|
|
21
40
|
inversePan?: boolean;
|
|
41
|
+
/** Step size for zooming in/out on minimap */
|
|
22
42
|
zoomStep?: number;
|
|
43
|
+
/** Offset the viewport on the minmap, acts like a padding */
|
|
23
44
|
offsetScale?: number;
|
|
24
45
|
};
|
|
25
46
|
export type MiniMapNodes<NodeType extends Node = Node> = Pick<MiniMapProps<NodeType>, 'nodeColor' | 'nodeStrokeColor' | 'nodeClassName' | 'nodeBorderRadius' | 'nodeStrokeWidth' | 'nodeComponent'> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/MiniMap/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,uBAAuB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;AAE/F,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,GAAG;IACxG,SAAS,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IACvD,eAAe,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC7D,aAAa,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAChD,S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ClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD,CAAC"}
|
|
@@ -1,25 +1,50 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import type { ControlPosition, ControlLinePosition, ResizeControlVariant, ShouldResize, OnResizeStart, OnResize, OnResizeEnd } from '@xyflow/system';
|
|
3
3
|
export type NodeResizerProps = {
|
|
4
|
+
/** Id of the node it is resizing
|
|
5
|
+
* @remarks optional if used inside custom node
|
|
6
|
+
*/
|
|
4
7
|
nodeId?: string;
|
|
8
|
+
/** Color of the resize handle */
|
|
5
9
|
color?: string;
|
|
10
|
+
/** ClassName applied to handle */
|
|
6
11
|
handleClassName?: string;
|
|
12
|
+
/** Style applied to handle */
|
|
7
13
|
handleStyle?: CSSProperties;
|
|
14
|
+
/** ClassName applied to line */
|
|
8
15
|
lineClassName?: string;
|
|
16
|
+
/** Style applied to line */
|
|
9
17
|
lineStyle?: CSSProperties;
|
|
18
|
+
/** Are the controls visible */
|
|
10
19
|
isVisible?: boolean;
|
|
20
|
+
/** Minimum width of node */
|
|
11
21
|
minWidth?: number;
|
|
22
|
+
/** Minimum height of node */
|
|
12
23
|
minHeight?: number;
|
|
24
|
+
/** Maximum width of node */
|
|
13
25
|
maxWidth?: number;
|
|
26
|
+
/** Maximum height of node */
|
|
14
27
|
maxHeight?: number;
|
|
28
|
+
/** Keep aspect ratio when resizing */
|
|
15
29
|
keepAspectRatio?: boolean;
|
|
30
|
+
/** Callback to determine if node should resize */
|
|
16
31
|
shouldResize?: ShouldResize;
|
|
32
|
+
/** Callback called when resizing starts */
|
|
17
33
|
onResizeStart?: OnResizeStart;
|
|
34
|
+
/** Callback called when resizing */
|
|
18
35
|
onResize?: OnResize;
|
|
36
|
+
/** Callback called when resizing ends */
|
|
19
37
|
onResizeEnd?: OnResizeEnd;
|
|
20
38
|
};
|
|
21
39
|
export type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'keepAspectRatio' | 'shouldResize' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
|
|
40
|
+
/** Position of the control
|
|
41
|
+
* @example ControlPosition.TopLeft, ControlPosition.TopRight,
|
|
42
|
+
* ControlPosition.BottomLeft, ControlPosition.BottomRight
|
|
43
|
+
*/
|
|
22
44
|
position?: ControlPosition;
|
|
45
|
+
/** Variant of the control
|
|
46
|
+
* @example ResizeControlVariant.Handle, ResizeControlVariant.Line
|
|
47
|
+
*/
|
|
23
48
|
variant?: ResizeControlVariant;
|
|
24
49
|
className?: string;
|
|
25
50
|
style?: CSSProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/NodeResizer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EACd,QAAQ,GACR,OAAO,GACP,UAAU,GACV,WAAW,GACX,UAAU,GACV,WAAW,GACX,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,UAAU,GACV,aAAa,CAChB,GAAG;IACF,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,GAAG;IACxD,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/NodeResizer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC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AAG,kBAAkB,GAAG;IACxD,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
import type { Position, Align } from '@xyflow/system';
|
|
3
3
|
export type NodeToolbarProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
/** Id of the node, or array of ids the toolbar should be displayed at */
|
|
4
5
|
nodeId?: string | string[];
|
|
6
|
+
/** If true, node toolbar is visible even if node is not selected */
|
|
5
7
|
isVisible?: boolean;
|
|
8
|
+
/** Position of the toolbar relative to the node
|
|
9
|
+
* @example Position.TopLeft, Position.TopRight,
|
|
10
|
+
* Position.BottomLeft, Position.BottomRight
|
|
11
|
+
*/
|
|
6
12
|
position?: Position;
|
|
13
|
+
/** Offset the toolbar from the node */
|
|
7
14
|
offset?: number;
|
|
15
|
+
/** Align the toolbar relative to the node
|
|
16
|
+
* @example Align.Start, Align.Center, Align.End
|
|
17
|
+
*/
|
|
8
18
|
align?: Align;
|
|
9
19
|
};
|
|
10
20
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/NodeToolbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/additional-components/NodeToolbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EdgeUpdateAnchors.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/EdgeUpdateAnchors.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGhE,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAC/C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;IACrD,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,GAAG,YAAY,CAAC;AAEjB,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,cAAc,GACf,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"EdgeUpdateAnchors.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/EdgeUpdateAnchors.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGhE,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAC/C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;IACrD,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,GAAG,YAAY,CAAC;AAEjB,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,cAAc,GACf,EAAE,sBAAsB,2CAmGxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EACF,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,SAAS,EACT,cAAc,EACd,OAAO,GACR,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/EdgeWrapper/index.tsx"],"names":[],"mappings":";AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EACF,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,SAAS,EACT,cAAc,EACd,OAAO,GACR,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAgOvC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { type HandleProps } from '@xyflow/system';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface HandleComponentProps extends HandleProps, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* The Handle component is the part of a node that can be used to connect nodes.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Handle: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<HandleComponentProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Handle/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,cAAc,EAA4E,MAAM,OAAO,CAAC;AAGvH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Handle/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAQ,cAAc,EAA4E,MAAM,OAAO,CAAC;AAGvH,OAAO,EAOL,KAAK,WAAW,EAGjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,oBAAqB,SAAQ,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;CAAG;AAuMxG;;GAEG;AACH,eAAO,MAAM,MAAM,sJAAwB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import type { PanelPosition } from '@xyflow/system';
|
|
3
3
|
export type PanelProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
/** Set position of the panel
|
|
5
|
+
* @example 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
|
|
6
|
+
*/
|
|
4
7
|
position?: PanelPosition;
|
|
5
8
|
children: ReactNode;
|
|
6
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAIF,wBAAgB,KAAK,CAAC,EAAE,QAAqB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAa/F"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/components/Panel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKpD,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD;;OAEG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAIF,wBAAgB,KAAK,CAAC,EAAE,QAAqB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,UAAU,2CAa/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerDefinitions.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MarkerDefinitions.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/EdgeRenderer/MarkerDefinitions.tsx"],"names":[],"mappings":";AAMA,KAAK,sBAAsB,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;;;;AAgFF,wBAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/FlowRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,cAAc,EACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,GACV,oBAAoB,GACpB,8BAA8B,GAC9B,gBAAgB,GAChB,2BAA2B,GAC3B,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GACN,YAAY,CACf,GAAG;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/FlowRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM9C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,cAAc,EACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,GACV,oBAAoB,GACpB,8BAA8B,GAC9B,gBAAgB,GAChB,2BAA2B,GAC3B,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GACN,YAAY,CACf,GAAG;IACF,oBAAoB,EAAE,OAAO,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAuGF,eAAO,MAAM,YAAY;knBA7DtB,iBAAiB;;EA6DmC,CAAC"}
|
|
@@ -1,120 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type NodeOrigin } from '@xyflow/system';
|
|
3
|
+
import type { ReactFlowProps } from '../../types';
|
|
3
4
|
export declare const initNodeOrigin: NodeOrigin;
|
|
4
|
-
declare const ReactFlow: import("react").ForwardRefExoticComponent<
|
|
5
|
-
nodes?: import("../../types").Node<any, string | undefined>[] | undefined;
|
|
6
|
-
edges?: import("../../types").Edge<any>[] | undefined;
|
|
7
|
-
defaultNodes?: import("../../types").Node<any, string | undefined>[] | undefined;
|
|
8
|
-
defaultEdges?: import("../../types").Edge<any>[] | undefined;
|
|
9
|
-
defaultEdgeOptions?: import("../../types").DefaultEdgeOptions | undefined;
|
|
10
|
-
onNodeClick?: import("../../types").NodeMouseHandler | undefined;
|
|
11
|
-
onNodeDoubleClick?: import("../../types").NodeMouseHandler | undefined;
|
|
12
|
-
onNodeMouseEnter?: import("../../types").NodeMouseHandler | undefined;
|
|
13
|
-
onNodeMouseMove?: import("../../types").NodeMouseHandler | undefined;
|
|
14
|
-
onNodeMouseLeave?: import("../../types").NodeMouseHandler | undefined;
|
|
15
|
-
onNodeContextMenu?: import("../../types").NodeMouseHandler | undefined;
|
|
16
|
-
onNodeDragStart?: import("../../types").NodeDragHandler | undefined;
|
|
17
|
-
onNodeDrag?: import("../../types").NodeDragHandler | undefined;
|
|
18
|
-
onNodeDragStop?: import("../../types").NodeDragHandler | undefined;
|
|
19
|
-
onEdgeClick?: ((event: import("react").MouseEvent<Element, MouseEvent>, edge: import("../../types").Edge<any>) => void) | undefined;
|
|
20
|
-
onEdgeUpdate?: import("../../types").OnEdgeUpdateFunc<any> | undefined;
|
|
21
|
-
onEdgeContextMenu?: import("../../types").EdgeMouseHandler | undefined;
|
|
22
|
-
onEdgeMouseEnter?: import("../../types").EdgeMouseHandler | undefined;
|
|
23
|
-
onEdgeMouseMove?: import("../../types").EdgeMouseHandler | undefined;
|
|
24
|
-
onEdgeMouseLeave?: import("../../types").EdgeMouseHandler | undefined;
|
|
25
|
-
onEdgeDoubleClick?: import("../../types").EdgeMouseHandler | undefined;
|
|
26
|
-
onEdgeUpdateStart?: ((event: import("react").MouseEvent<Element, MouseEvent>, edge: import("../../types").Edge<any>, handleType: import("@xyflow/system").HandleType) => void) | undefined;
|
|
27
|
-
onEdgeUpdateEnd?: ((event: MouseEvent | TouchEvent, edge: import("../../types").Edge<any>, handleType: import("@xyflow/system").HandleType) => void) | undefined;
|
|
28
|
-
onNodesChange?: import("../../types").OnNodesChange | undefined;
|
|
29
|
-
onEdgesChange?: import("../../types").OnEdgesChange | undefined;
|
|
30
|
-
onNodesDelete?: import("../../types").OnNodesDelete | undefined;
|
|
31
|
-
onEdgesDelete?: import("../../types").OnEdgesDelete | undefined;
|
|
32
|
-
onDelete?: import("../../types").OnDelete | undefined;
|
|
33
|
-
onSelectionDragStart?: import("../../types").SelectionDragHandler | undefined;
|
|
34
|
-
onSelectionDrag?: import("../../types").SelectionDragHandler | undefined;
|
|
35
|
-
onSelectionDragStop?: import("../../types").SelectionDragHandler | undefined;
|
|
36
|
-
onSelectionStart?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
37
|
-
onSelectionEnd?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
38
|
-
onSelectionContextMenu?: ((event: import("react").MouseEvent<Element, MouseEvent>, nodes: import("../../types").Node<any, string | undefined>[]) => void) | undefined;
|
|
39
|
-
onConnect?: import("@xyflow/system").OnConnect | undefined;
|
|
40
|
-
onConnectStart?: import("@xyflow/system").OnConnectStart | undefined;
|
|
41
|
-
onConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined;
|
|
42
|
-
onClickConnectStart?: import("@xyflow/system").OnConnectStart | undefined;
|
|
43
|
-
onClickConnectEnd?: import("@xyflow/system").OnConnectEnd | undefined;
|
|
44
|
-
onInit?: import("../../types").OnInit<import("../../types").Node<any, string | undefined>, import("../../types").Edge<any>> | undefined;
|
|
45
|
-
onMove?: import("@xyflow/system").OnMove | undefined;
|
|
46
|
-
onMoveStart?: import("@xyflow/system").OnMove | undefined;
|
|
47
|
-
onMoveEnd?: import("@xyflow/system").OnMove | undefined;
|
|
48
|
-
onSelectionChange?: import("../../types").OnSelectionChangeFunc | undefined;
|
|
49
|
-
onPaneScroll?: ((event?: import("react").WheelEvent<Element> | undefined) => void) | undefined;
|
|
50
|
-
onPaneClick?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
51
|
-
onPaneContextMenu?: ((event: MouseEvent | import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
52
|
-
onPaneMouseEnter?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
53
|
-
onPaneMouseMove?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
54
|
-
onPaneMouseLeave?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
55
|
-
onBeforeDelete?: import("@xyflow/system").OnBeforeDelete | undefined;
|
|
56
|
-
nodeTypes?: import("../../types").NodeTypes | undefined;
|
|
57
|
-
edgeTypes?: import("../../types").EdgeTypes | undefined;
|
|
58
|
-
connectionLineType?: ConnectionLineType | undefined;
|
|
59
|
-
connectionLineStyle?: CSSProperties | undefined;
|
|
60
|
-
connectionLineComponent?: import("../../types").ConnectionLineComponent | undefined;
|
|
61
|
-
connectionLineContainerStyle?: CSSProperties | undefined;
|
|
62
|
-
connectionMode?: import("@xyflow/system").ConnectionMode | undefined;
|
|
63
|
-
deleteKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
64
|
-
selectionKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
65
|
-
selectionOnDrag?: boolean | undefined;
|
|
66
|
-
selectionMode?: SelectionMode | undefined;
|
|
67
|
-
panActivationKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
68
|
-
multiSelectionKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
69
|
-
zoomActivationKeyCode?: import("@xyflow/system").KeyCode | null | undefined;
|
|
70
|
-
snapToGrid?: boolean | undefined;
|
|
71
|
-
snapGrid?: import("@xyflow/system").SnapGrid | undefined;
|
|
72
|
-
onlyRenderVisibleElements?: boolean | undefined;
|
|
73
|
-
nodesDraggable?: boolean | undefined;
|
|
74
|
-
nodesConnectable?: boolean | undefined;
|
|
75
|
-
nodesFocusable?: boolean | undefined;
|
|
76
|
-
nodeOrigin?: NodeOrigin | undefined;
|
|
77
|
-
edgesFocusable?: boolean | undefined;
|
|
78
|
-
edgesUpdatable?: boolean | undefined;
|
|
79
|
-
elementsSelectable?: boolean | undefined;
|
|
80
|
-
selectNodesOnDrag?: boolean | undefined;
|
|
81
|
-
panOnDrag?: boolean | number[] | undefined;
|
|
82
|
-
minZoom?: number | undefined;
|
|
83
|
-
maxZoom?: number | undefined;
|
|
84
|
-
viewport?: Viewport | undefined;
|
|
85
|
-
defaultViewport?: Viewport | undefined;
|
|
86
|
-
onViewportChange?: ((viewport: Viewport) => void) | undefined;
|
|
87
|
-
translateExtent?: import("@xyflow/system").CoordinateExtent | undefined;
|
|
88
|
-
preventScrolling?: boolean | undefined;
|
|
89
|
-
nodeExtent?: import("@xyflow/system").CoordinateExtent | undefined;
|
|
90
|
-
defaultMarkerColor?: string | undefined;
|
|
91
|
-
zoomOnScroll?: boolean | undefined;
|
|
92
|
-
zoomOnPinch?: boolean | undefined;
|
|
93
|
-
panOnScroll?: boolean | undefined;
|
|
94
|
-
panOnScrollSpeed?: number | undefined;
|
|
95
|
-
panOnScrollMode?: PanOnScrollMode | undefined;
|
|
96
|
-
zoomOnDoubleClick?: boolean | undefined;
|
|
97
|
-
edgeUpdaterRadius?: number | undefined;
|
|
98
|
-
noDragClassName?: string | undefined;
|
|
99
|
-
noWheelClassName?: string | undefined;
|
|
100
|
-
noPanClassName?: string | undefined;
|
|
101
|
-
fitView?: boolean | undefined;
|
|
102
|
-
fitViewOptions?: import("../../types").FitViewOptions | undefined;
|
|
103
|
-
connectOnClick?: boolean | undefined;
|
|
104
|
-
attributionPosition?: import("@xyflow/system").PanelPosition | undefined;
|
|
105
|
-
proOptions?: import("@xyflow/system").ProOptions | undefined;
|
|
106
|
-
elevateNodesOnSelect?: boolean | undefined;
|
|
107
|
-
elevateEdgesOnSelect?: boolean | undefined;
|
|
108
|
-
disableKeyboardA11y?: boolean | undefined;
|
|
109
|
-
autoPanOnNodeDrag?: boolean | undefined;
|
|
110
|
-
autoPanOnConnect?: boolean | undefined;
|
|
111
|
-
connectionRadius?: number | undefined;
|
|
112
|
-
onError?: import("@xyflow/system").OnError | undefined;
|
|
113
|
-
isValidConnection?: import("@xyflow/system").IsValidConnection | undefined;
|
|
114
|
-
nodeDragThreshold?: number | undefined;
|
|
115
|
-
width?: number | undefined;
|
|
116
|
-
height?: number | undefined;
|
|
117
|
-
colorMode?: import("@xyflow/system").ColorMode | undefined;
|
|
118
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const ReactFlow: import("react").ForwardRefExoticComponent<ReactFlowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
119
6
|
export default ReactFlow;
|
|
120
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/ReactFlow/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/react/src/container/ReactFlow/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAML,KAAK,UAAU,EAEhB,MAAM,gBAAgB,CAAC;AASxB,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,aAAa,CAAC;AAEpE,eAAO,MAAM,cAAc,EAAE,UAAmB,CAAC;AAWjD,QAAA,MAAM,SAAS,2GAwQd,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import type { ReactFlowStore } from '../types/store';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* @public
|
|
6
|
-
* @returns ongoing connection: startHandle, endHandle, status, position
|
|
7
|
-
*/
|
|
8
|
-
export declare function useConnection(): {
|
|
2
|
+
type UseConnectionResult = {
|
|
3
|
+
/** The start handle where the user interaction started or null */
|
|
9
4
|
startHandle: ReactFlowStore['connectionStartHandle'];
|
|
5
|
+
/** The target handle that's inside the connection radius or null */
|
|
10
6
|
endHandle: ReactFlowStore['connectionEndHandle'];
|
|
7
|
+
/** The current connection status 'valid', 'invalid' or null*/
|
|
11
8
|
status: ReactFlowStore['connectionStatus'];
|
|
9
|
+
/** The current connection position or null */
|
|
12
10
|
position: ReactFlowStore['connectionPosition'] | null;
|
|
13
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Hook for accessing the ongoing connection.
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
16
|
+
* @returns ongoing connection
|
|
17
|
+
*/
|
|
18
|
+
export declare function useConnection(): UseConnectionResult;
|
|
19
|
+
export {};
|
|
14
20
|
//# sourceMappingURL=useConnection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useConnection.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useConnection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AASrD
|
|
1
|
+
{"version":3,"file":"useConnection.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useConnection.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AASrD,KAAK,mBAAmB,GAAG;IACzB,kEAAkE;IAClE,WAAW,EAAE,cAAc,CAAC,uBAAuB,CAAC,CAAC;IACrD,qEAAqE;IACrE,SAAS,EAAE,cAAc,CAAC,qBAAqB,CAAC,CAAC;IACjD,8DAA8D;IAC9D,MAAM,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAC3C,8CAA8C;IAC9C,QAAQ,EAAE,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;CACvD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,mBAAmB,CAInD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"useDrag.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useDrag.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMpE,KAAK,aAAa,GAAG;IACnB,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAgB,EAChB,eAAe,EACf,cAAc,EACd,MAAM,EACN,YAAY,GACb,EAAE,aAAa,WA6Cf"}
|
|
@@ -7,7 +7,7 @@ type useHandleConnectionsParams = {
|
|
|
7
7
|
onDisconnect?: (connections: Connection[]) => void;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Hook to check if a <Handle /> is connected to another <Handle /> and get the connections.
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
* @param param.type - handle type 'source' or 'target'
|
|
@@ -7,7 +7,7 @@ import type { Node, NodeChange, Edge, EdgeChange } from '../types';
|
|
|
7
7
|
* @param initialNodes
|
|
8
8
|
* @returns an array [nodes, setNodes, onNodesChange]
|
|
9
9
|
*/
|
|
10
|
-
export declare function useNodesState<NodeType extends Node = Node>(initialNodes: NodeType[]): [NodeType[], Dispatch<SetStateAction<NodeType[]>>, (changes: NodeChange[]) => void];
|
|
10
|
+
export declare function useNodesState<NodeType extends Node = Node>(initialNodes: NodeType[]): [NodeType[], Dispatch<SetStateAction<NodeType[]>>, (changes: NodeChange<NodeType>[]) => void];
|
|
11
11
|
/**
|
|
12
12
|
* Hook for managing the state of edges - should only be used for prototyping / simple use cases.
|
|
13
13
|
*
|
|
@@ -15,5 +15,5 @@ export declare function useNodesState<NodeType extends Node = Node>(initialNodes
|
|
|
15
15
|
* @param initialEdges
|
|
16
16
|
* @returns an array [edges, setEdges, onEdgesChange]
|
|
17
17
|
*/
|
|
18
|
-
export declare function useEdgesState<EdgeType extends Edge = Edge>(initialEdges: EdgeType[]): [EdgeType[], Dispatch<SetStateAction<EdgeType[]>>, (changes: EdgeChange[]) => void];
|
|
18
|
+
export declare function useEdgesState<EdgeType extends Edge = Edge>(initialEdges: EdgeType[]): [EdgeType[], Dispatch<SetStateAction<EdgeType[]>>, (changes: EdgeChange<EdgeType>[]) => void];
|
|
19
19
|
//# sourceMappingURL=useNodesEdgesState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodesEdgesState.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesEdgesState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGlF,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EACxD,YAAY,EAAE,QAAQ,EAAE,GACvB,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"useNodesEdgesState.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesEdgesState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGlF,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EACxD,YAAY,EAAE,QAAQ,EAAE,GACvB,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,IAAI,CAAC,CAQ/F;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EACxD,YAAY,EAAE,QAAQ,EAAE,GACvB,CAAC,QAAQ,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,QAAQ,CAAC,EAAE,KAAK,IAAI,CAAC,CAQ/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"useNodesInitialized.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useNodesInitialized.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAsBF;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,0BAA2C,GAAG,OAAO,CAIjG"}
|
|
@@ -6,7 +6,7 @@ export type UseOnSelectionChangeOptions = {
|
|
|
6
6
|
* Hook for registering an onSelectionChange handler.
|
|
7
7
|
*
|
|
8
8
|
* @public
|
|
9
|
-
* @
|
|
9
|
+
* @param params.onChange - The handler to register
|
|
10
10
|
*/
|
|
11
11
|
export declare function useOnSelectionChange({ onChange }: UseOnSelectionChangeOptions): void;
|
|
12
12
|
//# sourceMappingURL=useOnSelectionChange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateNodePositions.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useUpdateNodePositions.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,sBAAsB,aAGS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"useUpdateNodePositions.d.ts","sourceRoot":"","sources":["../../../../packages/react/src/hooks/useUpdateNodePositions.ts"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,sBAAsB,aAGS;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,UAqD/F"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -27,9 +27,9 @@ export { useNodesData } from './hooks/useNodesData';
|
|
|
27
27
|
export { useConnection } from './hooks/useConnection';
|
|
28
28
|
export { useNodeId } from './contexts/NodeIdContext';
|
|
29
29
|
export { applyNodeChanges, applyEdgeChanges, handleParentExpand } from './utils/changes';
|
|
30
|
-
export { isNode, isEdge
|
|
30
|
+
export { isNode, isEdge } from './utils/general';
|
|
31
31
|
export * from './additional-components';
|
|
32
32
|
export * from './types';
|
|
33
|
-
export { type SmoothStepPathOptions, type BezierPathOptions, ConnectionLineType, type EdgeMarker, type EdgeMarkerType, MarkerType, type OnMove, type OnMoveStart, type OnMoveEnd, type Connection, type ConnectionStatus, ConnectionMode, type OnConnectStartParams, type OnConnectStart, type OnConnect, type OnConnectEnd, type IsValidConnection, type Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeProps, type NodeOrigin, type
|
|
34
|
-
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, internalsSymbol, } from '@xyflow/system';
|
|
33
|
+
export { type SmoothStepPathOptions, type BezierPathOptions, ConnectionLineType, type EdgeMarker, type EdgeMarkerType, MarkerType, type OnMove, type OnMoveStart, type OnMoveEnd, type Connection, type ConnectionStatus, ConnectionMode, type OnConnectStartParams, type OnConnectStart, type OnConnect, type OnConnectEnd, type IsValidConnection, type Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeProps, type NodeOrigin, type OnSelectionDrag, Position, type XYPosition, type XYZPosition, type Dimensions, type Rect, type Box, type Transform, type CoordinateExtent, type ColorMode, type ColorModeClass, type HandleType, type ShouldResize, type OnResizeStart, type OnResize, type OnResizeEnd, type ControlPosition, type ControlLinePosition, type ResizeControlVariant, } from '@xyflow/system';
|
|
34
|
+
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, addEdge, updateEdge, getConnectedEdges, internalsSymbol, } from '@xyflow/system';
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/react/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,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