determined by spectrum graphs