moved dot text logic into vertex_mappings variable instead of build_entity, this makes it easier to output empty string for a vertex that should not be a node (ie method entity)