shuby_rocks
shuby_rocks

Reputation: 801

Marker don't orient properly at the end of SVG path with D3

I am trying to create a visualization where the lines between 2 nodes are connected via path using d3.svg.diagonal as shown in http://www.isi.edu/~shubhamg/d3-test-6.html

As it can be seen, the markers do not orient properly at the end of the SVG path (by markers I mean the arrows at the end of paths) Any suggestions to fix it? Thanks a lot.

Upvotes: 2

Views: 2149

Answers (1)

Information Technology
Information Technology

Reputation: 2333

You may want to look at the Force Directed Graph example called "Mobile Patents". I believe it's a small example that shows exactly how to do this.

I hope it helps.

Frank

Upvotes: 1

Related Questions