gray connection back
This commit is contained in:
parent
9a770e735a
commit
f7f8e3bdc6
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ export default function FlowPage() {
|
|||
console.log(params)
|
||||
console.log(reactFlowInstance.getNodes())
|
||||
console.log(getConnectedNodes(params,reactFlowInstance.getNodes()))
|
||||
setEdges((eds) => addEdge({...params,style:{stroke:"red"}}, eds))
|
||||
setEdges((eds) => addEdge({...params}, eds))
|
||||
},
|
||||
[reactFlowInstance]
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue