I am drawing tree diagram using d3.js
. I have circular nodes and my path end points are the center point of circles.
I want to add marker arrows for the paths , if I give refX and refY properties as 0 marker is aligned properly but it wont be visible since my circle will overlap that.
I refered [this][2] question and calculated refX refY according to that
But still I am not getting the arrows well oriented and when I drag the node arrows are getting messed up still more .
Currently I am using noderadius
as 16 and markerwidth
and height
as 6 (which is configurable)
I am using radial, horizontal and vertical views for the same tree. Can anyone give me a solution to draw these arrows with proper alignment and orientation?