pierpo / react-archer

🏹 Draw arrows between React elements 🖋
https://pierpo.github.io/react-archer/
MIT License
1.15k stars 67 forks source link

Straight lines #203

Closed olup closed 4 months ago

olup commented 4 months ago

From the doc I get curves and angles. But can we force straight lines ?

pierpo commented 4 months ago

Hey! There is a "noCurves" property (yes the API is not very clear on this...). The main limit with that is that the lines will point to the center of the elements. It's not super pretty but it works and you might be able to make it pretty with some adjustments on your end :)