I have been trying to implement a custom right-angled widget. When I tried to read the code, I found that points (SVG) are added every time a user moves and drags the link.
I tried adding a custom Path to create the curve, but it makes everything rigid.
I want right-angled routing to be curved instead of it being at 90deg.
What I want:
What I have:
It would be great if someone can help with this.
Thanks.
I have been trying to implement a custom right-angled widget. When I tried to read the code, I found that points (SVG) are added every time a user moves and drags the link.
I tried adding a custom
Path
to create the curve, but it makes everything rigid. I want right-angled routing to be curved instead of it being at 90deg.What I want:![Screenshot from 2021-08-19 17-50-54](https://user-images.githubusercontent.com/41752215/130067443-bb7cbc50-9272-4f3e-831d-05b8fd0e463c.png)
What I have:![right angle links](https://user-images.githubusercontent.com/41752215/130069987-b8a13901-e055-472a-9877-5c8449423d77.png)
It would be great if someone can help with this. Thanks.