fix(dashboard): add left/right handles to end node for skip-forward edges

This commit is contained in:
2026-05-15 14:15:35 +08:00
parent 7ec86d82a3
commit 8892ab9978
@@ -50,13 +50,29 @@ export function TerminalNode(props: NodeProps) {
isConnectable={false} isConnectable={false}
/> />
) : ( ) : (
<Handle <>
type="target" <Handle
position={Position.Top} type="target"
id="top-in" position={Position.Top}
style={handleStyle} id="top-in"
isConnectable={false} style={handleStyle}
/> isConnectable={false}
/>
<Handle
type="target"
position={Position.Left}
id="left-in"
style={handleStyle}
isConnectable={false}
/>
<Handle
type="target"
position={Position.Right}
id="right-in"
style={handleStyle}
isConnectable={false}
/>
</>
)} )}
{isStart ? "▶" : "■"} {isStart ? "▶" : "■"}
</div> </div>