|
|
|
|
@ -67,10 +67,10 @@ const renderSpecialNodeHandles = (isStartNode: boolean, isEndNode: boolean, data
|
|
|
|
|
key={`output-handle-${index}`}
|
|
|
|
|
type="source"
|
|
|
|
|
position={Position.Right}
|
|
|
|
|
id={dataOuts[index].name || `output-${index}`}
|
|
|
|
|
id={dataOuts[index].name|| dataOuts[index].id || `output-${index}`}
|
|
|
|
|
style={{
|
|
|
|
|
...handleStyles.data,
|
|
|
|
|
top: `${70 + apiIns.length * 20 + index * 20}px`
|
|
|
|
|
top: `${70 + apiOuts.length * 20 + index * 20}px`
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
))}
|
|
|
|
|
@ -100,7 +100,7 @@ const renderSpecialNodeHandles = (isStartNode: boolean, isEndNode: boolean, data
|
|
|
|
|
key={`input-handle-${index}`}
|
|
|
|
|
type="target"
|
|
|
|
|
position={Position.Left}
|
|
|
|
|
id={dataIns[index].name || `input-${index}`}
|
|
|
|
|
id={dataIns[index].name || dataIns[index].id || `input-${index}`}
|
|
|
|
|
style={{
|
|
|
|
|
...handleStyles.data,
|
|
|
|
|
top: `${70 + apiIns.length * 20 + index * 20}px`
|
|
|
|
|
|