refactor(packages): change package structure

This commit is contained in:
moklick
2023-06-05 15:40:18 +02:00
parent b2e296901e
commit 8354759f57
332 changed files with 980 additions and 3244 deletions
@@ -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' } },