Added options for stroke-width and arrow-ends.