how to custom react-flow control

55 Views Asked by At

I have a person project,in this project,i used react-flow、react, i wish to make a custom control replace original control, includes zoomIn、zoomOut、fit、percent、add nodes and the element position is bottom right. add nodes can open side or drawer

1

There are 1 best solutions below

2
QianChi On BEST ANSWER

⬇️is my custom control and some control APIs realized code enter image description here

⬇️is my implementations code enter image description here