Generating all graphs by a given degree sequence