modify attributeSelection of subGraph