custom animation added to edge
This commit is contained in:
parent
29ca8ac732
commit
f347d6cb9f
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ export default function FlowPage() {
|
|||
/* console.log(params)
|
||||
console.log(reactFlowInstance.getNodes())
|
||||
console.log(getConnectedNodes(params,reactFlowInstance.getNodes())) */
|
||||
setEdges((eds) => addEdge({...params}, eds))
|
||||
setEdges((eds) => addEdge({...params,className:"animate-pulse"}, eds))
|
||||
},
|
||||
[reactFlowInstance]
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue