tisoap / react-flow-smart-edge

Custom Edge for React Flow that never intersects with other nodes
https://tisoap.github.io/react-flow-smart-edge/
MIT License
242 stars 26 forks source link

How to increase the height of SmartStepEdge? #22

Closed abhishekopsteq closed 2 years ago

abhishekopsteq commented 2 years ago

image

Hello @tisoap,

How can I increase the height of SmartStepEdge of Source Point while taking a turn Please give me suggestions Thanks

tisoap commented 2 years ago

Hey @abhishekopsteq ! One thing you can do is to use the exported stepEdgeFactory function to create a customized SmartStepEdge with a bigger value for nodePadding, so the edge will avoid more the borders of a node, check the "Configuring Smart Edges" part of the documentation for that

tisoap commented 2 years ago

There hasn't been a follow up, so I'll assume my suggestion was enough