link.insertVertex(index, vertex [, opt])
Add a new vertex at index. Pass index -1 to add the vertex at the end of the vertices array.
vertex
index
-1