next step

This commit is contained in:
StyleZhang
2024-02-28 16:19:35 +08:00
parent 76ff004ea5
commit f1b868d5d9
11 changed files with 430 additions and 213 deletions

View File

@ -17,7 +17,7 @@ const IfElseNode: FC<Pick<NodeProps, 'id' | 'data'>> = (props) => {
<div className='w-full text-right text-gray-700 text-xs font-semibold'>IF</div>
<NodeSourceHandle
{...props}
handleId='condition1'
handleId='if-true'
handleClassName='!top-1 !-right-[21px]'
/>
</div>
@ -41,7 +41,7 @@ const IfElseNode: FC<Pick<NodeProps, 'id' | 'data'>> = (props) => {
<div className='w-full text-right text-gray-700 text-xs font-semibold'>ELSE</div>
<NodeSourceHandle
{...props}
handleId='condition2'
handleId='if-false'
handleClassName='!top-1 !-right-[21px]'
/>
</div>