refactor(packages): change package structure
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position } from '@xyflow/system';
|
||||
import { Handle } from '../../../lib/index';
|
||||
|
||||
export let data: { color: string, onChange: () => void } = { color: '#111', onChange: () => {} };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { getBezierPath } from '@reactflow/edge-utils';
|
||||
import { getBezierPath } from '@xyflow/system';
|
||||
|
||||
import { BaseEdge, EdgeLabelRenderer, useSvelteFlow, type EdgeProps } from '../../../lib/index';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position } from '@xyflow/system';
|
||||
import { Handle } from '../../../lib/index';
|
||||
|
||||
export let data: { label: string } = { label: 'Node' };
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
createEdges,
|
||||
type IsValidConnection
|
||||
} from '../../lib/index';
|
||||
import { Position } from '@reactflow/system';
|
||||
import { Position } from '@xyflow/system';
|
||||
|
||||
const nodes = createNodes([
|
||||
{ id: '0', type: 'default', position: { x: 0, y: 150 }, data: { label: 'only connectable with B' } },
|
||||
|
||||
Reference in New Issue
Block a user