I've been trying to google connectors for shapes on Canvas but I wasn't able to find a solution which works for me. I don't know if its because of Avalonia could be so much different or just I am not able to apply it.
What I am trying to achieve is to connect shapes I generated onto Canvas with an arrow. The easy solution would normally be just drawing a line and applying some style. But I'm going to generate many nodes (I'm visualizing some graphs) and with connector I wouldn't need to always care if the line crosses another node, or dealing with it by some curvatures and stuff. (btw I'm writing it in c# only, not using XAML for this particular window) So I don't know how many nodes and how many edges I will generate when I run the program, it depends on the file I load. So my question would be: Is there any possible way how to connect those shapes|objects|Ellipses dynamically with connector which changes its shape in order not to cross through any node ? Or if you think that Canvas is not the right option for me I would be glad if you told me.
Thanks in advance!