refactor(nodes): set default for connectable to true
This commit is contained in:
@@ -7,7 +7,7 @@ const DefaultNode: FunctionalComponent<NodeProps> = function ({
|
||||
sourcePosition = Position.Bottom,
|
||||
targetPosition = Position.Top,
|
||||
label,
|
||||
connectable = false,
|
||||
connectable = true,
|
||||
isValidTargetPos,
|
||||
isValidSourcePos,
|
||||
}) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Position } from '~/types'
|
||||
const InputNode: FunctionalComponent<NodeProps> = function ({
|
||||
sourcePosition = Position.Bottom,
|
||||
label,
|
||||
connectable = false,
|
||||
connectable = true,
|
||||
isValidSourcePos,
|
||||
}) {
|
||||
return [
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Position } from '~/types'
|
||||
const OutputNode: FunctionalComponent<NodeProps> = function ({
|
||||
targetPosition = Position.Top,
|
||||
label,
|
||||
connectable = false,
|
||||
connectable = true,
|
||||
isValidTargetPos,
|
||||
}) {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user