standardize graph