Graphs now only default to unweighted if they contain only weights of 0 and one unique other weight.