Added tests for pane

This commit is contained in:
Peter
2023-11-02 16:29:22 +01:00
parent 92272080e3
commit 0b7613c64e
7 changed files with 233 additions and 22 deletions
@@ -0,0 +1,33 @@
import type { Edge, Node } from '@xyflow/svelte';
export const initialNodes: Node[] = [
{
id: '1',
data: { label: '1' },
position: { x: 0, y: 0 },
type: 'input'
},
{
id: '2',
data: { label: '2' },
position: { x: -100, y: 100 }
},
{
id: '3',
data: { label: '3' },
position: { x: 100, y: 100 }
}
];
export const initialEdges: Edge[] = [
{
id: 'first-edge',
source: '1',
target: '2'
},
{
id: 'second-edge',
source: '1',
target: '3'
}
];