chore(BatchProvider): cleanup

This commit is contained in:
moklick
2024-04-25 15:08:10 +02:00
parent a7b6789ce0
commit 95fd22d25b
4 changed files with 81 additions and 45 deletions
@@ -45,6 +45,12 @@ const initNodes: MyNode[] = [
data: { text: '' },
position: { x: 100, y: 0 },
},
{
id: '1b',
type: 'uppercase',
data: { text: '' },
position: { x: 100, y: -100 },
},
{
id: '2',
type: 'text',
@@ -53,9 +59,14 @@ const initNodes: MyNode[] = [
},
position: { x: 0, y: 100 },
},
{
id: '3',
id: '3a',
type: 'result',
data: {},
position: { x: 300, y: -75 },
},
{
id: '3b',
type: 'result',
data: {},
position: { x: 300, y: 50 },
@@ -69,14 +80,24 @@ const initEdges: Edge[] = [
target: '1a',
},
{
id: 'e1a-3',
source: '1a',
target: '3',
id: 'e1a-3a',
source: '1b',
target: '3a',
},
{
id: 'e2-3',
id: 'e1-1b',
source: '1',
target: '1b',
},
{
id: 'e1a-3b',
source: '1a',
target: '3b',
},
{
id: 'e2-3b',
source: '2',
target: '3',
target: '3b',
},
];