fix(dashboard): add left/right handles to end node for skip-forward edges
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user