refactor(nodes): set default for connectable to true

This commit is contained in:
braks
2022-10-10 18:54:44 +02:00
committed by Braks
parent 624438a0ea
commit 0215d49ad3
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ const DefaultNode: FunctionalComponent<NodeProps> = function ({
sourcePosition = Position.Bottom,
targetPosition = Position.Top,
label,
connectable = false,
connectable = true,
isValidTargetPos,
isValidSourcePos,
}) {

View File

@@ -6,7 +6,7 @@ import { Position } from '~/types'
const InputNode: FunctionalComponent<NodeProps> = function ({
sourcePosition = Position.Bottom,
label,
connectable = false,
connectable = true,
isValidSourcePos,
}) {
return [

View File

@@ -6,7 +6,7 @@ import { Position } from '~/types'
const OutputNode: FunctionalComponent<NodeProps> = function ({
targetPosition = Position.Top,
label,
connectable = false,
connectable = true,
isValidTargetPos,
}) {
return [