link.removeVertex(index [, opt])
Remove vertex at index. Pass index -1 to remove the last vertex of the vertices array.
vertex
index
-1