@xyflow/svelte
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -31,2 +31,2 @@ export { SvelteFlow } from './container/SvelteFlow'; | ||
export { type Align, 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 Viewport, type SnapGrid, PanOnScrollMode, type ViewportHelperFunctionOptions, type SetCenterOptions, type FitBoundsOptions, type PanelPosition, type ProOptions, SelectionMode, type SelectionRect, type OnError, type NodeOrigin, type OnSelectionDrag, Position, type XYPosition, type XYZPosition, type Dimensions, type Rect, type Box, type Transform, type CoordinateExtent, type ColorMode, type ColorModeClass, type ShouldResize, type OnResizeStart, type OnResize, type OnResizeEnd, type ControlPosition, type ControlLinePosition, type ResizeControlVariant, type IsValidConnection } from '@xyflow/system'; | ||
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, getConnectedEdges, addEdge, updateEdge } from '@xyflow/system'; | ||
export { type GetBezierPathParams, getBezierEdgeCenter, getBezierPath, getEdgeCenter, type GetSmoothStepPathParams, getSmoothStepPath, type GetStraightPathParams, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, getConnectedEdges, addEdge } from '@xyflow/system'; |
@@ -35,2 +35,2 @@ // main component | ||
// system utils | ||
export { getBezierEdgeCenter, getBezierPath, getEdgeCenter, getSmoothStepPath, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, getConnectedEdges, addEdge, updateEdge } from '@xyflow/system'; | ||
export { getBezierEdgeCenter, getBezierPath, getEdgeCenter, getSmoothStepPath, getStraightPath, getViewportForBounds, getNodesBounds, getIncomers, getOutgoers, getConnectedEdges, addEdge } from '@xyflow/system'; |
@@ -53,3 +53,4 @@ import { derived } from 'svelte/store'; | ||
const fromPosition = fromHandle?.position; | ||
const toPosition = fromPosition ? oppositePosition[fromPosition] : undefined; | ||
const toPosition = connection.connectionEndHandle?.position ?? | ||
(fromPosition ? oppositePosition[fromPosition] : undefined); | ||
const pathParams = { | ||
@@ -56,0 +57,0 @@ sourceX: fromX, |
{ | ||
"name": "@xyflow/svelte", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"svelte-preprocess": "^5.1.3", | ||
"@xyflow/system": "0.0.29" | ||
"@xyflow/system": "0.0.30" | ||
}, | ||
@@ -85,6 +85,6 @@ "devDependencies": { | ||
"css-watch": "pnpm css --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write .", | ||
"lint": "prettier --check . && eslint ./src", | ||
"format": "prettier --write .", | ||
"typecheck": "pnpm check" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280417
5199
+ Added@xyflow/system@0.0.30(transitive)
- Removed@xyflow/system@0.0.29(transitive)
Updated@xyflow/system@0.0.30