set vertex and face labels on demand