refactor(flow)!: properly nest components

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 6bdea72b20
commit c96f62f622
12 changed files with 121 additions and 149 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ onMounted(() => {
{
id: '1',
type: 'input',
data: { label: 'An input node' },
label: 'An input node',
position: { x: 0, y: 50 },
sourcePosition: Position.Right,
},
@@ -77,14 +77,14 @@ onMounted(() => {
{
id: '3',
type: 'output',
data: { label: 'Output A' },
label: 'Output A',
position: { x: 650, y: 25 },
targetPosition: Position.Left,
},
{
id: '4',
type: 'output',
data: { label: 'Output B' },
label: 'Output B',
position: { x: 650, y: 100 },
targetPosition: Position.Left,
},