Drawing a arrow with Raphael.js.

Example

var paper = Raphael(elem, width, height);
paper.arrow(100, 100, 300, 300, 10);