link.removeVertex(index [, opt])

Remove vertex at index. Pass index -1 to remove the last vertex of the vertices array.