mirror of
https://github.com/run-llama/flow-maker.git
synced 2026-07-19 15:03:36 -04:00
Refactor Agent Tool node
Update Agent Tool node to have a single, diamond-shaped connector on the left side with a hollow, white background.
This commit is contained in:
@@ -32,8 +32,22 @@ const AgentToolNode = memo(({ data, selected }: AgentToolNodeProps) => {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<Handle type="target" position={Position.Top} />
|
||||
<Handle type="source" position={Position.Bottom} />
|
||||
<Handle
|
||||
type="target"
|
||||
position={Position.Left}
|
||||
id="input"
|
||||
style={{
|
||||
width: '12px',
|
||||
height: '12px',
|
||||
borderRadius: '0',
|
||||
transform: 'rotate(45deg)',
|
||||
backgroundColor: 'white',
|
||||
border: '2px solid var(--handle-border-color-default)',
|
||||
left: '-6px',
|
||||
top: '50%',
|
||||
marginTop: '-6px'
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user