auto resolution of VertexType