Skip to content

Commit e64ab35

Browse files
authored
fix(docs): correct prop names for node guide (#1321)
Update incorrect property names Update `sourceHandle` => `sourcePosition` Update `targetHandle` => `targetPosition`
1 parent 978d180 commit e64ab35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/guide/node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ const nodes = ref([
408408
id: '1',
409409
label: 'Default Node',
410410
type: 'default', // You can omit this as it's the fallback type
411-
targetHandle: Position.Top, // or Bottom, Left, Right,
412-
sourceHandle: Position.Bottom, // or Top, Left, Right,
411+
targetPosition: Position.Top, // or Bottom, Left, Right,
412+
sourcePosition: Position.Bottom, // or Top, Left, Right,
413413
}
414414
])
415415
```
@@ -434,7 +434,7 @@ const nodes = ref([
434434
id: '1',
435435
label: 'Input Node',
436436
type: 'input',
437-
sourceHandle: Position.Bottom, // or Top, Left, Right,
437+
sourcePosition: Position.Bottom, // or Top, Left, Right,
438438
}
439439
])
440440
```
@@ -459,7 +459,7 @@ const nodes = ref([
459459
id: '1',
460460
label: 'Output Node',
461461
type: 'output',
462-
targetHandle: Position.Top, // or Bottom, Left, Right,
462+
targetPosition: Position.Top, // or Bottom, Left, Right,
463463
}
464464
])
465465
```

0 commit comments

Comments
 (0)