add motif assignment data and graph