protected VertexElement addTypeVertex ( LabelId id , Label label , Schema . BaseType baseType ) { VertexElement vertexElement = addVertexElement ( baseType ) ; vertexElement . property ( Schema . VertexProperty . SCHEMA_LABEL , label . getValue ( ) ) ; vertexElement . property ( Schema . VertexProperty . LABEL_ID , id . getValue ( ) ) ; return vertexElement ; }
Adds a new type vertex which occupies a grakn id . This result in the grakn id count on the meta concept to be incremented .