vertexControl function

Set attributes of vertices