Arrow between component

Hi guys, in my web app i need to display relationships between some elements. I am digging documentation to choose the better way to implements an oriented arrow to connect ‘elements’.
For my ‘elements’ i have simply used Panel object placed on an AbsoluteLayout.
For oriented arrow, i am trying to use an AbstractJavascriptComponent but i am facing several issue… i think that is not the best way of doing it.

Someone already did something similar? Any suggestion on how to do this in a better way?

I haven’t done it, but if I had to, I would try something in SVG like in this StackOverflow answer: https://stackoverflow.com/a/20039435/3608089

SVG + JavaScript sounds like the easiest way around it, and even that will be a bit tricky to get right across all browsers.

-Olli